Files
OpenRA/mods/ts/cursors.yaml
Joppy Furr 6ded247d0c Change mouse cursors while joystick scrolling
This patch adds mouse cursors to the joystick scrolling feature.

On Tiberian Sun, which itself had joystick scrolling, the same cursors are
used as in the original game.

As the older games did not have joystick scrolling, I've had to make a
best-effort guess as to what were suitable cursors.
  -> When scrolling in all directions is available, the default arrow
     cursor is used.
  -> When a direction is blocked, the edge-scrolling blocked direction
     cursor is used.
2015-10-16 11:53:53 +13:00

198 lines
2.8 KiB
YAML

Palettes:
cursor: mousepal.pal
Cursors:
mouse.shp: cursor
scroll-t:
Start: 2
scroll-tr:
Start: 3
scroll-r:
Start: 4
scroll-br:
Start: 5
scroll-b:
Start: 6
scroll-bl:
Start: 7
scroll-l:
Start: 8
scroll-tl:
Start: 9
scroll-t-blocked:
Start: 10
scroll-tr-blocked:
Start: 11
scroll-r-blocked:
Start: 12
scroll-br-blocked:
Start: 13
scroll-b-blocked:
Start: 14
scroll-bl-blocked:
Start: 15
scroll-l-blocked:
Start: 16
scroll-tl-blocked:
Start: 17
select:
Start: 18
Length: 12
default:
Start: 0
X: -26
Y: -20
default-minimap:
Start: 1
X: -26
Y: -20
generic-blocked:
Start: 9
generic-blocked-minimap:
Start: 52
move:
Start: 31
Length: 10
move-minimap:
Start: 42
Length: 10
move-rough:
Start: 31
Length: 10
move-blocked:
Start: 41
move-blocked-minimap:
Start: 52
attack:
Start: 53
Length: 5
attack-blocked: # TODO: unused
Start: 41
Length: 1
attack-minimap:
Start: 63
Length: 5
attackoutsiderange:
Start: 58
Length: 5
attackoutsiderange-minimap:
Start: 63
Length: 5
attackmove:
Start: 58
Length: 5
attackmove-minimap:
Start: 68
Length: 5
harvest:
Start: 53
Length: 5
harvest-minimap:
Start: 134
Length: 8
enter:
Start: 89
Length: 10
enter-minimap:
Start: 100
Length: 10
enter-blocked:
Start: 99
Length: 1
enter-blocked-minimap:
Start: 33
c4:
Start: 309
Length: 10
c4-minimap:
Start: 121
Length: 3
guard:
Start: 68
Length: 5
guard-minimap:
Start: 73
Length: 5
capture:
Start: 89
Length: 10
capture-minimap:
Start: 100
Length: 10
heal:
Start: 346
Length: 10
heal-minimap:
Start: 194
Length: 1
ability:
Start: 78
Length: 10
ability-minimap:
Start: 214
Length: 8
deploy:
Start: 110
Length: 9
deploy-blocked:
Start: 119
Length: 1
undeploy: #TODO: unused
Start: 120
Length: 9
goldwrench:
Start: 170
Length: 24
goldwrench-blocked: #TODO
Start: 213
Length: 1
nuke:
Start: 279
Length: 20
ioncannon:
Start: 319
Length: 9
sell:
Start: 129
Length: 10
sell-minimap: #TODO: unused
Start: 139
Length: 10
sell-blocked:
Start: 149
Length: 1
repair:
Start: 170
Length: 20
repair-blocked:
Start: 190
Length: 1
sell2:
Start: 139
Length: 10
powerdown-blocked:
Start: 345
Length: 1
powerdown:
Start: 329
Length: 15
joystick-all:
Start: 378
joystick-t-blocked:
Start: 379
joystick-tr-blocked:
Start: 380
joystick-r-blocked:
Start: 381
joystick-br-blocked:
Start: 382
joystick-b-blocked:
Start: 383
joystick-bl-blocked:
Start: 384
joystick-l-blocked:
Start: 385
joystick-tl-blocked:
Start: 386