From b0cfc5f4872b82fa2157f69b24a2f52cbf00d708 Mon Sep 17 00:00:00 2001 From: Scionwest_cp Date: Sun, 18 Sep 2011 12:40:53 -0700 Subject: [PATCH] Added rScripting solution to the project so those who do not have the rScript engine library. Makes for easier debugging and adding Mud Designer features to script engine. --- MudDesigner.sln | 17 +- MudEngine/MudEngine.csproj | 9 +- MudGame/MudGame.csproj | 8 +- rScripting/CompileEngine.cs | 456 ++++++++++++++++++++++++ rScripting/Compilers/CSharp.cs | 140 ++++++++ rScripting/Compilers/ICompiler.cs | 60 ++++ rScripting/Compilers/JScript.cs | 129 +++++++ rScripting/Compilers/Python.cs | 123 +++++++ rScripting/Compilers/VisualBasic.cs | 143 ++++++++ rScripting/LateBinding/ScriptFactory.cs | 154 ++++++++ rScripting/LateBinding/ScriptObject.cs | 111 ++++++ rScripting/Properties/AssemblyInfo.cs | 36 ++ rScripting/rScripting.csproj | 62 ++++ rScripting/rScripting.csproj.vspscc | 10 + 14 files changed, 1450 insertions(+), 8 deletions(-) create mode 100644 rScripting/CompileEngine.cs create mode 100644 rScripting/Compilers/CSharp.cs create mode 100644 rScripting/Compilers/ICompiler.cs create mode 100644 rScripting/Compilers/JScript.cs create mode 100644 rScripting/Compilers/Python.cs create mode 100644 rScripting/Compilers/VisualBasic.cs create mode 100644 rScripting/LateBinding/ScriptFactory.cs create mode 100644 rScripting/LateBinding/ScriptObject.cs create mode 100644 rScripting/Properties/AssemblyInfo.cs create mode 100644 rScripting/rScripting.csproj create mode 100644 rScripting/rScripting.csproj.vspscc diff --git a/MudDesigner.sln b/MudDesigner.sln index 8000ac3..a615af1 100644 --- a/MudDesigner.sln +++ b/MudDesigner.sln @@ -11,9 +11,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MudClient", "MudClient\MudC EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MudDesigner", "MudDesigner\MudDesigner.csproj", "{5B18E552-26D0-4491-8BAC-FF80046F0B0F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "rScripting", "rScripting\rScripting.csproj", "{BC1B32DA-7209-4B32-8171-A190EF21F5D6}" +EndProject Global GlobalSection(TeamFoundationVersionControl) = preSolution - SccNumberOfProjects = 6 + SccNumberOfProjects = 7 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs03 SccLocalPath0 = . @@ -32,6 +34,9 @@ Global SccProjectUniqueName5 = MudDesigner\\MudDesigner.csproj SccProjectName5 = MudDesigner SccLocalPath5 = MudDesigner + SccProjectUniqueName6 = rScripting\\rScripting.csproj + SccProjectName6 = rScripting + SccLocalPath6 = rScripting EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -92,6 +97,16 @@ Global {5B18E552-26D0-4491-8BAC-FF80046F0B0F}.Release|Mixed Platforms.Build.0 = Release|x86 {5B18E552-26D0-4491-8BAC-FF80046F0B0F}.Release|x86.ActiveCfg = Release|x86 {5B18E552-26D0-4491-8BAC-FF80046F0B0F}.Release|x86.Build.0 = Release|x86 + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Debug|x86.ActiveCfg = Debug|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Release|Any CPU.Build.0 = Release|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {BC1B32DA-7209-4B32-8171-A190EF21F5D6}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MudEngine/MudEngine.csproj b/MudEngine/MudEngine.csproj index ed7006e..8d6f459 100644 --- a/MudEngine/MudEngine.csproj +++ b/MudEngine/MudEngine.csproj @@ -40,9 +40,6 @@ - - ..\..\rScripting\rScripting\bin\Release\rScripting.dll - 3.5 @@ -94,6 +91,12 @@ + + + {BC1B32DA-7209-4B32-8171-A190EF21F5D6} + rScripting + + + \ No newline at end of file diff --git a/rScripting/rScripting.csproj.vspscc b/rScripting/rScripting.csproj.vspscc new file mode 100644 index 0000000..feffdec --- /dev/null +++ b/rScripting/rScripting.csproj.vspscc @@ -0,0 +1,10 @@ +"" +{ +"FILE_VERSION" = "9237" +"ENLISTMENT_CHOICE" = "NEVER" +"PROJECT_FILE_RELATIVE_PATH" = "" +"NUMBER_OF_EXCLUDED_FILES" = "0" +"ORIGINAL_PROJECT_FILE_PATH" = "" +"NUMBER_OF_NESTED_PROJECTS" = "0" +"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" +}