git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1161 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-10 07:38:33 +00:00
parent 7add484d5d
commit 91cc485201
3 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="8.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command=""
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ODD-SOCKS"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command=""
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ODD-SOCKS"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

View File

@@ -54,6 +54,7 @@
<Compile Include="Terrain.cs" />
<Compile Include="TileSet.cs" />
<Compile Include="TileSheetBuilder.cs" />
<Compile Include="Tuple.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OpenRa.Core\OpenRa.Core.csproj">

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenRa.FileFormats
{
public class Tuple<A>
{
public A a;
public Tuple(A a) { this.a = a; }
}
public class Tuple<A, B>
{
public A a;
public B b;
public Tuple(A a, B b) { this.a = a; this.b = b; }
}
public class Tuple<A, B, C>
{
public A a;
public B b;
public C c;
public Tuple(A a, B b, C c) { this.a = a; this.b = b; this.c = c; }
}
public class Tuple<A, B, C, D>
{
public A a;
public B b;
public C c;
public D d;
public Tuple(A a, B b, C c, D d) { this.a = a; this.b = b; this.c = c; this.d = d; }
}
}