Designer:

- Now supports the exit command, prevents the designer from crashing.

Runtime:
 - Added a GUI based set of buttons for traversing your environments via a click-through method instead of forcing users to type commands.

Engine:
 - Added the Exit command to exit the runtime (At this time it shuts down the Designer as well.)
This commit is contained in:
Scionwest_cp 2010-02-04 20:43:28 -08:00
parent 79f6d36083
commit 59502408ce
6 changed files with 245 additions and 56 deletions

View file

@ -615,6 +615,11 @@ namespace MudDesigner
path = Path.Combine(path, filename);
zone = (Zone)zone.Load(path);
if (zone.EntranceRoom == null)
{
MessageBox.Show("You must set the Entrance Room value for this Zones to become the Initial Location", "Mud Designer");
return;
}
location.Realm = "No Realm Associated.";
location.Zone = zone.Name;
location.Room = zone.EntranceRoom;
@ -635,7 +640,8 @@ namespace MudDesigner
while (form.Created)
Application.DoEvents();
this.Show();
if (this.Created)
this.Show();
}
}
}