Fix inconsistent naming in DebugMuzzlePositions.

This commit is contained in:
Paul Chote
2013-10-14 20:29:48 +13:00
parent 9f1f6eae9d
commit 5da2c319c1
6 changed files with 27 additions and 27 deletions

View File

@@ -20,17 +20,17 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
public class DebugMuzzlePositionsInfo : ITraitInfo
public class CombatDebugOverlayInfo : ITraitInfo
{
public object Create(ActorInitializer init) { return new DebugFiringOffsets(init.self); }
public object Create(ActorInitializer init) { return new CombatDebugOverlay(init.self); }
}
public class DebugFiringOffsets : IPostRender
public class CombatDebugOverlay : IPostRender
{
Lazy<IEnumerable<Armament>> armaments;
DeveloperMode devMode;
public DebugFiringOffsets(Actor self)
public CombatDebugOverlay(Actor self)
{
armaments = Lazy.New(() => self.TraitsImplementing<Armament>());

View File

@@ -429,7 +429,6 @@
<Compile Include="Widgets\ColorPreviewManagerWidget.cs" />
<Compile Include="Infiltrates.cs" />
<Compile Include="Armament.cs" />
<Compile Include="DebugMuzzlePositions.cs" />
<Compile Include="Buildings\BaseProvider.cs" />
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
<Compile Include="RepairsBridges.cs" />
@@ -471,6 +470,7 @@
<Compile Include="AI\States\ProtectionStates.cs" />
<Compile Include="AI\States\AirStates.cs" />
<Compile Include="Widgets\Logic\InstallLogic.cs" />
<Compile Include="CombatDebugOverlay.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">

View File

@@ -29,7 +29,7 @@
ActorLostNotification:
AttackMove:
WithSmoke:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -75,7 +75,7 @@
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -110,7 +110,7 @@
Explodes:
Weapon: HeliExplode
EmptyWeapon: HeliExplode
DebugMuzzlePositions:
CombatDebugOverlay:
BodyOrientation:
UpdatesPlayerStatistics:
@@ -159,7 +159,7 @@
Probability: 2
CrushableInfantry:
WarnProbability: 60
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -261,7 +261,7 @@
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
DebugMuzzlePositions:
CombatDebugOverlay:
BodyOrientation:
^Ship:
@@ -281,7 +281,7 @@
DrawLineToTarget:
ActorLostNotification:
AttackMove:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -329,7 +329,7 @@
ShakeOnDeath:
Sellable:
LegacyCapturable:
DebugMuzzlePositions:
CombatDebugOverlay:
Guardable:
Range: 3
BodyOrientation:

View File

@@ -29,7 +29,7 @@
GivesBounty:
Repairable:
RepairBuildings: repaira,repairo,repairh
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
RenderUnit:
@@ -67,7 +67,7 @@
GivesBounty:
Repairable:
RepairBuildings: repaira,repairo,repairh
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
RenderUnit:
@@ -162,7 +162,7 @@
RepairableNear:
Buildings: barra, barro
CloseEnough: 1
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -185,7 +185,7 @@
ProximityCaptor:
Types:Plane
GivesBounty:
DebugMuzzlePositions:
CombatDebugOverlay:
BodyOrientation:
UpdatesPlayerStatistics:
@@ -231,7 +231,7 @@
Types:Building
Sellable:
GivesBounty:
DebugMuzzlePositions:
CombatDebugOverlay:
Guardable:
Range: 3
BodyOrientation:

View File

@@ -33,7 +33,7 @@
String:Vehicle
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -78,7 +78,7 @@
String:Vehicle
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -132,7 +132,7 @@
CrushableInfantry:
CrushSound: squishy2.aud
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -170,7 +170,7 @@
String:Ship
WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -201,7 +201,7 @@
GpsDot:
String:Plane
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
BodyOrientation:
^Helicopter:
@@ -245,7 +245,7 @@
AcceptsSupplies:
GivesBounty:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guardable:
Range: 3
BodyOrientation:

View File

@@ -33,7 +33,7 @@
AcceptsSupplies:
GivesBounty:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guardable:
Range: 3
BodyOrientation:
@@ -77,7 +77,7 @@
CrushableInfantry:
CrushSound: squish6.aud
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -142,7 +142,7 @@
GivesBounty:
# WithSmoke:
UpdatesPlayerStatistics:
DebugMuzzlePositions:
CombatDebugOverlay:
Guard:
Guardable:
BodyOrientation:
@@ -197,5 +197,5 @@
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
DebugMuzzlePositions:
CombatDebugOverlay:
BodyOrientation: