Commit graph

9 commits

Author SHA1 Message Date
Scionwest_cp
5b6ea538d5 Room Designer:
- Designer now checks the argument to ensure room= format was used instead of assuming.
2009-11-25 21:28:11 -08:00
Scionwest_cp
dae777bc24 Room Designer:
- Cleaned up un-used code
 - Removed un-used Fields
 - Rooms can now be saved via the UI
 - Rooms can be loaded via a command line argument "room=Room Name.room"
2009-11-25 21:25:01 -08:00
Scionwest_cp
1cc477f23c MUD Engine:
- Changed ValidateProjectPath to ValidateDataPaths. Now can use the engines current install location if a path is not supplied
 - ValidateDataPaths iterates through a new enumerator containing all of the data paths, and creates the directories if they dont exist.
 - GetDataPath method added for returning the absolute path to any of the save directories specified in the argument.
 - BaseObject now contains a readonly Filename property that returns the objects Name with it's Type assigned as the files extension.
 - BaseObject's Script property was added.
 - Room.StatDrain re-added. Changed property Type to boolean instead of custom struct.
 - Room Designer's constructor code was refracted to help clean it up. Plugin loading, doorway list compiling and room setup is now contained in three different methods.
 - Room Designer can now Save scripts.
 - Room Designer now has default scripts generated.
 - Changing the Object Management tabs to 'Script' now refreshes the script to display correctly.
 - Room Designer now accepts a single argument for specifying the name of a room to Load. Use "room=Room Name.room" as the syntax.
 - Room loading is implemented, but only via a supplied argument during application launch.
2009-11-25 21:21:50 -08:00
Scionwest_cp
988b592e1d Room Designer:
* Fixed designer crashing if no plugin .dll's where found.
2009-11-24 18:41:32 -08:00
Scionwest_cp
6999457b19 MUD Engine:
* Added Attributes namespace to hold custom attributes.
 * UnusableAttribute.cs - Added to tag classes as unusable by the editors regardless if they inherit from BaseObject or not.
 * BaseObject.cs - Contains OnEnter and OnExit methods
 * InitialLocation.cs - UnusableAttribute tag applied.

Room Designer:
 * frmMain.cs - Additional Script UI design.
 * frmMain.cs - Added plugin support. 

Plugin support is being tested. Room Designer is the testbed. It will ultimately end up inside MUDEngine.Engine. Curently (if ROOT/Plugins exists) loads all .dll files contained within the plugin directory. All classes inheriting from BaseObject and not tagged with the UnusableAttribute attribute automatically get added to the script editor.
2009-11-24 18:36:25 -08:00
Scionwest_cp
0fc5a65f96 Mud Engine:
* Door.cs AvailableTravelDirections enum added to the constructor arguments. Doors now require a TravelDirection to be specified as an argument when instanced.

Room Designer:
 * frmMain.cs - renamed door field to _CurrentDoor.
 * frmMain.cs - renamed room field to _CurrentRoom.
 * frmMain.cs - Added detailed commenting.
 * frmMain.cs - Doorways can now be installed and uninstalled from a room. While it was available within the editor, it was not implemented fully until now.
 * frmMain.cs - Removed most of the doorway management code from the propertyDoor_PropertyValueChanged method, and broke the code down into several smaller methods for easier maintenance. 
 * frmMain.cs - Added InstallDoor() method for installing doorways from rooms.
 * frmMain.cs - Added UninstallDoor() method for uninstalling doorways from rooms.
 * frmMain.cs - Added GetDirection() method, converts a string representation of a TravelDirection into an actual TravelDirection enum value for use with creating a Door.
2009-11-24 17:05:28 -08:00
Scionwest_cp
4cfd6177bb MUDEngine:
* Door.cs - Now contains a TravelDirection property so rooms can find what travel direction each doorway within uses.
 * Room - Now contains a collection for Installed Doors
 * TravelDirections.cs - Now contains a 'None' enumerable value.

Room Designer:
 * Did some additional work on implementing Installed Doors and handling their changing Installed/Uninstalled values.
2009-11-12 18:49:58 -08:00
Scionwest_cp
ab8d46ed3c Designer HUB:
* Moved editor buttons onto a Tab control, future test editors will be placed on a separate tab titled 'Testing Editors'

MUDEngine:
 * Currency.cs - Added Default Values to Properties
 * Door.cs - Added initial properties and door state
 * ProjectInformation.cs - Removed StartingLocation enum and moved to Objects/Environment/InitialLocation.cs
 * Room.cs - Added initial properties
 * TravelDirections.cs - Added initial travel direction enum. Room Editor binds to this enum. Additional directions added in the future will automatically be added to the Room Designer.
 * ProjectInformation.cs - ProjectName property renamed to GameTitle.

Room Designer:
 * User interface re-constructed and is closer to the final state. Shouldn't change much from it's current configuration.
2009-11-10 20:24:58 -08:00
Scionwest_cp
2a8c023aca Room Designer:
* New Project added.

Mud HUB:
 * Moved ExecuteApp method from frmMain.cs to Program.cs
2009-11-07 10:29:00 -08:00