Commit graph

53 commits

Author SHA1 Message Date
Scionwest_cp
6f44f46539 Removed Project Manager
Removed MUDEngine
2009-12-01 18:40:41 -08:00
Scionwest_cp
7ae6b444b6 Removed Currency Project in prep for merging all editors into a single project. 2009-12-01 18:39:22 -08:00
Scionwest_cp
3ba3c4107b Mud Designer:
- Removed code for pathing. MudEngine handles it now.
 - Removed _InstallLocation and placed it as a private Field within the MudEngine.Engine class.
 - Mud Designer now Validates paths during startup

Mud Engine:
 - Added Debug code to ValidateDataPaths and GetDataPath Methods. if DEBUG constant is defined it returns the paths or creates the directory structure based off the _InstallLocation field.
 - Zones now contain a copy of the Realms Name

Realm Explorer:
 - Renamed _Realm to _CurrentRealm to be more consistant with other editor naming conventions.
 - Zones can now be added to Realms
 - Realms can now be saved and loaded
 - Zones not within any Realms are listed in the Realm Explorer as being Available For Use
 - Realm Explorer Launchs the Zone Builder
2009-12-01 18:37:04 -08:00
Scionwest_cp
d949c17471 Mud Designer:
- Added a messagebox on startup, indicating that the Room Designer and Zone Builder buttons will be removed shortly, as the preferred way to access the two editors will be via the Realm Explorer.

Room Designer:
 - Code Cleanup

Zone Builder:
 - Script engine implemented into the editor.
 - Zones can now be saved.
 - Room Editor link implemented. Room Designer can now be launched from within the Zone Builder.
 - Corrected Builder not creating required directories correctly.

This marks the first version of the toolkit with the Realm Explorer, Zone Builder and Room Designer all linked together, however not fully complete.
2009-11-28 22:27:37 -08:00
Scionwest_cp
82e43cb4f2 MUD Engine:
- BaseObject now sets the default value for Name programmatically for the editors propertygrids.
 - Room, Realm and Zone no longer set their Name Properties to their default value, BaseObject handles it.

Room Designer:
 - Scripts where'nt being saved, this has been corrected.
- Rooms wheren't being loaded when supplied via the command line argument (Method is used by the Zone Builder)
 - Displaying scripts within the Designer is now fixed.

Zone Builder:
 - Now displays the Zone Object Properties in the property grid.
2009-11-28 08:01:19 -08:00
Scionwest_cp
24b5c3f687 Visual Designer:
- Deleted from Solution.

Mud Designer:
 - Now checks for arguments, allowing the other editors to launch the Mud Designer with another editor supplied as an argument, allowing one editor to launch another one without needing to copy-paste a bunch of code.

MUD Engine:
 - BaseObject now sets default values for Script and Name so it's child classes won't need to.
 - Realm and Room no longer set Name and Script property default values.

Realm Explorer:
 - Now validates Script code.
 - Changed from using Managed Scripting Serialization to MUDEngine filesystem layer for saving/loading.
 - Added support for launching the Zone Builder from within the Realm Explorer.

Room Designer:
 - Changed from using Managed Scripting Serialization code, to MUD Engine Filesystem layer for saving/loading.

Zone Builder:
 - Initial UI Designs
 - Launches Room Designer for editing of rooms.
2009-11-28 00:30:40 -08:00
Scionwest_cp
0b350c3222 MUD Engine:
- Assigned Default property values to some of the Realm class properties

Realm Explorer:
 - Can now delete existing Realms
 - Script tab included into explorer
 - Realm base script is generated now.
 - Realm Exporer now asks to overwrite an existing file prior to saving.

Room Designer:
 - Creating a new room now resets the script.
2009-11-27 23:44:11 -08:00
Scionwest_cp
7869b47411 Solution clean up. 2009-11-27 23:24:57 -08:00
Scionwest_cp
1db34a469c Mud Engine:
- ValidateDataPaths no longer creates a ROOT folder as a child folder to the Data directory.
 - The Realm class now has a Zones collection property.
 - Adjusted Room and ProjectInformation Property Categories for Property Grid.

Realm Explorer:
 - Now Save and Loads Realms
 - Now calls MUDEngine.Engine.ValidateDataPaths() during startup to ensure all directories exists.
 - New Realms can be created.
 - Existing Realms are now loaded into the listbox.
 - Prototype code wrote for finding available and un-available Zones.
 - Almost complete UI

Zone Builder:
 - Now calls MUDEngine.Engine.ValidateDataPaths() during startup to ensure all directories exists.
2009-11-27 22:40:13 -08:00
Scionwest_cp
8486088e17 MUD Engine:
- Added additional script over-rideable Methods.
 - Room Designer can now compile scripts for error checking.
2009-11-27 22:09:56 -08:00
Scionwest_cp
bc6bfeaecd Added missing .resx files for the Zone Builder and Realm Explorer Forms. 2009-11-27 21:56:14 -08:00
Scionwest_cp
9a00e47902 MUD Engine:
- Fixed ProjectInformation crashing the engine when it was serialized out by the Project Manager due to Currency serialization issues.
 - Fixed ProjectInformation crashing the engine when it was serializing out the custom BaseObject Controls. [XmlIgnore()] attribute must be attached to each Control Property.
 - Added Zone Builder and Realm Explorer to the Mud Designer Editor list.
 - Currency Editor now loads and displays previously created Currencies within the list.
2009-11-27 21:51:04 -08:00
Scionwest_cp
2f6dc95adb Realm Explorer:
- Implemented UI designs.
2009-11-27 21:29:18 -08:00
Scionwest_cp
ced376e72a Zone Builder:
- Renamed Form1 to frmMain
2009-11-27 20:56:25 -08:00
Scionwest_cp
a45f867bb1 Added two new projects to the solution.
Realm Explorer added.
Zone Builder added.
2009-11-27 20:55:01 -08:00
Scionwest_cp
c4e423fc25 Visual Components:
- Removed the project from the solution, as the Controls have been moved into the MUD Engine project.
2009-11-27 20:48:35 -08:00
Scionwest_cp
72a111c09d Mud Engine:
- Added Controls namespace to the engine
 - Copied VisualContainer and RoomControl from Visual Designer to MUDEngine.Controls namespace
 - Added Control property to BaseObject, all objects now can have a custom UserControl that the Visual Designer will create during runtime when the object is dragged to the designer.
2009-11-27 20:44:15 -08:00
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
d7d92e49af MUD Engine:
* Door.cs - Now has a parameterless constructor. Adding a constructor argument broke the Project Manager Project Serialization save code.
2009-11-24 18:50:02 -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
e0625e9fc2 Mud Designer:
* Program.cs - _InstallLocation Field changed to reflect me moving the source onto another hard-drive. Developers will need to adjust the Field to ensure the engine is looking in the right directory for the source.
2009-11-24 16:13:06 -08:00
Scionwest_cp
1bac98a47e Currency Editor:
* Program.cs - Removed test code.

Mud Designer:
 * Program.cs - Message box added informing developers why the editors wont launch if the source is not placed in the _InstallLocation.

Mud Engine:
 * Now includes a reference to the ManagedScripting assembly.
 * BaseObject.cs - Added ScriptObject property.

Visual Designer:
 * frmDesigner.cs - Removed File->Close test save code.
2009-11-24 16:10:36 -08:00
Scionwest_cp
ef10e79a4c Visual Designer:
* Was referencing VisualComponents.RoomDesigner.cs even though it has been deleted.
2009-11-22 16:27:09 -08:00
Scionwest_cp
c6c2e4dc9c Visual Designer:
* foreach iterations are halted once a object has been added to the designer.
2009-11-21 10:21:27 -08:00
Scionwest_cp
89e01e75e1 MUDDesigner:
* Added _InstallLocation field within Program.cs so changing the solutions install path is easier when the #DEBUG is defined.
2009-11-15 12:19:24 -08:00
Scionwest_cp
fa720f42bf Visual Designer:
* Added Custom UI Look without using the VisualContainer control
 * Included ManagedScriptingWIN.dll, missing from previous commits.
2009-11-15 12:11:54 -08:00
Scionwest_cp
2e0d9d0953 Added commenting for the Visual Designer 2009-11-14 10:30:48 -08:00
Scionwest_cp
d6a999c729 Visual Designer:
* Can now add multiple tabs when dragging objects onto the designer
 * Object properties are shown in the propertygrid when tabs are swapped.
 * Dragging an object onto any tab will create a new tab for that object.
2009-11-14 09:48:43 -08:00
Scionwest_cp
8fde0bcc43 Visual Designer:
* Objects can now be dragged from the object list onto the designer & a new tab will be created for each object.
2009-11-14 08:59:18 -08:00
Scionwest_cp
12f5776d21 VisualComponents:
* Added custom container controller

VisualDesigner:
 * New editor designed similar to Visual Studio.
 * Loads MUDEngine.dll and places all classes inheriting from GameObject into the designers Object list.
2009-11-13 19:53:32 -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
7a8437763b Room Designer:
* Additional User Interface design changes.

The Room Designer UI layout has not been decided on as of yet, and thus numerous changes will probably be made to it over the next several days.
2009-11-08 21:07:25 -08:00
Scionwest_cp
413191c760 Room Designer:
* Removed the Sidebar tabs
 * Removed the door designer.
2009-11-08 20:44:50 -08:00
Scionwest_cp
a8bfa1b38e Added better commenting to FileSystem.cs 2009-11-07 11:15:35 -08:00
Scionwest_cp
2822170a1c Corrected MudHUB project missing from the commits. 2009-11-07 11:12:48 -08:00
Scionwest_cp
4b40f01d94 Reverted project names back to old names. Created issues with SVN after the change. 2009-11-07 11:06:38 -08:00
Scionwest_cp
c9231b3f57 Adjusted all project names to include spaces
Room Designer:
 * Visual Designer added to UI for visualizing a rooms layout.
 * Sidebar added to Designer for Property editing and Tab Control browsing for additional editing options.
2009-11-07 11:05:24 -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
Scionwest_cp
03340af1ff Mud Designer HUB:
* Removed old code sending arguments to the editor applications when they start.
 * Re-organized the HUB code. ExecuteApp method is below all of the Controls code.
 * Added exception handling within the ExecuteApp Try/Catch/Finally code block.
2009-11-06 22:47:01 -08:00
Scionwest_cp
272e752bb7 MUDEngine:
* Included missing directory
      - Objects/Environment
 * Included missing files
      - Objects/Environment/Door.cs
      - Objects/Environment/Realm.cs
      - Objects/Environment/Room.cs
      - Objects/Environment/Zone.cs
2009-11-06 22:41:45 -08:00
Scionwest_cp
035fdf96d9 New Project added: Currency Editor. Allows for creating and managing of the games currencies.
Mud Designer HUB:
 * frmMain.cs - HUB now scans entire solution directory to find the correct app to launch rather than just checking the Project Manager directory.
 * frmMain.cs - HUB now has the app launch precess wrapped within a try/catch/finally. No exception handling added as of yet within the catch.

MUDEngine:
 * Engine.cs - ValidateProjectPath method now creates the Currency directory.
 * Objects namespace added.
 * Moved the Environment namespace and folder within the new Objects namespace.
 * BaseObject.cs created. All Game objects will inherit from this, or a child of this class.
 * Currency.cs created.
 * ProjectInformation.cs - Added using statements.

Project Manager:
 * Added Using statements for MUDEngine
2009-11-06 22:30:22 -08:00
Scionwest_cp
cd56036ee7 MUDEngine:
* ProjectInformation.cs - TimeOfDayOptions enum added for changing how the project uses day time.
 * ProjectInformation.cs - TimeOfDay Property Added.
 * ProjectInformation.cs - TimeOfDayTransition PropertyAdded
 * ProjectInformation.cs - DayLength Property added.
 * ProjectInformation.cs - Story Property added. Non-browsable.

Project Manager:
 * frmMain.cs - Zone and Room Lists are now instanced within the constructor.
 * frmMain.cs - Project Story text box added for creating and saving the projects story.
2009-11-06 18:30:13 -08:00
Scionwest_cp
f62fb84e13 MUDEngine:
* Realm.cs - Description Property added.
 * Room.cs - Inherits from Zone.cs
 * Zone.cs - Inherits from Realm.cs
 * Zone.cs - Removed Name Property.
 * Deleted old MUDEngine/XmlSerialization.cs as it has been replaced with MUDEngine/FileSystem/XmlSerialization.cs

Project Manager:
 * frmMain.cs - collection of Zones and Rooms are created during selectedIndexChanges from comRealms, lstRooms and lstZones.
 * frmMain.cs - PropertyGrid is now populated within the frmMain_Load instead of within the forms constructor.
 * frmMain.cs - lstZones now populates the lstRooms list box with rooms when its selected index is changed.
2009-11-06 18:10:52 -08:00
Scionwest_cp
97274cb4aa MUDEngine:
* Created a FileSystem class. FileSystem acts as a back end class for saving and loading data. Adding additional file types or data management options such as SQL will not be easier to implement by creating a new class that the FileSystem class can use.
 * XmlSerialization class is no longer public. It's changed to internal and has its information passed to it via the FileSystem class.

Project Manager:
 * Project Manager now uses the FileSystem class for saving and loading data instead of the XmlSerialization class.
2009-11-06 17:45:46 -08:00
Scionwest_cp
6004bd0c58 Changed the name of the Mud Designer to Mud Designer HUB to prevent confusion during references.
MudEngine Zones now have a Name property.
MudEngine.ProjectInformation.BaseCurrencyName is no longer filed under Misc. within the Project Manager.
The Project Managers Realms list now generates the Available Zones lists if Zones exist.
The Project Managers Zone and Room list boxes have been replaced with CheckedListBoxes to easily select Initial Room/Zones.
2009-11-05 20:11:28 -08:00