diff --git a/MUDCompiler/..svnbridge/.svnbridge b/MUDCompiler/..svnbridge/.svnbridge new file mode 100644 index 0000000..bdf168c --- /dev/null +++ b/MUDCompiler/..svnbridge/.svnbridge @@ -0,0 +1,3 @@ +svn:ignorebin +obj + \ No newline at end of file diff --git a/MUDCompiler/MUDCompiler.csproj b/MUDCompiler/MUDCompiler.csproj new file mode 100644 index 0000000..b78c9ce --- /dev/null +++ b/MUDCompiler/MUDCompiler.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F} + Exe + Properties + MUDCompiler + MUDCompiler + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MUDCompiler/Program.cs b/MUDCompiler/Program.cs new file mode 100644 index 0000000..227a378 --- /dev/null +++ b/MUDCompiler/Program.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace MUDCompiler +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("==========================="); + Console.WriteLine("MUD Engine Content Compiler"); + Console.WriteLine("Version 0.1"); + Console.WriteLine("==========================="); + Console.WriteLine(); + Console.WriteLine("1): Compile Scripts"); + Console.WriteLine("2): Exit Compiler"); + Console.Write("Enter Selection: "); + + string command = Console.ReadLine(); + + if (String.IsNullOrEmpty(command)) + { + Console.WriteLine("Invalid Command!"); + System.Threading.Thread.Sleep(1000); //wait before shutting down so user sees invalid command + } + } + } +} diff --git a/MUDCompiler/Properties/AssemblyInfo.cs b/MUDCompiler/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..639baab --- /dev/null +++ b/MUDCompiler/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MUDCompiler")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MUDCompiler")] +[assembly: AssemblyCopyright("Copyright © 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9a4e1a5f-a025-47bf-adb0-136f7451b03c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MudDesigner.sln b/MudDesigner.sln index 98e052c..2ee3e10 100644 --- a/MudDesigner.sln +++ b/MudDesigner.sln @@ -5,20 +5,48 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MudEngine", "MudEngine\MudE EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUDGame", "MUDGame\MUDGame.csproj", "{048E755C-DD05-47EC-930E-F45146B66F7C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUDCompiler", "MUDCompiler\MUDCompiler.csproj", "{98E974DA-C650-4B88-B2F8-57AC7AE6C34F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|Any CPU.Build.0 = Debug|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|x86.ActiveCfg = Debug|Any CPU {498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|Any CPU.ActiveCfg = Release|Any CPU {498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|Any CPU.Build.0 = Release|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|x86.ActiveCfg = Release|Any CPU {048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|x86.ActiveCfg = Debug|Any CPU {048E755C-DD05-47EC-930E-F45146B66F7C}.Release|Any CPU.ActiveCfg = Release|Any CPU {048E755C-DD05-47EC-930E-F45146B66F7C}.Release|Any CPU.Build.0 = Release|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {048E755C-DD05-47EC-930E-F45146B66F7C}.Release|x86.ActiveCfg = Release|Any CPU + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Debug|Any CPU.ActiveCfg = Debug|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Debug|Mixed Platforms.Build.0 = Debug|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Debug|x86.ActiveCfg = Debug|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Debug|x86.Build.0 = Debug|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Release|Any CPU.ActiveCfg = Release|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Release|Mixed Platforms.ActiveCfg = Release|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Release|Mixed Platforms.Build.0 = Release|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Release|x86.ActiveCfg = Release|x86 + {98E974DA-C650-4B88-B2F8-57AC7AE6C34F}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MudEngine/Networking/ClientSocket.cs b/MudEngine/Networking/ClientSocket.cs index 4446b64..652aafb 100644 --- a/MudEngine/Networking/ClientSocket.cs +++ b/MudEngine/Networking/ClientSocket.cs @@ -10,7 +10,7 @@ using System.Net.Sockets; namespace MudEngine.Networking { - class ClientSocket + public class ClientSocket { public ClientSocket() {