- Toolkit now saves and loads settings file

- Toolkit supports a default toolkit realm. Zone Builder now loads the default Realm each time it is opened. Allows developers to work on one Realm without having to re-select the Realm each time the Zone Builder is opened.
 - Toolkit settings properties are no longer static within Settings.cs.
 - Program.cs now contains a staticu property for Toolkit settings.
This commit is contained in:
Scionwest_cp 2009-12-08 17:27:55 -08:00
parent d96a175372
commit 37b2d42b4c
7 changed files with 267 additions and 58 deletions

View file

@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MudDesigner.MudEngine.GameObjects.Environment;
namespace MudDesigner
{
@ -25,9 +26,11 @@ namespace MudDesigner
}
#warning Reminder: Change Settings.VersionStage to KitStages.Preview upon release.
public static KitStages VersionStage = KitStages.Development_Source_Only;
public KitStages VersionStage = KitStages.Development_Source_Only;
public static string GetVersion()
public Realm DefaultRealm;
public string GetVersion()
{
string stage = VersionStage.ToString().Replace("_", " ");
Version version = new Version(Application.ProductVersion);