Refactored cursors.yaml to use palettes from rules.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
Palettes:
|
||||
cursor: temperat.pal
|
||||
|
||||
Cursors:
|
||||
mouse2.shp: cursor
|
||||
mouse2.shp: chrome
|
||||
scroll-t:
|
||||
Start: 1
|
||||
Y: -12
|
||||
@@ -139,7 +136,7 @@ Cursors:
|
||||
sell-vehicle:
|
||||
Start: 154
|
||||
Length: 24
|
||||
mouse3.shp: cursor
|
||||
mouse3.shp: chrome
|
||||
default:
|
||||
Start: 0
|
||||
X: -16
|
||||
@@ -151,7 +148,7 @@ Cursors:
|
||||
deploy-blocked:
|
||||
Start: 1
|
||||
Length: 1
|
||||
mouse4.shp: cursor
|
||||
mouse4.shp: chrome
|
||||
move:
|
||||
Start: 0
|
||||
Length: 8
|
||||
@@ -191,14 +188,14 @@ Cursors:
|
||||
assaultmove-blocked-minimap:
|
||||
Start: 40
|
||||
Length: 1
|
||||
mouse5.shp: cursor
|
||||
mouse5.shp: chrome
|
||||
guard:
|
||||
Start: 0
|
||||
Length: 8
|
||||
guard-minimap:
|
||||
Start: 8
|
||||
Length: 8
|
||||
mouse6.shp: cursor
|
||||
mouse6.shp: chrome
|
||||
goldwrench:
|
||||
Start: 0
|
||||
Length: 3
|
||||
@@ -229,7 +226,7 @@ Cursors:
|
||||
enter-blocked-minimap:
|
||||
Start: 17
|
||||
Length: 1
|
||||
mouse7.shp: cursor
|
||||
mouse7.shp: chrome
|
||||
attackoutsiderange:
|
||||
Start: 0
|
||||
Length: 8
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
Filename: temperat.pal
|
||||
ShadowIndex: 3
|
||||
AllowModifiers: false
|
||||
CursorPalette: true
|
||||
PaletteFromFile@beaconposter:
|
||||
Name: beaconposter
|
||||
Filename: temperat.pal
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
ShadowIndex: 1
|
||||
|
||||
Palettes:
|
||||
mouse: PALETTE.BIN
|
||||
|
||||
Cursors:
|
||||
MOUSE.R8: mouse
|
||||
MOUSE.R8: d2k
|
||||
scroll-t:
|
||||
Start: 112
|
||||
X: 24
|
||||
@@ -284,7 +279,7 @@ Cursors:
|
||||
Length: 8
|
||||
X: 24
|
||||
Y: 24
|
||||
nopower.shp: mouse
|
||||
nopower.shp: d2k
|
||||
powerdown-blocked:
|
||||
Start: 0
|
||||
Length: 1
|
||||
@@ -295,7 +290,7 @@ Cursors:
|
||||
Length: 3
|
||||
X: 12
|
||||
Y: 12
|
||||
attackmove.shp: mouse
|
||||
attackmove.shp: d2k
|
||||
attackmove:
|
||||
Start: 0
|
||||
Length: 8
|
||||
@@ -314,7 +309,7 @@ Cursors:
|
||||
Start: 8
|
||||
X: -2
|
||||
Y: -2
|
||||
assaultmove.shp: mouse
|
||||
assaultmove.shp: d2k
|
||||
assaultmove:
|
||||
Start: 0
|
||||
Length: 8
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
Name: d2k
|
||||
Filename: PALETTE.BIN
|
||||
ShadowIndex: 1
|
||||
CursorPalette: true
|
||||
PaletteFromFile@chrome:
|
||||
Name: chrome
|
||||
Filename: PALETTE.BIN
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
Palettes:
|
||||
cursor: cursor.pal
|
||||
|
||||
Cursors:
|
||||
cursor.shp: cursor
|
||||
default:
|
||||
|
||||
@@ -8,6 +8,9 @@ Packages:
|
||||
./mods/modcontent: modcontent
|
||||
./mods/common: common
|
||||
|
||||
Rules:
|
||||
modcontent|rules.yaml
|
||||
|
||||
Cursors:
|
||||
modcontent|cursors.yaml
|
||||
|
||||
|
||||
5
mods/modcontent/rules.yaml
Normal file
5
mods/modcontent/rules.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
World:
|
||||
PaletteFromFile:
|
||||
Name: cursor
|
||||
Filename: cursor.pal
|
||||
CursorPalette: true
|
||||
@@ -1,8 +1,5 @@
|
||||
Palettes:
|
||||
cursor: temperat.pal
|
||||
|
||||
Cursors:
|
||||
mouse.shp: cursor
|
||||
mouse.shp: chrome
|
||||
scroll-t:
|
||||
Start: 1
|
||||
Y: -7
|
||||
@@ -203,14 +200,14 @@ Cursors:
|
||||
sell2:
|
||||
Start: 148
|
||||
Length: 12
|
||||
nopower.shp: cursor
|
||||
nopower.shp: chrome
|
||||
powerdown-blocked:
|
||||
Start: 0
|
||||
Length: 1
|
||||
powerdown:
|
||||
Start: 1
|
||||
Length: 3
|
||||
attackmove.shp: cursor
|
||||
attackmove.shp: chrome
|
||||
attackmove:
|
||||
Start: 0
|
||||
Length: 4
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
Filename: temperat.pal
|
||||
ShadowIndex: 3
|
||||
AllowModifiers: false
|
||||
CursorPalette: true
|
||||
PaletteFromFile@effect:
|
||||
Name: effect
|
||||
Filename: temperat.pal
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
Palettes:
|
||||
cursor: mousepal.pal
|
||||
|
||||
Cursors:
|
||||
mouse.shp: cursor
|
||||
mouse.shp: mouse
|
||||
scroll-t:
|
||||
Start: 2
|
||||
Y: -19
|
||||
@@ -218,7 +215,7 @@ Cursors:
|
||||
Start: 385
|
||||
joystick-tl-blocked:
|
||||
Start: 386
|
||||
attackmove.shp: cursor
|
||||
attackmove.shp: mouse
|
||||
attackmove:
|
||||
Start: 0
|
||||
Length: 10
|
||||
@@ -231,7 +228,7 @@ Cursors:
|
||||
attackmove-minimap-blocked:
|
||||
Start: 21
|
||||
Length: 1
|
||||
assaultmove.shp: cursor
|
||||
assaultmove.shp: mouse
|
||||
assaultmove:
|
||||
Start: 0
|
||||
Length: 10
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
PaletteFromFile@mouse:
|
||||
Name: mouse
|
||||
Filename: mousepal.pal
|
||||
CursorPalette: true
|
||||
PaletteFromFile@terraintem:
|
||||
Name: terrain
|
||||
Tileset: TEMPERATE
|
||||
|
||||
Reference in New Issue
Block a user