moved bridge support into ra
This commit is contained in:
@@ -22,15 +22,15 @@ using System.Drawing;
|
|||||||
|
|
||||||
namespace OpenRA.Graphics
|
namespace OpenRA.Graphics
|
||||||
{
|
{
|
||||||
class SheetBuilder
|
public class SheetBuilder
|
||||||
{
|
{
|
||||||
public static SheetBuilder SharedInstance;
|
public static SheetBuilder SharedInstance;
|
||||||
public static void Initialize(Renderer r)
|
internal static void Initialize(Renderer r)
|
||||||
{
|
{
|
||||||
SharedInstance = new SheetBuilder(r, TextureChannel.Red);
|
SharedInstance = new SheetBuilder(r, TextureChannel.Red);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SheetBuilder(Renderer r, TextureChannel ch)
|
internal SheetBuilder(Renderer r, TextureChannel ch)
|
||||||
{
|
{
|
||||||
renderer = r;
|
renderer = r;
|
||||||
current = null;
|
current = null;
|
||||||
|
|||||||
@@ -214,7 +214,6 @@
|
|||||||
<Compile Include="Traits\AI\AutoHeal.cs" />
|
<Compile Include="Traits\AI\AutoHeal.cs" />
|
||||||
<Compile Include="Traits\AI\AutoTarget.cs" />
|
<Compile Include="Traits\AI\AutoTarget.cs" />
|
||||||
<Compile Include="Traits\Modifiers\BelowUnits.cs" />
|
<Compile Include="Traits\Modifiers\BelowUnits.cs" />
|
||||||
<Compile Include="Traits\Bridge.cs" />
|
|
||||||
<Compile Include="Traits\Buildable.cs" />
|
<Compile Include="Traits\Buildable.cs" />
|
||||||
<Compile Include="Traits\Building.cs" />
|
<Compile Include="Traits\Building.cs" />
|
||||||
<Compile Include="Traits\World\BuildingInfluence.cs" />
|
<Compile Include="Traits\World\BuildingInfluence.cs" />
|
||||||
@@ -298,7 +297,6 @@
|
|||||||
<Compile Include="Widgets\PerfGraphWidget.cs" />
|
<Compile Include="Widgets\PerfGraphWidget.cs" />
|
||||||
<Compile Include="Widgets\Delegates\PerfDebugDelegate.cs" />
|
<Compile Include="Widgets\Delegates\PerfDebugDelegate.cs" />
|
||||||
<Compile Include="Widgets\BuildPaletteWidget.cs" />
|
<Compile Include="Widgets\BuildPaletteWidget.cs" />
|
||||||
<Compile Include="Traits\World\BridgeLayer.cs" />
|
|
||||||
<Compile Include="Widgets\Delegates\LobbyDelegate.cs" />
|
<Compile Include="Widgets\Delegates\LobbyDelegate.cs" />
|
||||||
<Compile Include="Widgets\ColorBlockWidget.cs" />
|
<Compile Include="Widgets\ColorBlockWidget.cs" />
|
||||||
<Compile Include="GameRules\MusicInfo.cs" />
|
<Compile Include="GameRules\MusicInfo.cs" />
|
||||||
|
|||||||
@@ -24,8 +24,9 @@ using System.Linq;
|
|||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
class BridgeInfo : ITraitInfo
|
class BridgeInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -21,8 +21,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
class BridgeLayerInfo : TraitInfo<BridgeLayer> { }
|
class BridgeLayerInfo : TraitInfo<BridgeLayer> { }
|
||||||
|
|
||||||
@@ -56,6 +56,8 @@
|
|||||||
<Compile Include="Activities\Teleport.cs" />
|
<Compile Include="Activities\Teleport.cs" />
|
||||||
<Compile Include="Activities\UnloadCargo.cs" />
|
<Compile Include="Activities\UnloadCargo.cs" />
|
||||||
<Compile Include="AirstrikePower.cs" />
|
<Compile Include="AirstrikePower.cs" />
|
||||||
|
<Compile Include="Bridge.cs" />
|
||||||
|
<Compile Include="BridgeLayer.cs" />
|
||||||
<Compile Include="Burns.cs" />
|
<Compile Include="Burns.cs" />
|
||||||
<Compile Include="C4Demolition.cs" />
|
<Compile Include="C4Demolition.cs" />
|
||||||
<Compile Include="Cargo.cs" />
|
<Compile Include="Cargo.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user