MudEngine:
- Fixed ClientSocket accessor error. MudCompiler: - Added new project. This will compile the game scripts along with performing object checks to ensure the game contains no errors prior to publishing a release of the game.
This commit is contained in:
parent
49c581840a
commit
fe05693fee
6 changed files with 155 additions and 1 deletions
3
MUDCompiler/..svnbridge/.svnbridge
Normal file
3
MUDCompiler/..svnbridge/.svnbridge
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?><ItemProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Properties><Property><Name>svn:ignore</Name><Value>bin
|
||||||
|
obj
|
||||||
|
</Value></Property></Properties></ItemProperties>
|
57
MUDCompiler/MUDCompiler.csproj
Normal file
57
MUDCompiler/MUDCompiler.csproj
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
|
<ProductVersion>8.0.30703</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{98E974DA-C650-4B88-B2F8-57AC7AE6C34F}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>MUDCompiler</RootNamespace>
|
||||||
|
<AssemblyName>MUDCompiler</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
|
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
30
MUDCompiler/Program.cs
Normal file
30
MUDCompiler/Program.cs
Normal file
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
36
MUDCompiler/Properties/AssemblyInfo.cs
Normal file
36
MUDCompiler/Properties/AssemblyInfo.cs
Normal file
|
@ -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")]
|
|
@ -5,20 +5,48 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MudEngine", "MudEngine\MudE
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUDGame", "MUDGame\MUDGame.csproj", "{048E755C-DD05-47EC-930E-F45146B66F7C}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUDGame", "MUDGame\MUDGame.csproj", "{048E755C-DD05-47EC-930E-F45146B66F7C}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUDCompiler", "MUDCompiler\MUDCompiler.csproj", "{98E974DA-C650-4B88-B2F8-57AC7AE6C34F}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|Mixed Platforms = Release|Mixed Platforms
|
||||||
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{498943A8-DF5A-4DB0-B506-0BFF44788657}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{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|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.ActiveCfg = Release|Any CPU
|
||||||
{498943A8-DF5A-4DB0-B506-0BFF44788657}.Release|Any CPU.Build.0 = 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.ActiveCfg = Debug|Any CPU
|
||||||
{048E755C-DD05-47EC-930E-F45146B66F7C}.Debug|Any CPU.Build.0 = 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.ActiveCfg = Release|Any CPU
|
||||||
{048E755C-DD05-47EC-930E-F45146B66F7C}.Release|Any CPU.Build.0 = 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
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -10,7 +10,7 @@ using System.Net.Sockets;
|
||||||
|
|
||||||
namespace MudEngine.Networking
|
namespace MudEngine.Networking
|
||||||
{
|
{
|
||||||
class ClientSocket
|
public class ClientSocket
|
||||||
{
|
{
|
||||||
public ClientSocket()
|
public ClientSocket()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue