Show disabled HitShapes in gray

Instead of disabling their debug overlay entirely.
This commit is contained in:
reaperrr
2021-05-30 20:54:33 +02:00
committed by Paul Chote
parent 7356f2506b
commit 6d55161043
7 changed files with 38 additions and 27 deletions

View File

@@ -11,6 +11,7 @@
using System.Collections.Generic;
using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
namespace OpenRA.Mods.Common.HitShapes
{
@@ -22,6 +23,6 @@ namespace OpenRA.Mods.Common.HitShapes
WDist DistanceFromEdge(WPos pos, WPos origin, WRot orientation);
void Initialize();
IEnumerable<IRenderable> RenderDebugOverlay(WorldRenderer wr, WPos origin, WRot orientation);
IEnumerable<IRenderable> RenderDebugOverlay(HitShape hs, WorldRenderer wr, WPos origin, WRot orientation);
}
}