Project restructure completed. All editors now contained within a single Project.
Note that some things are still broken from the migration, but will be addressed.
This commit is contained in:
parent
ec48ae95c3
commit
b87136bc13
38 changed files with 4623 additions and 0 deletions
36
Mud Designer/Program.cs
Normal file
36
Mud Designer/Program.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
//MudEngine
|
||||
using MudDesigner.MudEngine;
|
||||
using MudDesigner.MudEngine.Attributes;
|
||||
using MudDesigner.MudEngine.FileSystem;
|
||||
using MudDesigner.MudEngine.Objects;
|
||||
using MudDesigner.MudEngine.Objects.Environment;
|
||||
|
||||
namespace MudDesigner
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
public static ProjectInformation Project{ get; set; }
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Engine.ValidateDataPaths();
|
||||
FileSystem.FileType = FileSystem.OutputFormats.XML;
|
||||
Project = new ProjectInformation();
|
||||
|
||||
string filename = System.IO.Path.Combine(Engine.GetDataPath(Engine.SaveDataTypes.Root), "Project.Xml");
|
||||
if (System.IO.File.Exists(filename))
|
||||
Project = (ProjectInformation)FileSystem.Load(filename, Project);
|
||||
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new MudDesigner.Editors.ToolkitLauncher());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue