- Added +SPRITEFLIP which reverses a sprite's left-rightness.
This commit is contained in:
parent
8303d8bbd1
commit
2acb485121
6 changed files with 19 additions and 4 deletions
|
|
@ -145,6 +145,10 @@ namespace swrenderer
|
|||
// [RH] Flip for mirrors
|
||||
renderflags ^= renderportal->MirrorFlags & RF_XFLIP;
|
||||
|
||||
// [SP] SpriteFlip
|
||||
if (thing->flags7 & MF7_SPRITEFLIP)
|
||||
renderflags ^= RF_XFLIP;
|
||||
|
||||
// calculate edges of the shape
|
||||
const double thingxscalemul = spriteScale.X / tex->Scale.X;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue