Fix depth offsets for sprite with non-zero ZRamp.

Bibs and other effects that should be drawn at ground level
can now simply define ZRamp: 1, Offset: <X>,<Y>,1, avoiding the
need to account for the Y offset or internal sprite offsets.
This commit is contained in:
Paul Chote
2021-07-24 23:39:08 +01:00
committed by reaperrr
parent 27f9f35efb
commit be3412ee74
9 changed files with 73 additions and 99 deletions

View File

@@ -22,7 +22,7 @@ harv.gdi:
harvest: harvestr
Length: *
ZRamp: 1
Offset: 0, 0, 3
Offset: 0, 0, 1
icon: sidebar-gdi|harvicon
harv.nod:
@@ -30,7 +30,7 @@ harv.nod:
harvest: harvestr
Length: *
ZRamp: 1
Offset: 0, 0, 3
Offset: 0, 0, 1
icon: sidebar-nod|harvicon
hvr: