Fix inconsistent naming in DebugMuzzlePositions.
This commit is contained in:
@@ -20,17 +20,17 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
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;
|
Lazy<IEnumerable<Armament>> armaments;
|
||||||
DeveloperMode devMode;
|
DeveloperMode devMode;
|
||||||
|
|
||||||
public DebugFiringOffsets(Actor self)
|
public CombatDebugOverlay(Actor self)
|
||||||
{
|
{
|
||||||
armaments = Lazy.New(() => self.TraitsImplementing<Armament>());
|
armaments = Lazy.New(() => self.TraitsImplementing<Armament>());
|
||||||
|
|
||||||
@@ -429,7 +429,6 @@
|
|||||||
<Compile Include="Widgets\ColorPreviewManagerWidget.cs" />
|
<Compile Include="Widgets\ColorPreviewManagerWidget.cs" />
|
||||||
<Compile Include="Infiltrates.cs" />
|
<Compile Include="Infiltrates.cs" />
|
||||||
<Compile Include="Armament.cs" />
|
<Compile Include="Armament.cs" />
|
||||||
<Compile Include="DebugMuzzlePositions.cs" />
|
|
||||||
<Compile Include="Buildings\BaseProvider.cs" />
|
<Compile Include="Buildings\BaseProvider.cs" />
|
||||||
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
||||||
<Compile Include="RepairsBridges.cs" />
|
<Compile Include="RepairsBridges.cs" />
|
||||||
@@ -471,6 +470,7 @@
|
|||||||
<Compile Include="AI\States\ProtectionStates.cs" />
|
<Compile Include="AI\States\ProtectionStates.cs" />
|
||||||
<Compile Include="AI\States\AirStates.cs" />
|
<Compile Include="AI\States\AirStates.cs" />
|
||||||
<Compile Include="Widgets\Logic\InstallLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallLogic.cs" />
|
||||||
|
<Compile Include="CombatDebugOverlay.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
AttackMove:
|
AttackMove:
|
||||||
WithSmoke:
|
WithSmoke:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeSmall
|
Weapon: UnitExplodeSmall
|
||||||
EmptyWeapon: UnitExplodeSmall
|
EmptyWeapon: UnitExplodeSmall
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
Explodes:
|
Explodes:
|
||||||
Weapon: HeliExplode
|
Weapon: HeliExplode
|
||||||
EmptyWeapon: HeliExplode
|
EmptyWeapon: HeliExplode
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
Probability: 2
|
Probability: 2
|
||||||
CrushableInfantry:
|
CrushableInfantry:
|
||||||
WarnProbability: 60
|
WarnProbability: 60
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -261,7 +261,7 @@
|
|||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
|
|
||||||
^Ship:
|
^Ship:
|
||||||
@@ -281,7 +281,7 @@
|
|||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
AttackMove:
|
AttackMove:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -329,7 +329,7 @@
|
|||||||
ShakeOnDeath:
|
ShakeOnDeath:
|
||||||
Sellable:
|
Sellable:
|
||||||
LegacyCapturable:
|
LegacyCapturable:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guardable:
|
Guardable:
|
||||||
Range: 3
|
Range: 3
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
GivesBounty:
|
GivesBounty:
|
||||||
Repairable:
|
Repairable:
|
||||||
RepairBuildings: repaira,repairo,repairh
|
RepairBuildings: repaira,repairo,repairh
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
GivesBounty:
|
GivesBounty:
|
||||||
Repairable:
|
Repairable:
|
||||||
RepairBuildings: repaira,repairo,repairh
|
RepairBuildings: repaira,repairo,repairh
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
RepairableNear:
|
RepairableNear:
|
||||||
Buildings: barra, barro
|
Buildings: barra, barro
|
||||||
CloseEnough: 1
|
CloseEnough: 1
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -185,7 +185,7 @@
|
|||||||
ProximityCaptor:
|
ProximityCaptor:
|
||||||
Types:Plane
|
Types:Plane
|
||||||
GivesBounty:
|
GivesBounty:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@
|
|||||||
Types:Building
|
Types:Building
|
||||||
Sellable:
|
Sellable:
|
||||||
GivesBounty:
|
GivesBounty:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guardable:
|
Guardable:
|
||||||
Range: 3
|
Range: 3
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
String:Vehicle
|
String:Vehicle
|
||||||
WithSmoke:
|
WithSmoke:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
String:Vehicle
|
String:Vehicle
|
||||||
WithSmoke:
|
WithSmoke:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
CrushableInfantry:
|
CrushableInfantry:
|
||||||
CrushSound: squishy2.aud
|
CrushSound: squishy2.aud
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
String:Ship
|
String:Ship
|
||||||
WithSmoke:
|
WithSmoke:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
GpsDot:
|
GpsDot:
|
||||||
String:Plane
|
String:Plane
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
|
|
||||||
^Helicopter:
|
^Helicopter:
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
AcceptsSupplies:
|
AcceptsSupplies:
|
||||||
GivesBounty:
|
GivesBounty:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guardable:
|
Guardable:
|
||||||
Range: 3
|
Range: 3
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
AcceptsSupplies:
|
AcceptsSupplies:
|
||||||
GivesBounty:
|
GivesBounty:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guardable:
|
Guardable:
|
||||||
Range: 3
|
Range: 3
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
CrushableInfantry:
|
CrushableInfantry:
|
||||||
CrushSound: squish6.aud
|
CrushSound: squish6.aud
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
GivesBounty:
|
GivesBounty:
|
||||||
# WithSmoke:
|
# WithSmoke:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
Guard:
|
Guard:
|
||||||
Guardable:
|
Guardable:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
@@ -197,5 +197,5 @@
|
|||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
DebugMuzzlePositions:
|
CombatDebugOverlay:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
Reference in New Issue
Block a user