mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-04 06:55:48 +00:00
- moved all flags into the actor definitions.
This commit is contained in:
parent
281dbfb14c
commit
8172a9ac0c
69 changed files with 369 additions and 65 deletions
|
@ -111,13 +111,13 @@ static FFlagDef DukeActorFlagDefs[] =
|
|||
DEFINE_FLAG(SFLAG, NOWATERDIP, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, INTERNAL_BADGUY, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, KILLCOUNT, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, NOCANSEECHECK, DDukeActor, flags1),
|
||||
//DEFINE_FLAG(SFLAG, NOCANSEECHECK, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, HITRADIUSCHECK, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, MOVEFTA_CHECKSEE, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, LOOKALLAROUND, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, MOVEFTA_MAKESTANDABLE, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, TRIGGER_IFHITSECTOR, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, MOVEFTA_WAKEUPCHECK, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, MOVEFTA_CHECKSEEWITHPAL8, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, LOOKALLAROUNDWITHPAL8, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, NOSHADOW, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, SE24_NOCARRY, DDukeActor, flags1),
|
||||
DEFINE_FLAG(SFLAG, NOINTERPOLATE, DDukeActor, flags1),
|
||||
|
@ -146,7 +146,7 @@ static FFlagDef DukeActorFlagDefs[] =
|
|||
DEFINE_FLAG(SFLAG2, GREENBLOOD, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, ALWAYSROTATE1, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, DIENOW, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, TRANFERPALTOJIBS, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, TRANSFERPALTOJIBS, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, NORADIUSPUSH, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, FREEZEDAMAGE, DDukeActor, flags2),
|
||||
DEFINE_FLAG(SFLAG2, REFLECTIVE, DDukeActor, flags2),
|
||||
|
@ -171,7 +171,8 @@ static FFlagDef DukeActorFlagDefs[] =
|
|||
DEFINE_FLAG(SFLAG3, LIGHTDAMAGE, DDukeActor, flags3),
|
||||
DEFINE_FLAG(SFLAG3, FORCERUNCON, DDukeActor, flags3),
|
||||
DEFINE_FLAG(SFLAG3, BIGHEALTH, DDukeActor, flags3),
|
||||
|
||||
DEFINE_FLAG(SFLAG3, NOGRAVITY, DDukeActor, flags3),
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -45,6 +45,9 @@
|
|||
#include "texturemanager.h"
|
||||
#include "coreactor.h"
|
||||
#include "thingdef.h"
|
||||
#include "games/duke/src/duke3d.h"
|
||||
|
||||
using Duke3d::DDukeActor;
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
@ -386,3 +389,16 @@ DEFINE_PROPERTY(health, I, CoreActor)
|
|||
bag.Info->ActorInfo()->Health = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// This is a hack because the FTA sight flag has different defaults in
|
||||
// Duke and RR.
|
||||
//
|
||||
//==========================================================================
|
||||
DEFINE_PROPERTY(lookallarounddefault,0, DukeActor)
|
||||
{
|
||||
PROP_INT_PARM(i, 0);
|
||||
if (!isRR()) defaults->flags1 |= SFLAG_LOOKALLAROUND; // feature comes from RR, but we want the option in Duke as well, so this fake property sets the default
|
||||
else defaults->flags1 |= SFLAG_MOVEFTA_WAKEUPCHECK; // Animals were not supposed to have this, but due to a coding bug the logic was unconditional for everything in the game.
|
||||
}
|
||||
|
||||
|
|
|
@ -3445,9 +3445,9 @@ void movefta(void)
|
|||
double sy = act->spr.pos.Y - xyrand();
|
||||
// The second updatesector call here used px and py again and was redundant as coded.
|
||||
|
||||
// SFLAG_MOVEFTA_CHECKSEE is set for all actors in Duke.
|
||||
if (act->spr.pal == 33 || actorflag(act, SFLAG_MOVEFTA_CHECKSEE) ||
|
||||
(actorflag(act, SFLAG_MOVEFTA_CHECKSEEWITHPAL8) && act->spr.pal == 8) ||
|
||||
// SFLAG_LOOKALLAROUND is set for all actors in Duke.
|
||||
if (act->spr.pal == 33 || actorflag(act, SFLAG_LOOKALLAROUND) ||
|
||||
(actorflag(act, SFLAG_LOOKALLAROUNDWITHPAL8) && act->spr.pal == 8) ||
|
||||
(act->spr.Angles.Yaw.Cos() * (px - sx) + act->spr.Angles.Yaw.Sin() * (py - sy) >= 0))
|
||||
{
|
||||
double r1 = zrand(32);
|
||||
|
@ -3490,7 +3490,7 @@ void movefta(void)
|
|||
act->spr.shade = act->sector()->ceilingshade;
|
||||
else act->spr.shade = act->sector()->floorshade;
|
||||
|
||||
// wakeup is an RR feature, this flag will later allow it to use in Duke, too.
|
||||
// wakeup is an RR feature, this flag will allow it to use in Duke, too.
|
||||
if (actorflag(act, SFLAG_MOVEFTA_WAKEUPCHECK))
|
||||
{
|
||||
if (wakeup(act, p))
|
||||
|
|
|
@ -331,13 +331,13 @@ enum sflags_t
|
|||
SFLAG_NOWATERDIP = 0x00000100,
|
||||
SFLAG_INTERNAL_BADGUY = 0x00000200, // a separate flag is needed for the internal ones because SFLAG_BADGUY has additional semantics.
|
||||
SFLAG_KILLCOUNT = 0x00000400,
|
||||
SFLAG_NOCANSEECHECK = 0x00000800,
|
||||
//SFLAG_NOCANSEECHECK = 0x00000800, // not used, was applied to all actors with LOOKALLAROUND.
|
||||
SFLAG_HITRADIUSCHECK = 0x00001000,
|
||||
SFLAG_MOVEFTA_CHECKSEE = 0x00002000,
|
||||
SFLAG_LOOKALLAROUND = 0x00002000,
|
||||
SFLAG_MOVEFTA_MAKESTANDABLE = 0x00004000,
|
||||
SFLAG_TRIGGER_IFHITSECTOR = 0x00008000,
|
||||
SFLAG_MOVEFTA_WAKEUPCHECK = 0x00010000,
|
||||
SFLAG_MOVEFTA_CHECKSEEWITHPAL8 = 0x00020000, // let's hope this can be done better later. For now this was what blocked merging the Duke and RR variants of movefta
|
||||
SFLAG_LOOKALLAROUNDWITHPAL8 = 0x00020000, // let's hope this can be done better later. For now this was what blocked merging the Duke and RR variants of movefta
|
||||
SFLAG_NOSHADOW = 0x00040000,
|
||||
SFLAG_SE24_NOCARRY = 0x00080000,
|
||||
SFLAG_NOINTERPOLATE = 0x00100000,
|
||||
|
@ -373,7 +373,7 @@ enum sflags2_t
|
|||
SFLAG2_GREENBLOOD = 0x00000800,
|
||||
SFLAG2_ALWAYSROTATE1 = 0x00001000,
|
||||
SFLAG2_DIENOW = 0x00002000,
|
||||
SFLAG2_TRANFERPALTOJIBS = 0x00004000,
|
||||
SFLAG2_TRANSFERPALTOJIBS = 0x00004000,
|
||||
SFLAG2_NORADIUSPUSH = 0x00008000,
|
||||
SFLAG2_FREEZEDAMAGE = 0x00010000,
|
||||
SFLAG2_REFLECTIVE = 0x00020000,
|
||||
|
|
|
@ -40,8 +40,6 @@ BEGIN_DUKE_NS
|
|||
|
||||
void initactorflags_d()
|
||||
{
|
||||
setflag(SFLAG3_NOGRAVITY, { DTILE_RECON }); // not ported!!!
|
||||
|
||||
gs.actorinfo[DTILE_COMMANDER].gutsoffset = -24;
|
||||
|
||||
for (auto &fa : gs.actorinfo)
|
||||
|
@ -50,8 +48,6 @@ void initactorflags_d()
|
|||
}
|
||||
gs.actorinfo[DTILE_OCTABRAIN].falladjustz = gs.actorinfo[DTILE_COMMANDER].falladjustz = gs.actorinfo[DTILE_DRONE].falladjustz = 0;
|
||||
|
||||
setflag(SFLAG_INTERNAL_BADGUY, {
|
||||
DTILE_SHARK });
|
||||
|
||||
setflag(SFLAG_INTERNAL_BADGUY | SFLAG_KILLCOUNT, {
|
||||
DTILE_RECON,
|
||||
|
@ -163,7 +159,7 @@ void initactorflags_d()
|
|||
setflag(SFLAG2_ALWAYSROTATE1, { DTILE_RAT, DTILE_CAMERA1, DTILE_CHAIR3, DTILE_PLAYERONWATER });
|
||||
setflag(SFLAG2_ALWAYSROTATE2, { DTILE_RPG });
|
||||
setflag(SFLAG2_DIENOW, { DTILE_RADIUSEXPLOSION, DTILE_KNEE });
|
||||
setflag(SFLAG2_TRANFERPALTOJIBS, { DTILE_LIZTROOP });
|
||||
setflag(SFLAG2_TRANSFERPALTOJIBS, { DTILE_LIZTROOP });
|
||||
setflag(SFLAG2_NORADIUSPUSH, { DTILE_TANK, DTILE_ROTATEGUN, DTILE_RECON });
|
||||
setflag(SFLAG2_FREEZEDAMAGE | SFLAG2_REFLECTIVE, { DTILE_FREEZEBLAST });
|
||||
setflag(SFLAG2_ALWAYSROTATE2, { DTILE_RECON });
|
||||
|
@ -259,7 +255,7 @@ void initactorflags_d()
|
|||
setflag(SFLAG3_BLOODY, { DTILE_BLOODPOOL });
|
||||
|
||||
// The feature guarded by this flag does not exist in Duke, it always acts as if the flag was set.
|
||||
for (auto& ainf : gs.actorinfo) ainf.flags |= SFLAG_MOVEFTA_CHECKSEE;
|
||||
for (auto& ainf : gs.actorinfo) ainf.flags |= SFLAG_LOOKALLAROUND;
|
||||
|
||||
gs.actorinfo[DTILE_ORGANTIC].aimoffset = 32;
|
||||
gs.actorinfo[DTILE_ROTATEGUN].aimoffset = 32;
|
||||
|
|
|
@ -96,11 +96,11 @@ void initactorflags_r()
|
|||
setflag(SFLAG_INTERNAL_BADGUY, { RTILE_PIG, RTILE_HEN });
|
||||
|
||||
gs.actorinfo[RTILE_DRONE].flags |= SFLAG_NOWATERDIP;
|
||||
gs.actorinfo[RTILE_VIXEN].flags |= SFLAG_NOCANSEECHECK;
|
||||
gs.actorinfo[RTILE_VIXEN].flags |= SFLAG_LOOKALLAROUND;
|
||||
if (isRRRA())
|
||||
{
|
||||
setflag(SFLAG_NODAMAGEPUSH, { RTILE_HULK, RTILE_MAMA, RTILE_BILLYPLAY, RTILE_COOTPLAY, RTILE_MAMACLOUD });
|
||||
setflag(SFLAG_NOCANSEECHECK, { RTILE_COOT, RTILE_COOTSTAYPUT, RTILE_BIKERB, RTILE_BIKERBV2, RTILE_CHEER, RTILE_CHEERB,
|
||||
setflag(SFLAG_LOOKALLAROUND, { RTILE_COOT, RTILE_COOTSTAYPUT, RTILE_BIKERB, RTILE_BIKERBV2, RTILE_CHEER, RTILE_CHEERB,
|
||||
RTILE_CHEERSTAYPUT, RTILE_MINIONBOAT, RTILE_HULKBOAT, RTILE_CHEERBOAT, RTILE_RABBIT, RTILE_COOTPLAY, RTILE_BILLYPLAY, RTILE_MAKEOUT, RTILE_MAMA });
|
||||
setflag(SFLAG_INTERNAL_BADGUY, { RTILE_COOTPLAY, RTILE_BILLYPLAY });
|
||||
}
|
||||
|
@ -125,10 +125,10 @@ void initactorflags_r()
|
|||
RTILE_STRIPEBALL
|
||||
});
|
||||
|
||||
setflag(SFLAG_MOVEFTA_CHECKSEE, { RTILE_VIXEN });
|
||||
setflag(SFLAG_LOOKALLAROUND, { RTILE_VIXEN });
|
||||
if (isRRRA())
|
||||
{
|
||||
setflag(SFLAG_MOVEFTA_CHECKSEE, { RTILE_COOT, RTILE_COOTSTAYPUT, RTILE_BIKER, RTILE_BIKERB, RTILE_BIKERBV2, RTILE_CHEER, RTILE_CHEERB,
|
||||
setflag(SFLAG_LOOKALLAROUND, { RTILE_COOT, RTILE_COOTSTAYPUT, RTILE_BIKER, RTILE_BIKERB, RTILE_BIKERBV2, RTILE_CHEER, RTILE_CHEERB,
|
||||
RTILE_CHEERSTAYPUT, RTILE_MINIONBOAT, RTILE_HULKBOAT, RTILE_CHEERBOAT, RTILE_RABBIT, RTILE_COOTPLAY, RTILE_BILLYPLAY, RTILE_MAKEOUT, RTILE_MAMA });
|
||||
}
|
||||
|
||||
|
@ -208,8 +208,8 @@ void initactorflags_r()
|
|||
|
||||
if (isRRRA())
|
||||
{
|
||||
setflag(SFLAG_MOVEFTA_CHECKSEEWITHPAL8, { RTILE_MINION });
|
||||
setflag(SFLAG2_TRANFERPALTOJIBS, { RTILE_MINION });
|
||||
setflag(SFLAG_LOOKALLAROUNDWITHPAL8, { RTILE_MINION });
|
||||
setflag(SFLAG2_TRANSFERPALTOJIBS, { RTILE_MINION });
|
||||
setflag(SFLAG2_NORADIUSPUSH, { RTILE_MAMA, RTILE_BILLYPLAY, RTILE_COOTPLAY, RTILE_MAMACLOUD });
|
||||
setflag(SFLAG2_DONTDIVE, { RTILE_CHEERBOAT, RTILE_HULKBOAT, RTILE_MINIONBOAT, RTILE_UFO1_RRRA });
|
||||
setflag(SFLAG2_FLOATING, { RTILE_UFO1_RRRA });
|
||||
|
|
|
@ -391,7 +391,7 @@ void dokneeattack(int snum)
|
|||
if (p->actorsqu != nullptr && (pact->spr.pos - p->actorsqu->spr.pos).Length() < 1400/16.)
|
||||
{
|
||||
spawnguts(p->actorsqu, PClass::FindActor("DukeJibs6"), 7);
|
||||
spawn(p->actorsqu, TILE_BLOODPOOL);
|
||||
spawn(p->actorsqu, PClass::FindActor("DukeBloodPool"));
|
||||
S_PlayActorSound(SQUISHED, p->actorsqu);
|
||||
if (actorflag(p->actorsqu, SFLAG2_TRIGGERRESPAWN))
|
||||
{
|
||||
|
|
|
@ -358,6 +358,7 @@ spawnclasses
|
|||
|
||||
4610 = DukeNewBeast
|
||||
4611 = DukeNewBeastStayput
|
||||
1975 = DukeTank
|
||||
|
||||
1550 = DukeShark
|
||||
1880 = DukeDrone
|
||||
|
@ -368,5 +369,6 @@ spawnclasses
|
|||
418 = DukeBearingPlate
|
||||
2612 = DukeLaserSite
|
||||
2734 = DukeSpeaker
|
||||
2595 = DukeShotSpark
|
||||
|
||||
}
|
||||
|
|
|
@ -166,6 +166,8 @@ spawnclasses
|
|||
|
||||
// stuff below uses CON
|
||||
|
||||
5376 = RedneckRACoot
|
||||
5377 = RedneckRACootStayput
|
||||
7280 = RedneckRabbit
|
||||
5890 = RedneckBikerB
|
||||
5891 = RedneckBikerBV2
|
||||
|
|
|
@ -355,6 +355,7 @@ spawnclasses
|
|||
4352 = RedneckSheriff
|
||||
4916 = RedneckMosquito
|
||||
5635 = RedneckVixen
|
||||
|
||||
|
||||
1764 = DukeShotSpark
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ class DukeKneeAttack : DukeActor
|
|||
default
|
||||
{
|
||||
pic "KNEE";
|
||||
+DIENOW;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,6 +20,11 @@ class DukeRadiusExplosion : DukeActor
|
|||
default
|
||||
{
|
||||
pic "RADIUSEXPLOSION";
|
||||
+INFLAME;
|
||||
+DIENOW;
|
||||
+EXPLOSIVE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -52,7 +58,16 @@ class DukeSectorEffector : DukeActor
|
|||
//This never gets ticked, the handler goes directly to the native implementations.
|
||||
}
|
||||
|
||||
|
||||
class DukeShotSpark : DukeActor
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "SHOTSPARK1";
|
||||
+FORCERUNCON;
|
||||
+LIGHTDAMAGE;
|
||||
statnum STAT_MISC;
|
||||
}
|
||||
}
|
||||
|
||||
// placeholders for CON scripted actors where we need the class.
|
||||
|
||||
|
@ -61,5 +76,6 @@ class DukeForceRipple : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FORCERIPPLE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ class DukeAtomicHealth : DukeItemBase
|
|||
{
|
||||
pic "ATOMICHEALTH";
|
||||
+FULLBRIGHT;
|
||||
+BIGHEALTH;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -25,6 +27,8 @@ class RedneckGoogooCluster : DukeItemBase
|
|||
{
|
||||
pic "ATOMICHEALTH";
|
||||
+FULLBRIGHT;
|
||||
+BIGHEALTH;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,8 @@ class DukeBloodPool : DukeActor
|
|||
default
|
||||
{
|
||||
pic "BLOODPOOL";
|
||||
+BLOODY;
|
||||
+SE24_REMOVE;
|
||||
}
|
||||
|
||||
virtual void SetPalette()
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeBloodSplat1 : DukeActor
|
|||
default
|
||||
{
|
||||
Pic "BLOODSPLAT1";
|
||||
+SE24_REMOVE;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,7 @@ class DukeBolt1 : DukeActor
|
|||
{
|
||||
SpriteSet "BOLT1", "BOLT2", "BOLT3", "BOLT4";
|
||||
spritesetindex 0;
|
||||
+SE24_NOCARRY;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
|
|
@ -5,6 +5,8 @@ class DukeBoss1 : DukeActor
|
|||
pic "BOSS1";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NODAMAGEPUSH;
|
||||
+BOSS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,8 @@ class DukeBoss2 : DukeBoss1
|
|||
default
|
||||
{
|
||||
pic "BOSS2";
|
||||
|
||||
+NONSMOKYROCKET; // If this wasn't needed for a CON defined actor it could be handled better
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
|
|
@ -4,6 +4,7 @@ class RedneckBowlingPin : DukeActor
|
|||
{
|
||||
RedneckBowlingPin.Behavior 0;
|
||||
spriteset "BOWLINGPIN", "BOWLINGPIN1", "BOWLINGPIN2";
|
||||
+HITRADIUS_FLAG2;
|
||||
}
|
||||
|
||||
meta int behavior;
|
||||
|
@ -123,6 +124,7 @@ class RedneckHenstand : RedneckBowlingPin
|
|||
{
|
||||
spriteset "HENSTAND", "HENSTAND1";
|
||||
RedneckBowlingPin.Behavior 1;
|
||||
-HITRADIUS_FLAG2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -152,6 +154,7 @@ class RedneckBowlingBall : RedneckBowlingPin
|
|||
{
|
||||
pic "BOWLINGBALL";
|
||||
RedneckBowlingPin.Behavior 2;
|
||||
-HITRADIUS_FLAG2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,7 @@ class DukeFloorFlame : DukeActor
|
|||
{
|
||||
pic "FLOORFLAME";
|
||||
+FULLBRIGHT;
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -20,6 +21,9 @@ class DukeBurning : DukeActor
|
|||
{
|
||||
pic "BURNING";
|
||||
+FULLBRIGHT;
|
||||
+FORCERUNCON;
|
||||
+NOTELEPORT;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -72,6 +76,8 @@ class RedneckFire : DukeActor
|
|||
{
|
||||
pic "FIRE";
|
||||
+FULLBRIGHT;
|
||||
+NOTELEPORT;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
|
@ -107,6 +113,7 @@ class DukeOnFire : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FLOORFLAME";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -137,5 +144,6 @@ class DukeOnFireSmoke : DukeActor
|
|||
default
|
||||
{
|
||||
pic "ONFIRESMOKE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ class DukeCanWithSomething : DukeActor
|
|||
Default
|
||||
{
|
||||
pic "CANWITHSOMETHING";
|
||||
+CHECKSLEEP;
|
||||
+MOVEFTA_MAKESTANDABLE;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,8 @@ class DukeCommander : DukeActor
|
|||
pic "COMMANDER";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NOWATERDIP;
|
||||
+FLOATING;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
|
|
@ -144,6 +144,10 @@ class DukeShadeCtrl : DukeActor
|
|||
|
||||
class DukeMinecartKiller : DukeActor
|
||||
{
|
||||
default
|
||||
{
|
||||
+BADGUY;
|
||||
}
|
||||
override void StaticSetup()
|
||||
{
|
||||
self.cstat |= CSTAT_SPRITE_INVISIBLE;
|
||||
|
@ -200,6 +204,7 @@ class RedneckUfoBeam : DukeActor
|
|||
default
|
||||
{
|
||||
pic "UFOBEAM";
|
||||
+BADGUY;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
|
@ -298,3 +303,19 @@ class RedneckSeasickEnabler : DukeActor
|
|||
}
|
||||
}
|
||||
|
||||
class RedneckWacoWinder : DukeActor
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "WACOWINDER";
|
||||
+BADGUY;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
{
|
||||
t.cstat |= CSTAT_SPRITE_INVISIBLE;
|
||||
self.cstat |= CSTAT_SPRITE_INVISIBLE;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -38,3 +38,26 @@ class RedneckCootStayput: RedneckCoot
|
|||
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||
}
|
||||
}
|
||||
|
||||
// CON for this is different in RRRA, so we need the split regardless of the flag.
|
||||
class RedneckRACoot : RedneckCoot
|
||||
{
|
||||
default
|
||||
{
|
||||
+LOOKALLAROUND
|
||||
}
|
||||
}
|
||||
|
||||
class RedneckRACootStayput: RedneckRACoot
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "COOTSTAYPUT";
|
||||
+BADGUYSTAYPUT;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ class DukeCrack : DukeActor
|
|||
default
|
||||
{
|
||||
pic "CRACK1";
|
||||
+NOFALLER;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,7 @@ class DukeCrane : DukeActor
|
|||
{
|
||||
spriteset "CRANE", "CRANE1", "CRANE2";
|
||||
statnum STAT_STANDABLE;
|
||||
+SE24_NOCARRY;
|
||||
}
|
||||
|
||||
enum EPic
|
||||
|
@ -247,5 +248,6 @@ class DukeCranePole : DukeActor
|
|||
default
|
||||
{
|
||||
pic "CRANEPOLE";
|
||||
+NOINTERPOLATE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ class DukeStatueFlash : DukeActor
|
|||
default
|
||||
{
|
||||
pic "STATUEFLASH";
|
||||
+HITRADIUSCHECK;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -65,6 +66,7 @@ class DukeStatue : DukeStatueFlash
|
|||
default
|
||||
{
|
||||
pic "STATUE";
|
||||
+TRIGGERRESPAWN;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -284,6 +286,9 @@ class DukeHydrant : DukeActor
|
|||
Default
|
||||
{
|
||||
spriteset "HYDRENT", "BROKEFIREHYDRENT";
|
||||
+INFLAME;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -373,6 +378,7 @@ class DukeSpaceMarine : DukeActor
|
|||
Default
|
||||
{
|
||||
pic "SPACEMARINE";
|
||||
+HITRADIUSCHECK;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -417,6 +423,7 @@ class DukeMonk : DukeSpaceMarine
|
|||
default
|
||||
{
|
||||
pic "MONK";
|
||||
-HITRADIUSCHECK;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -463,6 +470,7 @@ class DukeChair3 : DukeActor
|
|||
default
|
||||
{
|
||||
pic "CHAIR3";
|
||||
+ALWAYSROTATE1;
|
||||
}
|
||||
|
||||
override void OnHit(DukeActor proj)
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeLetter : DukeActor
|
|||
default
|
||||
{
|
||||
pic "LETTER";
|
||||
+NOFALLER;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,11 @@ class DukeExplodingBarrel : DukeActor
|
|||
default
|
||||
{
|
||||
pic "EXPLODINGBARREL";
|
||||
+FORCERUNCON;
|
||||
+CHECKSLEEP;
|
||||
+MOVEFTA_MAKESTANDABLE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -36,6 +41,7 @@ class DukeNukeBarrel : DukeExplodingBarrel
|
|||
default
|
||||
{
|
||||
pic "NUKEBARREL";
|
||||
+GREENBLOOD;
|
||||
}
|
||||
}
|
||||
class DukeFireVase : DukeExplodingBarrel
|
||||
|
@ -100,6 +106,7 @@ class DukeWaterbubbleMaker : DukeActor
|
|||
default
|
||||
{
|
||||
pic "WATERBUBBLEMAKER";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -115,6 +122,8 @@ class DukeFeces : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FECES";
|
||||
+FORCERUNCON;
|
||||
+BROWNBLOOD;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -129,7 +138,8 @@ class DukeBlood : DukeActor
|
|||
{
|
||||
default
|
||||
{
|
||||
pic "Blood";
|
||||
pic "BLOOD";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -187,6 +197,7 @@ class DukeWhispySmoke : DukeActor
|
|||
default
|
||||
{
|
||||
pic "WHISPYSMOKE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -12,6 +12,7 @@ class DukeCrystalAmmo : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "CRYSTALAMMO";
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
|
@ -42,6 +43,7 @@ class DukeSteroids : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "STEROIDS";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,6 +52,7 @@ class DukeHeatSensor : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "HEATSENSOR";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -66,6 +69,7 @@ class DukeAirtank : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "AIRTANK";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,6 +86,7 @@ class DukeJetpack : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "JETPACK";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,6 +95,7 @@ class DukeHoloDuke : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "HOLODUKE";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -206,6 +212,7 @@ class DukeBoots : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "BOOTS";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -230,6 +237,7 @@ class DukeFirstAid : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "FIRSTAID";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -268,6 +276,7 @@ class DukeGrowSpark : DukeActor
|
|||
{
|
||||
spriteset "GROWSPARK", "GROWSPARK1", "GROWSPARK2", "GROWSPARK3";
|
||||
+FULLBRIGHT;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
|
|
|
@ -73,6 +73,7 @@ class DukeFootprints : DukeActor
|
|||
default
|
||||
{
|
||||
spriteset "FOOTPRINTS", "FOOTPRINTS2", "FOOTPRINTS3", "FOOTPRINTS4";
|
||||
+SE24_REMOVE;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -109,6 +110,8 @@ class DukeBulletHole : DukeActor
|
|||
default
|
||||
{
|
||||
pic "BULLETHOLE";
|
||||
+SE24_REMOVE;
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -224,6 +227,7 @@ class DukeBarBroke : DukeActor
|
|||
default
|
||||
{
|
||||
pic "BARBROKE";
|
||||
+SE24_NOCARRY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -240,6 +244,7 @@ class DukeBurnedCorpse : DukeActor
|
|||
default
|
||||
{
|
||||
pic "BURNEDCORPSE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -248,6 +253,7 @@ class DukeLaserSite : DukeActor
|
|||
default
|
||||
{
|
||||
pic "LASERSITE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -256,6 +262,7 @@ class DukeSpeaker : DukeActor
|
|||
default
|
||||
{
|
||||
pic "SPEAKER";
|
||||
+NOFALLER;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -274,7 +281,8 @@ class DukeNewBeast : DukeActor
|
|||
pic "NEWBEAST";
|
||||
+BADGUY;
|
||||
+KILLCOUNT;
|
||||
|
||||
+GREENSLIMEFOOD;
|
||||
+GREENBLOOD;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -287,4 +295,14 @@ class DukeNewBeastStayput : DukeNewBeast
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
class DukeTank : DukeActor
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "TANK";
|
||||
+BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
}
|
|
@ -4,6 +4,7 @@ class RedneckEmptyBike : DukeActor
|
|||
default
|
||||
{
|
||||
pic "EMPTYBIKE";
|
||||
+ALWAYSROTATE2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -52,6 +53,7 @@ class RedneckEmptyBoat : DukeActor
|
|||
default
|
||||
{
|
||||
pic "EMPTYBOAT";
|
||||
+ALWAYSROTATE2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,8 @@ class DukeExplosion2 : DukeActor
|
|||
{
|
||||
pic "EXPLOSION2";
|
||||
+FULLBRIGHT;
|
||||
+FORCERUNCON;
|
||||
+TRIGGER_IFHITSECTOR;
|
||||
}
|
||||
|
||||
override bool animate(tspritetype t)
|
||||
|
@ -38,7 +40,7 @@ class DukeExplosion2Bot : DukeExplosion2
|
|||
default
|
||||
{
|
||||
pic "EXPLOSION2BOT";
|
||||
+FULLBRIGHT;
|
||||
-TRIGGER_IFHITSECTOR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ class DukeFemale1 : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FEM1";
|
||||
+TRIGGERRESPAWN;
|
||||
+HITRADIUSCHECK;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -91,6 +93,7 @@ class DukeNaked : DukeFemale1
|
|||
default
|
||||
{
|
||||
pic "NAKED1";
|
||||
-HITRADIUSCHECK;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,6 +102,7 @@ class DukeToughGal : DukeFemale1
|
|||
default
|
||||
{
|
||||
pic "TOUGHGAL";
|
||||
-HITRADIUSCHECK;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -107,6 +111,7 @@ class DukeBloodyPole : DukeFemale1
|
|||
default
|
||||
{
|
||||
pic "BLOODYPOLE";
|
||||
-TRIGGERRESPAWN;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ class DukeFireext : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FIREEXT";
|
||||
+EXPLOSIVE;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,7 @@ class DukeFireflyFlyingEffect : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FIREFLYFLYINGEFFECT";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -49,6 +50,8 @@ class DukeFirefly : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FIREFLY";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
}
|
||||
|
||||
override bool ShootThis(DukeActor shooter, DukePlayer p, Vector3 spos, double sang)
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeFlammable : DukeActor
|
|||
default
|
||||
{
|
||||
statnum STAT_STANDABLE;
|
||||
+HITRADIUS_FLAG1;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -81,6 +82,7 @@ class DukeBox : DukeFlammable
|
|||
default
|
||||
{
|
||||
pic "BOX";
|
||||
+FALLINGFLAMMABLE;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,6 +91,7 @@ class DukeTree1 : DukeFlammable
|
|||
default
|
||||
{
|
||||
pic "TREE1";
|
||||
+NOFLOORFIRE;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,6 +100,7 @@ class DukeTree2 : DukeFlammable
|
|||
default
|
||||
{
|
||||
pic "TREE2";
|
||||
+NOFLOORFIRE;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -105,6 +109,7 @@ class DukeTire : DukeFlammable
|
|||
default
|
||||
{
|
||||
pic "TIRE";
|
||||
+FLAMMABLEPOOLEFFECT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeForceSphere : DukeActor
|
|||
default
|
||||
{
|
||||
pic "FORCESPHERE";
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ class DukeFrameEffect : DukeActor
|
|||
{
|
||||
default
|
||||
{
|
||||
Pic "SMALLSMOKE";
|
||||
Pic "FRAMEEFFECT1";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ class DukeGreenSlime : DukeActor
|
|||
spriteset "GREENSLIME", "GREENSLIME1", "GREENSLIME2", "GREENSLIME3", "GREENSLIME4", "GREENSLIME5", "GREENSLIME6", "GREENSLIME7";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+DONTDIVEALIVE;
|
||||
+FORCESECTORSHADE;
|
||||
+SHRINKAUTOAIM;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -419,6 +422,7 @@ class DukeEgg : DukeActor
|
|||
default
|
||||
{
|
||||
pic "EGG";
|
||||
+INTERNAL_BADGUY;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,10 @@ class DukePipeBomb : DukeActor
|
|||
default
|
||||
{
|
||||
pic "HEAVYHBOMB";
|
||||
+INFLAME;
|
||||
+EXPLOSIVE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
// do not add anything here!
|
||||
}
|
||||
|
||||
|
@ -225,6 +229,7 @@ class RedneckDynamite : DukePipeBomb
|
|||
default
|
||||
{
|
||||
pic "DYNAMITE";
|
||||
+INFLAME;
|
||||
}
|
||||
|
||||
override void pickupCheck(DukePlayer p)
|
||||
|
|
|
@ -21,7 +21,7 @@ extend class DukeActor
|
|||
|
||||
if (self.badguy() && self.pal == 6)
|
||||
pal = 6;
|
||||
else if (!self.actorflag2(SFLAG2_TRANFERPALTOJIBS))
|
||||
else if (!self.actorflag2(SFLAG2_TRANSFERPALTOJIBS))
|
||||
pal = 0;
|
||||
else
|
||||
pal = self.pal;
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeLavaPool : DukeActor
|
|||
default
|
||||
{
|
||||
pic "LAVAPOOL";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -37,6 +38,7 @@ class DukeLavaPoolBubble : DukeActor
|
|||
default
|
||||
{
|
||||
pic "LAVAPOOLBUBBLE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -6,6 +6,7 @@ class DukeLizMan : DukeActor
|
|||
pic "LIZMAN";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+GREENSLIMEFOOD;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
|
|
@ -6,6 +6,8 @@ class DukeLizTrooper : DukeActor
|
|||
pic "LIZTROOP";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+GREENSLIMEFOOD;
|
||||
+TRANSFERPALTOJIBS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,8 @@ class DukeDrone : DukeActor
|
|||
pic "DRONE";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NOWATERDIP;
|
||||
+FLOATING;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
@ -40,11 +42,13 @@ class DukeRotateGun : DukeActor
|
|||
pic "ROTATEGUN";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
{
|
||||
self.vel.Z = 0;
|
||||
self.vel.Z = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,6 +58,8 @@ class DukeShark : DukeActor
|
|||
{
|
||||
pic "SHARK";
|
||||
+INTERNAL_BADGUY;
|
||||
+DONTDIVEALIVE;
|
||||
+FLOATING;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,8 @@ class RedneckMinion : DukeActor
|
|||
pic "MINION";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUNDWITHPAL8;
|
||||
+TRANSFERPALTOJIBS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -203,6 +203,7 @@ class RedneckCheerBomb : DukeMortar
|
|||
{
|
||||
spriteset "CHEERBOMB", "CHEERBOMB1", "CHEERBOMB2", "CHEERBOMB3";
|
||||
DukeMortar.ceilingdist 16;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override bool Animate(tspritetype t)
|
||||
|
|
|
@ -5,6 +5,7 @@ class DukeOctabrain : DukeActor
|
|||
pic "OCTABRAIN";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NOWATERDIP;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
@ -18,6 +19,7 @@ class DukeOctabrainStayput: DukeOctabrain
|
|||
default
|
||||
{
|
||||
pic "OCTABRAINSTAYPUT";
|
||||
+DONTDIVEALIVE;
|
||||
}
|
||||
|
||||
override void initialize()
|
||||
|
|
|
@ -4,6 +4,11 @@ class DukeOozFilter : DukeActor
|
|||
default
|
||||
{
|
||||
spriteset "OOZFILTER";
|
||||
+EXPLOSIVE;
|
||||
+BRIGHTEXPLODE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
+GREENBLOOD;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -89,6 +94,7 @@ class DukeSeenine : DukeOozFilter
|
|||
default
|
||||
{
|
||||
spriteset "SEENINE", "SEENINEDEAD", "SEENINEDEAD1";
|
||||
-GREENBLOOD;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ class DukePigCop : DukeActor
|
|||
pic "PIGCOP";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+GREENSLIMEFOOD;
|
||||
}
|
||||
|
||||
override void PlayFTASound()
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukePlayerOnWater : DukeActor
|
|||
default
|
||||
{
|
||||
pic "PLAYERONWATER";
|
||||
+ALWAYSROTATE1;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -23,6 +24,7 @@ class DukePlayerLyingDead : DukeActor
|
|||
default
|
||||
{
|
||||
pic "DUKELYINGDEAD";
|
||||
+HITRADIUS_FLAG2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,11 @@ class RedneckPowderKeg : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "POWDERKEG";
|
||||
+NOFLOORPAL;
|
||||
+EXPLOSIVE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+BREAKMIRRORS;
|
||||
+INFLAME;
|
||||
}
|
||||
|
||||
override void Tick()
|
||||
|
|
|
@ -200,7 +200,9 @@ class DukeFirelaser : DukeProjectile // Liztrooper shot
|
|||
default
|
||||
{
|
||||
spriteset "FIRELASER", "FIRELASER2", "FIRELASER3", "FIRELASER4", "FIRELASER5", "FIRELASER6";
|
||||
+INFLAME;
|
||||
+FULLBRIGHT;
|
||||
+MIRRORREFLECT;
|
||||
}
|
||||
override bool postmoveeffect(CollisionData coll)
|
||||
{
|
||||
|
@ -265,6 +267,8 @@ class DukeShrinkSpark : DukeProjectile
|
|||
{
|
||||
spriteset "SHRINKSPARK", "SHRINKSPARK1", "SHRINKSPARK2", "SHRINKSPARK3";
|
||||
+FULLBRIGHT;
|
||||
+MIRRORREFLECT;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void posthiteffect(CollisionData coll)
|
||||
|
@ -290,6 +294,7 @@ class DukeShrinkerExplosion : DukeActor
|
|||
{
|
||||
spriteset "SHRINKEREXPLOSION";
|
||||
+FULLBRIGHT;
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -322,6 +327,13 @@ class DukeRPG : DukeProjectile
|
|||
{
|
||||
pic "RPG";
|
||||
+FULLBRIGHT;
|
||||
+INFLAME;
|
||||
+UNDERWATERSLOWDOWN;
|
||||
+ALWAYSROTATE2;
|
||||
+EXPLOSIVE;
|
||||
+DOUBLEDMGTHRUST;
|
||||
+NOFLOORPAL;
|
||||
+BREAKMIRRORS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -410,6 +422,8 @@ class DukeFreezeBlast : DukeProjectile
|
|||
{
|
||||
pic "FREEZEBLAST";
|
||||
+FULLBRIGHT;
|
||||
+FREEZEDAMAGE;
|
||||
+REFLECTIVE;
|
||||
}
|
||||
|
||||
override bool postmoveeffect(CollisionData coll)
|
||||
|
@ -532,6 +546,7 @@ class DukeCoolExplosion1 : DukeProjectile // octabrain shot.
|
|||
"COOLEXPLOSION11", "COOLEXPLOSION12", "COOLEXPLOSION13", "COOLEXPLOSION14", "COOLEXPLOSION15",
|
||||
"COOLEXPLOSION16", "COOLEXPLOSION17", "COOLEXPLOSION18", "COOLEXPLOSION19", "COOLEXPLOSION20";
|
||||
+FULLBRIGHT;
|
||||
+MIRRORREFLECT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -732,6 +747,7 @@ class RedneckUWhip : DukeProjectile
|
|||
{
|
||||
pic "UWHIP";
|
||||
+FULLBRIGHT;
|
||||
+INFLAME;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -748,6 +764,7 @@ class RedneckVixenShot : RedneckUWhip // COOLEXPLOSION1
|
|||
default
|
||||
{
|
||||
pic "VIXENSHOT";
|
||||
+INFLAME;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -766,7 +783,7 @@ class RedneckDynamiteArrow : DukeRPG
|
|||
|
||||
override bool weaponhitsprite_pre(DukeActor targ)
|
||||
{
|
||||
if (targ.actorflag2(SFLAG2_TRANFERPALTOJIBS) && targ.pal == 19)
|
||||
if (targ.actorflag2(SFLAG2_TRANSFERPALTOJIBS) && targ.pal == 19)
|
||||
{
|
||||
self.PlayActorSound("RPG_EXPLODE");
|
||||
let spawned = self.spawn("DukeExplosion2");
|
||||
|
@ -797,6 +814,9 @@ class RedneckChickenArrow : RedneckDynamiteArrow
|
|||
default
|
||||
{
|
||||
pic "RPG2";
|
||||
+FORCEAUTOAIM;
|
||||
+NOFLOORPAL;
|
||||
+ALWAYSROTATE2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -868,6 +888,8 @@ class RedneckBoatGrenade : RedneckDynamiteArrow // RRRA only
|
|||
default
|
||||
{
|
||||
pic "BOATGRENADE";
|
||||
-DOUBLEDMGTHRUST;
|
||||
-ALWAYSROTATE2;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -917,6 +939,7 @@ class RedneckShitBall : DukeSpit
|
|||
"FROGBALL1", "FROGBALL2", "FROGBALL3", "FROGBALL4", "FROGBALL5", "FROGBALL6",
|
||||
"SHITBURN", "SHITBURN2", "SHITBURN3", "SHITBURN4",
|
||||
"RABBITBALL";
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
private void rabbitguts()
|
||||
|
@ -958,7 +981,7 @@ class RedneckShitBall : DukeSpit
|
|||
if (self.ownerActor)
|
||||
{
|
||||
let OwnerAc = self.ownerActor;
|
||||
if (OwnerAc.actorflag2(SFLAG2_TRANFERPALTOJIBS))
|
||||
if (OwnerAc.actorflag2(SFLAG2_TRANSFERPALTOJIBS))
|
||||
{
|
||||
if (OwnerAc.pal == 8)
|
||||
{
|
||||
|
|
|
@ -8,6 +8,8 @@ class DukeQueball : DukeActor
|
|||
default
|
||||
{
|
||||
pic "QUEBALL";
|
||||
+HITRADIUS_FLAG2;
|
||||
+HITRADIUSCHECK;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,7 @@ class RedneckRabbit : DukeActor
|
|||
pic "RABBIT";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -6,6 +6,7 @@ class DukeRat : DukeActor
|
|||
{
|
||||
pic "RAT";
|
||||
+INTERNAL_BADGUY;
|
||||
+ALWAYSROTATE1;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -5,6 +5,16 @@ class DukeRecon : DukeActor
|
|||
spriteset "RECON", "RECON2";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+DONTDIVE;
|
||||
+FLOATING;
|
||||
|
||||
+ALWAYSROTATE2;
|
||||
+SPECIALAUTOAIM;
|
||||
+IGNOREHITOWNER;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
+NOFLOORPAL;
|
||||
+NOGRAVITY;
|
||||
}
|
||||
|
||||
Sound AttackSnd;
|
||||
|
@ -230,6 +240,10 @@ class RedneckUFO1 : DukeRecon
|
|||
default
|
||||
{
|
||||
Pic "UFO1_RR";
|
||||
-ALWAYSROTATE2;
|
||||
-SPECIALAUTOAIM;
|
||||
-IGNOREHITOWNER;
|
||||
-NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -6,6 +6,7 @@ class RedneckBikerBV2 : DukeActor
|
|||
pic "BIKERBV2";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -21,6 +22,7 @@ class RedneckBikerB : DukeActor
|
|||
pic "BIKERB";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -36,6 +38,7 @@ class RedneckBiker : DukeActor
|
|||
pic "BIKER";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -51,6 +54,7 @@ class RedneckMakeout : DukeActor
|
|||
pic "MAKEOUT";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -66,6 +70,7 @@ class RedneckCheerleaderB : DukeActor
|
|||
pic "CHEERB";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -81,7 +86,9 @@ class RedneckCheerleader : DukeActor
|
|||
pic "CHEER";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
}
|
||||
+LOOKALLAROUND;
|
||||
+ALTPROJECTILESPRITE; // owed to CON's shittiness. Todo: Think of something better.
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
self.scale = (0.34375, 0.3125);
|
||||
|
@ -95,6 +102,9 @@ class RedneckCootplay : DukeActor
|
|||
{
|
||||
pic "COOTPLAY";
|
||||
+INTERNAL_BADGUY;
|
||||
+LOOKALLAROUND;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -110,6 +120,9 @@ class RedneckBillyPlay : DukeActor
|
|||
{
|
||||
pic "BILLYPLAY";
|
||||
+INTERNAL_BADGUY;
|
||||
+LOOKALLAROUND;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -125,6 +138,8 @@ class RedneckMinionBoat : DukeActor
|
|||
pic "MINIONBOAT";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
+DONTDIVE;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -140,6 +155,8 @@ class RedneckHulkBoat : DukeActor
|
|||
pic "HULKBOAT";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
+DONTDIVE;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -155,6 +172,8 @@ class RedneckCheerBoat : DukeActor
|
|||
pic "CHEERBOAT";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
+DONTDIVE;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -191,6 +210,8 @@ class RedneckMamaCloud : DukeActor
|
|||
default
|
||||
{
|
||||
pic "MAMACLOUD";
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -209,6 +230,10 @@ class RedneckMama : DukeActor
|
|||
pic "MAMA";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
+SPAWNRABBITGUTS; // owed to CON's shittiness. Todo: Think of something better.
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -277,6 +302,8 @@ class RedneckShitBoss : DukeActor
|
|||
+FULLBRIGHT;
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -310,6 +337,8 @@ class RedneckHulk : DukeActor
|
|||
pic "HULK";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NODAMAGEPUSH;
|
||||
+NORADIUSPUSH;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -404,6 +433,8 @@ class RedneckMosquito : DukeActor
|
|||
pic "DRONE";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+NOWATERDIP;
|
||||
+FLOATING;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -419,5 +450,6 @@ class RedneckVixen : DukeActor
|
|||
pic "VIXEN";
|
||||
+INTERNAL_BADGUY;
|
||||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ class RedneckMoonshine : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "STEROIDS";
|
||||
+INVENTORY;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -53,6 +54,7 @@ class RedneckSnorkel : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "AIRTANK";
|
||||
+INVENTORY;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -66,6 +68,7 @@ class RedneckCowpie : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "COWPIE";
|
||||
+INVENTORY;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
@ -78,6 +81,7 @@ class RedneckSixpack : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "HOLODUKE";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -200,6 +204,7 @@ class RedneckHipWader : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "BOOTS";
|
||||
+INVENTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -233,6 +238,7 @@ class RedneckWhiskey : DukeItemBase
|
|||
default
|
||||
{
|
||||
pic "FIRSTAID";
|
||||
+INVENTORY;
|
||||
}
|
||||
override void Initialize()
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@ class DukeRespawnMarker : DukeActor
|
|||
default
|
||||
{
|
||||
spriteset "RESPAWNMARKERRED", "RESPAWNMARKERYELLOW", "RESPAWNMARKERGREEN";
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeSmallSmoke : DukeActor
|
|||
default
|
||||
{
|
||||
pic "SMALLSMOKE";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeSteamBase : DukeActor // we need this for in-game checking and the sha
|
|||
default
|
||||
{
|
||||
statnum STAT_STANDABLE;
|
||||
+FORCERUNCON;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,11 +16,12 @@ class DukeCeilingSteam : DukeSteamBase
|
|||
}
|
||||
|
||||
|
||||
class DukeSteam : DukeActor
|
||||
class DukeSteam : DukeSteamBase
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "STEAM";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,8 @@ class DukeToiletWater : DukeActor
|
|||
default
|
||||
{
|
||||
pic "TOILETWATER";
|
||||
+FORCERUNCON;
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -4,6 +4,8 @@ class DukeTransporterStar : DukeActor
|
|||
default
|
||||
{
|
||||
pic "TRANSPORTERSTAR";
|
||||
+FORCERUNCON;
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -42,6 +44,7 @@ class DukeTransporterBeam : DukeActor
|
|||
default
|
||||
{
|
||||
pic "TRANSPORTERBEAM";
|
||||
+FORCERUNCON;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -14,6 +14,16 @@ class DukeTripBomb : DukeActor
|
|||
pic "TRIPBOMB";
|
||||
// Note: The trip bomb has its health defined through CON! Value is 100. Con-based definitions will take precendence.
|
||||
health 100;
|
||||
+CHECKSLEEP;
|
||||
+HITRADIUS_FLAG2;
|
||||
+MOVEFTA_MAKESTANDABLE;
|
||||
+SE24_NOCARRY;
|
||||
+DONTANIMATE;
|
||||
+NOFALLER;
|
||||
+BLOCK_TRIPBOMB;
|
||||
+NOFLOORPAL;
|
||||
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -226,6 +236,12 @@ class DukeLaserLine : DukeActor
|
|||
{
|
||||
pic "LASERLINE";
|
||||
+FULLBRIGHT;
|
||||
+NOROTATEWITHSECTOR;
|
||||
+SHOWWALLSPRITEONMAP;
|
||||
+SE24_NOCARRY;
|
||||
+DONTANIMATE;
|
||||
+NOTELEPORT;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,8 @@ class DukeViewscreen : DukeActor
|
|||
default
|
||||
{
|
||||
spriteset "VIEWSCREEN", "STATIC", "VIEWSCR";
|
||||
+NOFALLER;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
const VIEWSCR_DIST = 1024; // was originally 2048, was increased to 8192 by EDuke32 and RedNukem, but with high resolutions the resulting 512 map units are still too low.
|
||||
|
@ -94,6 +96,8 @@ class DukeCamera : DukeActor
|
|||
default
|
||||
{
|
||||
pic "CAMERA1";
|
||||
+CAMERA;
|
||||
+ALWAYSROTATE1;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,8 @@ class DukeWaterBubble : DukeActor
|
|||
default
|
||||
{
|
||||
pic "WATERBUBBLE";
|
||||
+FORCERUNCON;
|
||||
+NOFLOORPAL;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -3,6 +3,7 @@ class DukeWatersplash : DukeActor
|
|||
default
|
||||
{
|
||||
spriteset "WATERSPLASH2", "WATERSPLASH2A", "WATERSPLASH2B", "WATERSPLASH2C", "WATERSPLASH2D";
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
@ -81,6 +82,7 @@ class RedneckMudSplash : DukeWatersplash
|
|||
default
|
||||
{
|
||||
spriteset "MUD", "MUD1", "MUD2", "MUD3", "MUD4";
|
||||
+NOTELEPORT;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
|
|
|
@ -160,28 +160,7 @@ class DukeActor : CoreActor native
|
|||
native Vector3 temp_pos, temp_pos2;
|
||||
native double temp_angle;
|
||||
|
||||
// this is not really usable unless all actors are properly scriptified.
|
||||
flagdef Inventory: flags1, 0;
|
||||
flagdef ShrinkAutoaim: flags1, 1;
|
||||
flagdef Badguy: flags1, 2;
|
||||
flagdef ForceAutoaim: flags1, 3;
|
||||
flagdef Boss: flags1, 4;
|
||||
flagdef Badguystayput: flags1, 5;
|
||||
flagdef GreenSlimeFood: flags1, 6;
|
||||
flagdef NoDamagePush: flags1, 7;
|
||||
flagdef NoWaterDrip: flags1, 8;
|
||||
flagdef InternalBadguy: flags1, 9;
|
||||
flagdef Killcount: flags1, 10;
|
||||
flagdef NoCanSeeCheck: flags1, 11;
|
||||
flagdef HitRadiusCheck: flags1, 12;
|
||||
flagdef MoveFTA_CheckSee: flags1, 13;
|
||||
flagdef MoveFTA_MakeStandable: flags1, 14;
|
||||
flagdef TriggerIfHitSector: flags1, 15;
|
||||
//flagdef MoveFTA_WakeupCheck: flags1, 16; // this one needs to be auto-set for RR, not for Duke, should not be exposed unless the feature becomes generally available.
|
||||
flagdef CheckSeeWithPal8: flags1, 17;
|
||||
flagdef NoShadow: flags1, 18;
|
||||
flagdef SE24_NoFloorCheck: flags1, 19;
|
||||
flagdef NoInterpolate: flags1, 20;
|
||||
// flags are implemented natively to avoid the prefixes.
|
||||
|
||||
native void getglobalz();
|
||||
native DukePlayer, double findplayer();
|
||||
|
@ -429,13 +408,13 @@ enum sflags_t
|
|||
SFLAG_NOWATERDIP = 0x00000100,
|
||||
SFLAG_INTERNAL_BADGUY = 0x00000200, // a separate flag is needed for the internal ones because SFLAG_BADGUY has additional semantics.
|
||||
SFLAG_KILLCOUNT = 0x00000400,
|
||||
SFLAG_NOCANSEECHECK = 0x00000800,
|
||||
//SFLAG_NOCANSEECHECK = 0x00000800,
|
||||
SFLAG_HITRADIUSCHECK = 0x00001000,
|
||||
SFLAG_MOVEFTA_CHECKSEE = 0x00002000,
|
||||
SFLAG_LOOKALLAROUND = 0x00002000,
|
||||
SFLAG_MOVEFTA_MAKESTANDABLE = 0x00004000,
|
||||
SFLAG_TRIGGER_IFHITSECTOR = 0x00008000,
|
||||
SFLAG_MOVEFTA_WAKEUPCHECK = 0x00010000,
|
||||
SFLAG_MOVEFTA_CHECKSEEWITHPAL8 = 0x00020000, // let's hope this can be done better later. For now this was what blocked merging the Duke and RR variants of movefta
|
||||
SFLAG_LOOKALLAROUNDWITHPAL8 = 0x00020000, // let's hope this can be done better later. For now this was what blocked merging the Duke and RR variants of movefta
|
||||
SFLAG_NOSHADOW = 0x00040000,
|
||||
SFLAG_SE24_NOCARRY = 0x00080000,
|
||||
SFLAG_NOINTERPOLATE = 0x00100000,
|
||||
|
@ -468,7 +447,7 @@ enum sflags2_t
|
|||
SFLAG2_GREENBLOOD = 0x00000800,
|
||||
SFLAG2_ALWAYSROTATE1 = 0x00001000,
|
||||
SFLAG2_DIENOW = 0x00002000,
|
||||
SFLAG2_TRANFERPALTOJIBS = 0x00004000,
|
||||
SFLAG2_TRANSFERPALTOJIBS = 0x00004000,
|
||||
SFLAG2_NORADIUSPUSH = 0x00008000,
|
||||
SFLAG2_FREEZEDAMAGE = 0x00010000,
|
||||
SFLAG2_REFLECTIVE = 0x00020000,
|
||||
|
|
Loading…
Reference in a new issue