Rename LowBridge to GroundLevelBridge.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Activities\VoxelHarvesterDockSequence.cs" />
|
||||
<Compile Include="SpriteLoaders\TmpTSLoader.cs" />
|
||||
<Compile Include="Traits\Buildings\LowBridge.cs" />
|
||||
<Compile Include="Traits\Buildings\GroundLevelBridge.cs" />
|
||||
<Compile Include="Traits\Buildings\TiberianSunRefinery.cs" />
|
||||
<Compile Include="Traits\Render\WithDockingOverlay.cs" />
|
||||
<Compile Include="Traits\Render\WithPermanentInjury.cs" />
|
||||
|
||||
@@ -10,27 +10,25 @@
|
||||
#endregion
|
||||
|
||||
using System.Collections.Generic;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.Mods.Common.Traits;
|
||||
using OpenRA.Primitives;
|
||||
using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.TS.Traits
|
||||
{
|
||||
[Desc("Bridge actor that can't be passed underneath.")]
|
||||
class LowBridgeInfo : ITraitInfo, Requires<BuildingInfo>
|
||||
class GroundLevelBridgeInfo : ITraitInfo, Requires<BuildingInfo>
|
||||
{
|
||||
public readonly string TerrainType = "Bridge";
|
||||
|
||||
public object Create(ActorInitializer init) { return new LowBridge(init.Self, this); }
|
||||
public object Create(ActorInitializer init) { return new GroundLevelBridge(init.Self, this); }
|
||||
}
|
||||
|
||||
class LowBridge : INotifyAddedToWorld, INotifyRemovedFromWorld
|
||||
class GroundLevelBridge : INotifyAddedToWorld, INotifyRemovedFromWorld
|
||||
{
|
||||
readonly LowBridgeInfo info;
|
||||
readonly GroundLevelBridgeInfo info;
|
||||
readonly IEnumerable<CPos> cells;
|
||||
|
||||
public LowBridge(Actor self, LowBridgeInfo info)
|
||||
public GroundLevelBridge(Actor self, GroundLevelBridgeInfo info)
|
||||
{
|
||||
this.info = info;
|
||||
|
||||
@@ -8,7 +8,7 @@ LOBRDG_A_D:
|
||||
Palette: terrainalpha
|
||||
EditorOnlyTooltip:
|
||||
Name: Dead Bridge
|
||||
-LowBridge:
|
||||
-GroundLevelBridge:
|
||||
-AppearsOnRadar:
|
||||
|
||||
LOBRDG_B:
|
||||
@@ -21,7 +21,7 @@ LOBRDG_B_D:
|
||||
Palette: terrainalpha
|
||||
EditorOnlyTooltip:
|
||||
Name: Dead Bridge
|
||||
-LowBridge:
|
||||
-GroundLevelBridge:
|
||||
-AppearsOnRadar:
|
||||
|
||||
LOBRDG_R_SE:
|
||||
|
||||
@@ -922,14 +922,14 @@
|
||||
Building:
|
||||
Footprint: ___
|
||||
Dimensions: 3, 1
|
||||
LowBridge:
|
||||
GroundLevelBridge:
|
||||
|
||||
^LowBridge_B:
|
||||
Inherits: ^LowBridge
|
||||
Building:
|
||||
Footprint: _ _ _
|
||||
Dimensions: 1, 3
|
||||
LowBridge:
|
||||
GroundLevelBridge:
|
||||
|
||||
^HealsOnTiberium:
|
||||
DamagedByTerrain:
|
||||
|
||||
Reference in New Issue
Block a user