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

This commit is contained in:
(no author)
2007-07-23 10:52:07 +00:00
parent 67b1f6e494
commit c8a81ffce4
8 changed files with 14 additions and 113 deletions

View File

@@ -14,6 +14,7 @@ namespace OpenRa.Game
public readonly TerrainRenderer terrain;
public readonly Viewport viewport;
public readonly PathFinder pathFinder;
public readonly Network network;
public Game( string mapName, Renderer renderer, int2 clientSize )
{
@@ -31,6 +32,8 @@ namespace OpenRa.Game
world.Add( new Tree( treeReference, treeCache, map ) );
pathFinder = new PathFinder( map, terrain.tileSet );
network = new Network();
}
}
}

View File

@@ -13,7 +13,6 @@ namespace OpenRa.Game
class MainWindow : Form
{
readonly Renderer renderer;
//readonly Map map;
Game game;
public readonly Sidebar sidebar;

View File

@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenRa.Game
{
class Network
{
}
}

View File

@@ -46,6 +46,7 @@
<Compile Include="Game.cs" />
<Compile Include="Harvester.cs" />
<Compile Include="Log.cs" />
<Compile Include="Network\Network.cs" />
<Compile Include="PathFinder.cs" />
<Compile Include="Sequence.cs" />
<Compile Include="ConstructionYard.cs" />

View File

@@ -1,18 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
namespace OpenRa.Network
{
public class Connection
{
public Connection( IPEndPoint ip )
{
throw new NotImplementedException();
}
}
}

View File

@@ -1,47 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1F87E186-E380-4F3C-893B-3F1F7A147821}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OpenRa.Network</RootNamespace>
<AssemblyName>OpenRa.Network</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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|AnyCPU' ">
<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.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Connection.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\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>

View File

@@ -1,35 +0,0 @@
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( "OpenRa.Network" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "" )]
[assembly: AssemblyProduct( "OpenRa.Network" )]
[assembly: AssemblyCopyright( "Copyright © 2007" )]
[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( "ac3f68cd-38ff-42ae-9bc1-86dc1b0dbbb9" )]
// 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 Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion( "1.0.0.0" )]
[assembly: AssemblyFileVersion( "1.0.0.0" )]

View File

@@ -23,8 +23,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRa.DataStructures", "Op
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PaletteUsage", "PaletteUsage\PaletteUsage.csproj", "{54577061-E2D2-4336-90A2-A9A7106A30CD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRa.Network", "OpenRa.Network\OpenRa.Network.csproj", "{1F87E186-E380-4F3C-893B-3F1F7A147821}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -115,16 +113,6 @@ Global
{54577061-E2D2-4336-90A2-A9A7106A30CD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{54577061-E2D2-4336-90A2-A9A7106A30CD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{54577061-E2D2-4336-90A2-A9A7106A30CD}.Release|Win32.ActiveCfg = Release|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Debug|Win32.ActiveCfg = Debug|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Release|Any CPU.Build.0 = Release|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{1F87E186-E380-4F3C-893B-3F1F7A147821}.Release|Win32.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE