Project file works with VC# Express, and changes to Game.cs that should have happened last commit :S
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MixDecrypt, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Release\MixDecrypt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
@@ -62,10 +66,6 @@
|
||||
<Compile Include="Walkability.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MixDecrypt\MixDecrypt.vcproj">
|
||||
<Project>{6F5D4280-3D23-41FF-AE2A-511B5553E377}</Project>
|
||||
<Name>MixDecrypt</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OpenRa.DataStructures\OpenRa.DataStructures.csproj">
|
||||
<Project>{2F9E7A23-56C0-4286-9C8E-1060A9B2F073}</Project>
|
||||
<Name>OpenRa.DataStructures</Name>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRa.FileFormats;
|
||||
|
||||
using OpenRa.Game.Graphics;
|
||||
@@ -48,11 +49,9 @@ namespace OpenRa.Game
|
||||
|
||||
network = new Network();
|
||||
|
||||
buildingCreation.Add("proc", (location, owner) => new Refinery(location, owner, this));
|
||||
|
||||
string[] buildings = { "fact", "powr", "apwr", "weap", "barr", "atek", "stek", "dome" };
|
||||
foreach (string s in buildings)
|
||||
buildingCreation.Add(s, (location, owner) => new Building(s, location, owner, this));
|
||||
buildingCreation = buildings.ToDictionary( s => s, s => (Func<int2, Player, Building>)( ( l, o ) => new Building( s, l, o, this ) ) );
|
||||
buildingCreation.Add( "proc", ( location, owner ) => new Refinery( location, owner, this ) );
|
||||
|
||||
controller = new Controller(this); // CAREFUL THERES AN UGLY HIDDEN DEPENDENCY HERE STILL
|
||||
worldRenderer = new WorldRenderer(renderer, world);
|
||||
|
||||
Reference in New Issue
Block a user