From a00f60d22bf3178ed94a60cbf562e467dd9a9c4f Mon Sep 17 00:00:00 2001 From: Scionwest_cp Date: Tue, 27 Sep 2011 19:15:37 -0700 Subject: [PATCH] Migrated remaining source files into their new directory structures. Namespace migration to follow suit. Moved rScript source files into the Mud Engine.Scripting files. Planning on removing the reference to rScript.dll and keep everything within the MudEngine. --- .../CommandSystem.cs} | 0 .../DialogChat.cs | 0 .../Characters => Core}/BaseCharacter.cs | 0 .../{GameObjects/Items => Core}/BaseItem.cs | 0 MudEngine/{GameObjects => Core}/BaseObject.cs | 0 .../BaseStats.cs | 0 MudEngine/{GameObjects => Items}/Bag.cs | 0 MudEngine/{GameObjects => Items}/Currency.cs | 0 MudEngine/MudEngine.csproj | 40 +- MudEngine/Scripting/CompileEngine.cs | 404 ++++++++++++++++++ MudEngine/Scripting/ScriptFactory.cs | 135 ++++++ MudEngine/Scripting/ScriptObject.cs | 92 ++++ .../Environment => World}/Door.cs | 0 .../Environment => World}/Realm.cs | 0 .../Environment => World}/Room.cs | 0 .../Environment => World}/StartingLocation.cs | 0 .../Environment => World}/TerrainType.cs | 0 .../Environment => World}/TravelDirections.cs | 0 .../Environment => World}/Zone.cs | 0 19 files changed, 651 insertions(+), 20 deletions(-) rename MudEngine/{GameManagement/CommandEngine.cs => Commands/CommandSystem.cs} (100%) rename MudEngine/{GameObjects/Characters => Communication}/DialogChat.cs (100%) rename MudEngine/{GameObjects/Characters => Core}/BaseCharacter.cs (100%) rename MudEngine/{GameObjects/Items => Core}/BaseItem.cs (100%) rename MudEngine/{GameObjects => Core}/BaseObject.cs (100%) rename MudEngine/{GameObjects/Characters => GameManagement}/BaseStats.cs (100%) rename MudEngine/{GameObjects => Items}/Bag.cs (100%) rename MudEngine/{GameObjects => Items}/Currency.cs (100%) create mode 100644 MudEngine/Scripting/CompileEngine.cs create mode 100644 MudEngine/Scripting/ScriptFactory.cs create mode 100644 MudEngine/Scripting/ScriptObject.cs rename MudEngine/{GameObjects/Environment => World}/Door.cs (100%) rename MudEngine/{GameObjects/Environment => World}/Realm.cs (100%) rename MudEngine/{GameObjects/Environment => World}/Room.cs (100%) rename MudEngine/{GameObjects/Environment => World}/StartingLocation.cs (100%) rename MudEngine/{GameObjects/Environment => World}/TerrainType.cs (100%) rename MudEngine/{GameObjects/Environment => World}/TravelDirections.cs (100%) rename MudEngine/{GameObjects/Environment => World}/Zone.cs (100%) diff --git a/MudEngine/GameManagement/CommandEngine.cs b/MudEngine/Commands/CommandSystem.cs similarity index 100% rename from MudEngine/GameManagement/CommandEngine.cs rename to MudEngine/Commands/CommandSystem.cs diff --git a/MudEngine/GameObjects/Characters/DialogChat.cs b/MudEngine/Communication/DialogChat.cs similarity index 100% rename from MudEngine/GameObjects/Characters/DialogChat.cs rename to MudEngine/Communication/DialogChat.cs diff --git a/MudEngine/GameObjects/Characters/BaseCharacter.cs b/MudEngine/Core/BaseCharacter.cs similarity index 100% rename from MudEngine/GameObjects/Characters/BaseCharacter.cs rename to MudEngine/Core/BaseCharacter.cs diff --git a/MudEngine/GameObjects/Items/BaseItem.cs b/MudEngine/Core/BaseItem.cs similarity index 100% rename from MudEngine/GameObjects/Items/BaseItem.cs rename to MudEngine/Core/BaseItem.cs diff --git a/MudEngine/GameObjects/BaseObject.cs b/MudEngine/Core/BaseObject.cs similarity index 100% rename from MudEngine/GameObjects/BaseObject.cs rename to MudEngine/Core/BaseObject.cs diff --git a/MudEngine/GameObjects/Characters/BaseStats.cs b/MudEngine/GameManagement/BaseStats.cs similarity index 100% rename from MudEngine/GameObjects/Characters/BaseStats.cs rename to MudEngine/GameManagement/BaseStats.cs diff --git a/MudEngine/GameObjects/Bag.cs b/MudEngine/Items/Bag.cs similarity index 100% rename from MudEngine/GameObjects/Bag.cs rename to MudEngine/Items/Bag.cs diff --git a/MudEngine/GameObjects/Currency.cs b/MudEngine/Items/Currency.cs similarity index 100% rename from MudEngine/GameObjects/Currency.cs rename to MudEngine/Items/Currency.cs diff --git a/MudEngine/MudEngine.csproj b/MudEngine/MudEngine.csproj index 42bebb5..093902d 100644 --- a/MudEngine/MudEngine.csproj +++ b/MudEngine/MudEngine.csproj @@ -62,30 +62,33 @@ - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -96,10 +99,7 @@ rScripting - - - - +