Files
OpenRA/mods/cnc/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

201 lines
2.8 KiB
YAML

Palettes:
cursor: temperat.pal
Cursors:
mouse2.shp: cursor
scroll-t:
Start: 1
scroll-tr:
Start: 2
scroll-r:
Start: 3
scroll-br:
Start: 4
scroll-b:
Start: 5
scroll-bl:
Start: 6
scroll-l:
Start: 7
scroll-tl:
Start: 8
scroll-t-blocked:
Start: 130
scroll-tr-blocked:
Start: 131
scroll-r-blocked:
Start: 132
scroll-br-blocked:
Start: 133
scroll-b-blocked:
Start: 134
scroll-bl-blocked:
Start: 135
scroll-l-blocked:
Start: 136
scroll-tl-blocked:
Start: 137
select:
Start: 12
Length: 6
default-minimap:
Start: 86
Length: 1
X: -16
Y: -12
generic-blocked:
Start: 9
generic-blocked-minimap:
Start: 27
attack:
Start: 18
Length: 8
attack-minimap:
Start: 140
Length: 8
harvest:
Start: 18
Length: 8
harvest-minimap:
Start: 140
Length: 8
enter:
Start: 119
Length: 3
enter-minimap:
Start: 148
Length: 3
c4:
Start: 122
Length: 3
c4-minimap:
Start: 127
Length: 3
joystick-t-blocked:
Start: 130
joystick-tr-blocked:
Start: 131
joystick-r-blocked:
Start: 132
joystick-br-blocked:
Start: 133
joystick-b-blocked:
Start: 134
joystick-bl-blocked:
Start: 135
joystick-l-blocked:
Start: 136
joystick-tl-blocked:
Start: 137
# Cursors that need minimap variants
deploy:
Start: 53
Length: 9
repair:
Start: 29
Length: 24
repair-blocked:
Start: 126
Length: 1
sell:
Start: 62
Length: 24
sell-blocked:
Start: 125
Length: 1
ability:
Start: 88
Length: 8
nuke:
Start: 96
Length: 7
ioncannon:
Start: 103
Length: 16
sell-vehicle:
Start: 154
Length: 24
mouse3.shp: cursor
default:
Start: 0
X: -16
Y: -12
joystick-all:
Start: 0
X: -16
Y: -12
deploy-blocked:
Start: 1
Length: 1
mouse4.shp: cursor
move:
Start: 0
Length: 8
move-minimap:
Start: 8
Length: 4
move-rough:
Start: 0
Length: 8
attackmove:
Start: 12
Length: 8
attackmove-minimap:
Start: 20
Length: 4
move-blocked:
Start: 24
Length: 1
move-blocked-minimap:
Start: 25
Length: 1
mouse5.shp: cursor
guard:
Start: 0
Length: 8
guard-minimap:
Start: 8
Length: 8
mouse6.shp: cursor
goldwrench:
Start: 0
Length: 3
goldwrench-minimap:
Start: 3
Length: 3
goldwrench-blocked:
Start: 6
Length: 1
goldwrench-blocked-minimap:
Start: 7
Length: 1
capture:
Start: 8
Length: 3
capture-minimap:
Start: 11
Length: 3
capture-blocked:
Start: 14
Length: 1
capture-blocked-minimap:
Start: 15
Length: 1
enter-blocked:
Start: 16
Length: 1
enter-blocked-minimap:
Start: 17
Length: 1
mouse7.shp: cursor
attackoutsiderange:
Start: 0
Length: 8
attackoutsiderange-minimap:
Start: 8