Commit graph

13 commits

Author SHA1 Message Date
Scionwest_cp
968ab21e5a - Both linked Rooms are now linked together via the Doorway Manager now. However the 2nd Room does not show the linked effects until the Zone is re-loaded. This will be addressed shortly.
- Rooms no longer install duplicate doorways. If a doorway exists, it removes it and installs the new door.
2009-12-09 15:03:01 -08:00
Scionwest_cp
7da8fcfea9 - Rooms can now be linked together via the Doorway Manager. Use the Doorway manager for linking rooms even if they are contained within the same Zone as the same zone reverse door install is not implemented yet.
- TravelDirections now contains a TravelDirections.GetTravelDirectionValue which converts a string representing a direction into the corresponding AvailableTravelDirections enum value.
2009-12-08 20:28:52 -08:00
Scionwest_cp
37b2d42b4c - 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.
2009-12-08 17:27:55 -08:00
Scionwest_cp
7005b869e4 - Zone Builder now loads/saves rooms correctly.
- Zones now contain a RefreshRoomList() method for updating the collection of Rooms. MUST be called anytime a room is changed within the Zone. 
 - Removed the forced Realm constructor for zones.

Realm, Zone and Room creation is now working again.
2009-12-08 16:11:42 -08:00
Scionwest_cp
44431ecade - Zones build their Room collection during instancing.
- Zones can not be instanced without providing the owning realm in its constructor.
 - Started adding tooltips to the editors.
 - Zone Builder now checks if a Realm has been loaded yet or not prior to creating Zones.
 - Zone Builder will not allow Rooms to be created within new Zones until the Zone has been saved.
 - Zone Builder checks if a New Zone has not been saved yet prior to creating another New Zone
 - Renamed Room.ParentZone to Room.Zone to be consistent with the Realm and Zone classes.
2009-12-08 15:49:43 -08:00
Scionwest_cp
dfbc92c5d0 Zone Builder now creates Zones within different Realms, save and loads them. You can have two Realms, each containing a Zone with the exact same name with the new folder setup. 2009-12-08 11:53:38 -08:00
Scionwest_cp
c7f5a9b2a7 2009-12-08 10:34:20 -08:00
Scionwest_cp
4ebce0a987 Project Settings:
- Cleaned up the code within the editor.

Realm Explorer:
 - Some UI adjustments.

Room Designer:
 - Program.Room is no longer re-instanced after the room designer saves a room.

Toolkit Launcher:
 - Zone and Room edior buttons removed. They can now only be accessed via the Realm Explorer.
 - Changed the Toolkit Title.

Zone Builder:
 - Began Room Doorway linking UI design.

Mud Engine:
 - Zones now instance the Rooms collection.
 - Travel Directions now moved from Environment namespace and placed within Objects namespace.
 - Travel Directions now contains a class and method for returning the opposite direction provided. (ex: GetReverseDirection(TravelDirections.West) returns East).
2009-12-06 00:13:43 -08:00
Scionwest_cp
1206fccc9d - Realms, Zones and Room editors now are all working together.
- Deleting Realms now deletes all zones and rooms attached to it.
2009-12-04 23:56:32 -08:00
Scionwest_cp
3cfa72ef69 - 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
2009-12-04 23:15:33 -08:00
Scionwest_cp
09fa576025 - Editors now open and close correctly without having all of the editors visible at once.
- Realm Exporer, Zone Builder and Room Designer no longer attempt to shut down the toolkit when the Close button is clicked. Previous editor is restored.
2009-12-03 13:31:29 -08:00
Scionwest_cp
379c6f844d - Renamed FileSystem.FileSystem.cs to FileSystem.FileManager.cs
- Moved ValidateDataPaths() from Engine.cs to FileManager.cs
 - Moved GetDataPath() from Engine.cs to FileManager.cs
 - Moved SaveDataTypes out from Engine.cs into it's own file. MudEngine.FileSystem.SaveDataTypes.cs
 - Moved _CurrentRoom, _CurrentZone, _CurrentRealm and _ScriptEngine out from all editors containing those Fields, and placed them as static properties within Program.cs Room, Zone, Realm and ScriptEngine Properties
 - Created 3 new Interfaces. IGameObject, IQuest and IRuleSet.
 - Created QuestSetup class to begin working on Quest Editor at some point.
2009-12-02 18:57:03 -08:00
Scionwest_cp
b87136bc13 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.
2009-12-01 19:27:01 -08:00