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

@@ -264,9 +264,6 @@ GAWEAP:
WithIdleOverlay@TURBINES:
RequiresCondition: !build-incomplete
Sequence: idle-turbines
WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib
WithMakeOverlay@MAKE-BRIGHT:
Sequence: make-bright
Palette: bright

View File

@@ -231,9 +231,6 @@ NAWEAP:
RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights-bright
Palette: bright
WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib
Power:
Amount: -30
ProvidesPrerequisite@buildingname: