Commit graph

10 commits

Author SHA1 Message Date
Scionwest_cp
2c39c7538e Room save/load code under construction. Realized during implementation that I will need to re-work the environment save code due to how rooms doors are loaded and saved. 2012-03-11 16:50:28 -07:00
Scionwest_cp
706c770dd7 CharacterStats.ToString() now returns a formatted string with all of the stats.
StandardGame and it's Child Classes display the name of the game when ToString() is invoked.
Realm and Zone save/load code is completed.
2012-03-11 13:25:32 -07:00
Scionwest_cp
ee3cd897f2 Began work on Environment save code.
Restructured the project save data folder layout when the engine starts.
The XMLData class now creates directories if they are missing.  Individual classes no longer need to check if a path is valid before saving.
Filenames are now automatically generated and no longer assigned by developers.  This change has been made across all classes that are savable which required some changing of the Save() method arguments.
2012-03-10 20:47:12 -08:00
Scionwest_cp
a6d346da3d All of the classes that currently perform Save/Load operations now log when a Property failed to be loaded correctly. 2012-03-10 19:48:41 -08:00
Scionwest_cp
f5cf0c1f6a BaseScript now has a method for reporting failed Script.Load() method invocations. It will log the class name and property field if used correctly.
Some classes have some protection in place now in the event the class attempts to load a property that does not exist in the save file.
CommandSystem instances now use their instanced CommandCollection property instead of the static class property.
2012-03-10 16:08:02 -08:00
Scionwest_cp
9b475691d5 Primarily a bug fix check-in 2012-03-10 14:23:13 -08:00
Scionwest_cp
43e93706ab Realm class now inherits from the new Environment class.
CharacterRole class created with helper static methods for converting strings to their correct CharacterRoles enum value.
Environment class has save/load support however Realms/Zones/Rooms do not yet.
2012-03-08 18:03:09 -08:00
Scionwest_cp
c40d32e7ae Basic Realm->Zone->Room combination is now created during World.Initialize(). This will be replaced with loading XML instead of hard-coding.
Newly created characters are assigned to the new World.StartLocation.
Rooms can now be connected.
Realms and Zones can create Zones and Rooms accordingly
Force moving of a character is now supported.  Walking has yet to be implemented.
2012-03-04 16:56:04 -08:00
Scionwest_cp
a3eb1b5fad Began initial work on the game world. World, Realm, Zone, Room and Doorway classes created but not implemented. 2012-03-04 11:48:11 -08:00
Scionwest_cp
3d8051c995 Initial Check-in for Alpha 2.0 source code.
Includes working Telnet server, working command engine and Character code.
2012-02-28 20:11:10 -08:00