mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-15 07:01:21 +00:00
107 lines
2.5 KiB
C++
107 lines
2.5 KiB
C++
|
//-------------------------------------------------------------------------
|
||
|
/*
|
||
|
Copyright (C) 1996, 2003 - 3D Realms Entertainment
|
||
|
Copyright (C) 2017-2019 Nuke.YKT
|
||
|
|
||
|
This file is part of Duke Nukem 3D version 1.5 - Atomic Edition
|
||
|
|
||
|
Duke Nukem 3D is free software, you can redistribute it and/or
|
||
|
modify it under the terms of the GNU General Public License
|
||
|
as published by the Free Software Foundation, either version 2
|
||
|
of the License, or (at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY, without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||
|
|
||
|
See the GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program, if not, write to the Free Software
|
||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
|
||
|
Original Source, 1996 - Todd Replogle
|
||
|
Prepared for public release, 03/21/2003 - Charlie Wiederhold, 3D Realms
|
||
|
*/
|
||
|
//-------------------------------------------------------------------------
|
||
|
|
||
|
#include "ns.h"
|
||
|
#include "global.h"
|
||
|
#include "actors.h"
|
||
|
#include "names_rr.h"
|
||
|
|
||
|
BEGIN_DUKE_NS
|
||
|
|
||
|
void initactorflags_r()
|
||
|
{
|
||
|
setflag(SFLAG_INTERNAL_BADGUY|SFLAG_KILLCOUNT, {
|
||
|
BOULDER,
|
||
|
BOULDER1,
|
||
|
EGG,
|
||
|
RAT,
|
||
|
TORNADO,
|
||
|
BILLYCOCK,
|
||
|
BILLYRAY,
|
||
|
BILLYRAYSTAYPUT,
|
||
|
BRAYSNIPER,
|
||
|
DOGRUN,
|
||
|
LTH,
|
||
|
HULKJUMP,
|
||
|
BUBBASTAND,
|
||
|
HULK,
|
||
|
HULKSTAYPUT,
|
||
|
HEN,
|
||
|
DRONE,
|
||
|
PIG,
|
||
|
RECON,
|
||
|
MINION,
|
||
|
MINIONSTAYPUT,
|
||
|
COOT,
|
||
|
COOTSTAYPUT,
|
||
|
SHARK,
|
||
|
VIXEN});
|
||
|
|
||
|
if (isRRRA()) setflag(SFLAG_INTERNAL_BADGUY|SFLAG_KILLCOUNT, {
|
||
|
SBSWIPE,
|
||
|
BIKERB,
|
||
|
BIKERBV2,
|
||
|
BIKER,
|
||
|
MAKEOUT,
|
||
|
CHEERB,
|
||
|
CHEER,
|
||
|
CHEERSTAYPUT,
|
||
|
COOTPLAY,
|
||
|
BILLYPLAY,
|
||
|
MINIONBOAT,
|
||
|
HULKBOAT,
|
||
|
CHEERBOAT,
|
||
|
RABBIT,
|
||
|
MAMA,
|
||
|
UFO1_RRRA});
|
||
|
else setflag(SFLAG_INTERNAL_BADGUY|SFLAG_KILLCOUNT, {
|
||
|
SBMOVE,
|
||
|
UFO1_RR,
|
||
|
UFO2,
|
||
|
UFO3,
|
||
|
UFO4,
|
||
|
UFO5});
|
||
|
|
||
|
// Why does the pig count as kill? Let's undo that.
|
||
|
actorinfo[PIG].flags &= ~SFLAG_KILLCOUNT;
|
||
|
|
||
|
actorinfo[DRONE].flags |= SFLAG_NOWATERDIP;
|
||
|
actorinfo[VIXEN].flags |= SFLAG_NOCANSEECHECK;
|
||
|
if (isRRRA())
|
||
|
{
|
||
|
setflag(SFLAG_KILLCOUNT, { ROCK, ROCK2 }); //???
|
||
|
setflag(SFLAG_NODAMAGEPUSH, { HULK, MAMA, BILLYPLAY, COOTPLAY, MAMACLOUD });
|
||
|
setflag(SFLAG_NOCANSEECHECK, { COOT, COOTSTAYPUT, BIKERB, BIKERBV2, CHEER, CHEERB,
|
||
|
CHEERSTAYPUT, MINIONBOAT, HULKBOAT, CHEERBOAT, RABBIT, COOTPLAY, BILLYPLAY, MAKEOUT, MAMA });
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
setflag(SFLAG_NODAMAGEPUSH, { HULK, SBMOVE });
|
||
|
}
|
||
|
}
|
||
|
|
||
|
END_DUKE_NS
|