- Complete re-work of the Realm Explorer and Zone Builder.
- Realm Explorer & Zone Builder now work together correctly. - Program.CurrentEditor now holds the currently running editor. - BaseObject.ToString() added to return the Name of the object if ToString() is used. - GetZone() method added to Realm.cs
This commit is contained in:
parent
09fa576025
commit
3cfa72ef69
9 changed files with 330 additions and 298 deletions
|
@ -18,6 +18,7 @@ namespace MudDesigner
|
|||
public static Zone Zone {get;set;}
|
||||
public static Room Room { get; set; }
|
||||
public static ManagedScripting.ScriptingEngine ScriptEngine { get; set; }
|
||||
public static Form CurrentEditor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
|
@ -25,9 +26,10 @@ namespace MudDesigner
|
|||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Project = new ProjectInformation();
|
||||
|
||||
FileManager.ValidateDataPaths();
|
||||
FileManager.FileType = FileManager.OutputFormats.XML;
|
||||
Project = new ProjectInformation();
|
||||
|
||||
string filename = System.IO.Path.Combine(FileManager.GetDataPath(SaveDataTypes.Root), "Project.Xml");
|
||||
if (System.IO.File.Exists(filename))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue