mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-22 17:01:08 +00:00
- NOSHADOW flag.
This commit is contained in:
parent
b993f05c8f
commit
a8e03723ef
4 changed files with 3 additions and 2 deletions
|
@ -90,7 +90,6 @@ static FFlagDef ActorFlagDefs[] =
|
|||
DEFINE_FLAG2d(CSTAT_SPRITE_TRANS_FLIP, TRANS_FLIP, DCoreActor, spr.cstat),
|
||||
DEFINE_FLAG2d(CSTAT_SPRITE_BLOCK_ALL, BLOCK_ALL, DCoreActor, spr.cstat),
|
||||
DEFINE_FLAG2(CSTAT2_SPRITE_MAPPED, MAPPED, DCoreActor, spr.cstat2),
|
||||
DEFINE_FLAG2(CSTAT2_SPRITE_NOSHADOW, NOSHADOW, DCoreActor, spr.cstat2),
|
||||
DEFINE_FLAG2(CSTAT2_SPRITE_DECAL, DECAL, DCoreActor, spr.cstat2),
|
||||
DEFINE_FLAG2(CSTAT2_SPRITE_FULLBRIGHT, FULLBRIGHT, DCoreActor, spr.cstat2),
|
||||
DEFINE_FLAG2(CSTAT2_SPRITE_NOANIMATE, NOANIMATE, DCoreActor, spr.cstat2),
|
||||
|
|
|
@ -38,7 +38,7 @@ BEGIN_DUKE_NS
|
|||
|
||||
void drawshadows(tspriteArray& tsprites, tspritetype* t, DDukeActor* h)
|
||||
{
|
||||
if (r_shadows && !(h->spr.cstat2 & CSTAT2_SPRITE_NOSHADOW))
|
||||
if (r_shadows && !(h->flags1 & SFLAG_NOSHADOW) && !(h->spr.cstat2 & CSTAT2_SPRITE_NOSHADOW))
|
||||
{
|
||||
auto sectp = t->sectp;
|
||||
double floorz;
|
||||
|
|
|
@ -12,6 +12,7 @@ class RedneckShitBoss : DukeActor
|
|||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NORADIUSPUSH;
|
||||
+NOSHADOW;
|
||||
Strength 2500;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ class RedneckTornado : DukeActor
|
|||
+DESTRUCTOIMMUNE;
|
||||
+INTERNAL_BADGUY;
|
||||
+NOHITSCANHIT;
|
||||
+NOSHADOW;
|
||||
Strength MEGASTRENGTH;
|
||||
}
|
||||
override void Initialize(DukeActor spawner)
|
||||
|
|
Loading…
Reference in a new issue