Add +ONLYVISIBLEINMIRRORS and +INVISIBLEINMIRRORS actor flags. The former makes the actor only visible in reflections, while the latter makes the actor not cast reflections in mirrors.

This commit is contained in:
nashmuhandes 2022-06-19 17:25:59 +08:00 committed by Christoph Oelckers
commit 593627f049
7 changed files with 41 additions and 0 deletions

View file

@ -368,6 +368,8 @@ static FFlagDef ActorFlagDefs[]=
DEFINE_FLAG(RF, ZDOOMTRANS, AActor, renderflags),
DEFINE_FLAG(RF, CASTSPRITESHADOW, AActor, renderflags),
DEFINE_FLAG(RF, NOSPRITESHADOW, AActor, renderflags),
DEFINE_FLAG(RF2, INVISIBLEINMIRRORS, AActor, renderflags2),
DEFINE_FLAG(RF2, ONLYVISIBLEINMIRRORS, AActor, renderflags2),
// Bounce flags
DEFINE_FLAG2(BOUNCE_Walls, BOUNCEONWALLS, AActor, BounceFlags),