fixes #2253
rough mouse-cursor for infantry-only areas blue move cursor for d2k rally points
This commit is contained in:
committed by
Chris Forbes
parent
11da96fe22
commit
579ff04f68
@@ -456,6 +456,8 @@ namespace OpenRA.Mods.RA.Move
|
||||
{
|
||||
IsQueued = forceQueued;
|
||||
cursor = "move";
|
||||
if (self.World.LocalPlayer.Shroud.IsExplored(location) && self.World.GetTerrainType(location) == "Rough")
|
||||
cursor = "move-rough";
|
||||
if (!self.World.Map.IsInMap(location) || (self.World.LocalPlayer.Shroud.IsExplored(location) &&
|
||||
unitType.MovementCostForCell(self.World, location) == int.MaxValue))
|
||||
cursor = "move-blocked";
|
||||
|
||||
@@ -197,6 +197,11 @@ Cursors:
|
||||
length:4
|
||||
x:12
|
||||
y:12
|
||||
move-rough:
|
||||
start:0
|
||||
length: 8
|
||||
x: 12
|
||||
y: 12
|
||||
|
||||
attackmove:cursor
|
||||
attackmove:
|
||||
|
||||
@@ -180,12 +180,12 @@ Cursors:
|
||||
x: 12
|
||||
y: 12
|
||||
ability:
|
||||
start:96
|
||||
start:72
|
||||
length: 8
|
||||
x: 12
|
||||
y: 12
|
||||
ability-minimap:
|
||||
start:96
|
||||
start:72
|
||||
length: 8
|
||||
x: 12
|
||||
y: 12
|
||||
@@ -237,6 +237,11 @@ Cursors:
|
||||
length: 1
|
||||
x: 12
|
||||
y: 12
|
||||
move-rough:
|
||||
start:256
|
||||
length: 8
|
||||
x: 12
|
||||
y: 12
|
||||
|
||||
nopower: cursor
|
||||
powerdown-blocked:
|
||||
|
||||
@@ -91,6 +91,11 @@ Cursors:
|
||||
length: 4
|
||||
x: 12
|
||||
y: 12
|
||||
move-rough:
|
||||
start:10
|
||||
length: 4
|
||||
x: 12
|
||||
y: 12
|
||||
move-blocked:
|
||||
start:14
|
||||
x: 12
|
||||
|
||||
Reference in New Issue
Block a user