moved bridge support into ra

This commit is contained in:
Chris Forbes
2010-05-20 18:16:00 +12:00
parent 4585addff2
commit e5951b1502
5 changed files with 9 additions and 7 deletions

View File

@@ -22,15 +22,15 @@ using System.Drawing;
namespace OpenRA.Graphics
{
class SheetBuilder
public class SheetBuilder
{
public static SheetBuilder SharedInstance;
public static void Initialize(Renderer r)
internal static void Initialize(Renderer r)
{
SharedInstance = new SheetBuilder(r, TextureChannel.Red);
}
public SheetBuilder(Renderer r, TextureChannel ch)
internal SheetBuilder(Renderer r, TextureChannel ch)
{
renderer = r;
current = null;

View File

@@ -214,7 +214,6 @@
<Compile Include="Traits\AI\AutoHeal.cs" />
<Compile Include="Traits\AI\AutoTarget.cs" />
<Compile Include="Traits\Modifiers\BelowUnits.cs" />
<Compile Include="Traits\Bridge.cs" />
<Compile Include="Traits\Buildable.cs" />
<Compile Include="Traits\Building.cs" />
<Compile Include="Traits\World\BuildingInfluence.cs" />
@@ -298,7 +297,6 @@
<Compile Include="Widgets\PerfGraphWidget.cs" />
<Compile Include="Widgets\Delegates\PerfDebugDelegate.cs" />
<Compile Include="Widgets\BuildPaletteWidget.cs" />
<Compile Include="Traits\World\BridgeLayer.cs" />
<Compile Include="Widgets\Delegates\LobbyDelegate.cs" />
<Compile Include="Widgets\ColorBlockWidget.cs" />
<Compile Include="GameRules\MusicInfo.cs" />

View File

@@ -24,8 +24,9 @@ using System.Linq;
using OpenRA.FileFormats;
using OpenRA.GameRules;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Traits
namespace OpenRA.Mods.RA
{
class BridgeInfo : ITraitInfo
{

View File

@@ -21,8 +21,9 @@
using System.Collections.Generic;
using System.Linq;
using OpenRA.GameRules;
using OpenRA.Traits;
namespace OpenRA.Traits
namespace OpenRA.Mods.RA
{
class BridgeLayerInfo : TraitInfo<BridgeLayer> { }

View File

@@ -56,6 +56,8 @@
<Compile Include="Activities\Teleport.cs" />
<Compile Include="Activities\UnloadCargo.cs" />
<Compile Include="AirstrikePower.cs" />
<Compile Include="Bridge.cs" />
<Compile Include="BridgeLayer.cs" />
<Compile Include="Burns.cs" />
<Compile Include="C4Demolition.cs" />
<Compile Include="Cargo.cs" />