Designer:

- Renamed SaveSelected() to SaveObject()
 - Added additional commenting
 - Re-formatted the document
 - Moved the search code out from the text box and into its own method SearchForObject()
 - Changed search method for the text box from txtSearch_Enter to txtSearch_KeyDown
 - Re-write of object save code finished.

Engine:
 - Realm.GetZone() re-wrote to use LINQ.
 - Zone.GetRoom() renamed to Zone.GetRoomByName() for searching for a Room by name
 - Zone.GetRoomByFilename() added for searching by filename for a Room.
 - Re-wrote Adding Zones into Realms via the UIRealmControl. Uses 54% less source, and better readability.
 - UIRealmEditor now stores a proper backup of Zones incase of UIRealmControl instancing failure.
This commit is contained in:
Scionwest_cp 2010-01-19 13:09:33 -08:00
parent af4dc2ad7a
commit 0395acb0f9
9 changed files with 256 additions and 218 deletions

View file

@ -16,7 +16,7 @@ namespace MudDesigner
{
static class Program
{
public static Form CurrentEditor { get; set; }
public static Designer Designer{ get; set; }
/// <summary>
/// The main entry point for the application.
@ -29,8 +29,8 @@ namespace MudDesigner
Application.SetCompatibleTextRenderingDefault(false);
//Run the toolkit
CurrentEditor = new Designer();
Application.Run(CurrentEditor);
Designer = new Designer();
Application.Run(Designer);
}
}
}