Fix offsetting of rotated sprites drawn in the HUD by Lua
- Oct 25, 2023
-
-
Alam Ed Arias authored
-
- Oct 23, 2023
-
-
Alam Ed Arias authored
-
- Sep 21, 2023
-
-
Monster Iestyn authored340eee86
-
Monster Iestyn authored
Remove adjustfeet parameter from Patch_GetRotatedSprite, remove [2] from spriteframe_t's rotated array. Following from my previous commit, these things are no longer needed: they existed ONLY for adding FEETADJUST offsets to rotated sprites in Lua HUD code.
ee0bab29 -
Monster Iestyn authored
v.getSpritePatch/v.getSprite2Patch fix: Fix offset inconsistency between rotated sprites and non-rotated sprites This was caused by rotated sprites having FEETADJUST offsets applied, when non-rotated sprites did not. FEETADJUST is not actually needed in the HUD, so I've removed it from the rotated sprites (thankfully this is also the easiest way to fix it too)
5e501bae
-