Remove inclusion of gs-entbase/server/defs.h

This commit is contained in:
Marco Cawthorne 2022-01-20 16:24:36 -08:00
parent b9d9a1f79a
commit beabae200d
Signed by: eukara
GPG key ID: C196CD8BA993248A
3 changed files with 5 additions and 26 deletions

View file

@ -47,7 +47,7 @@ enum
HC_STRUGGLE HC_STRUGGLE
}; };
class monster_headcrab:CBaseMonster class monster_headcrab:NSMonster
{ {
float m_flIdleTime; float m_flIdleTime;
@ -110,7 +110,7 @@ monster_headcrab::touch(void)
void void
monster_headcrab::Pain(void) monster_headcrab::Pain(void)
{ {
CBaseMonster::Pain(); NSMonster::Pain();
if (m_flAnimTime > time) { if (m_flAnimTime > time) {
return; return;
@ -135,7 +135,7 @@ monster_headcrab::Death(void)
} }
/* set the functional differences */ /* set the functional differences */
CBaseMonster::Death(); NSMonster::Death();
} }
void void
@ -177,5 +177,5 @@ monster_headcrab::monster_headcrab(void)
base_mins = [-16,-16,0]; base_mins = [-16,-16,0];
base_maxs = [16,16,36]; base_maxs = [16,16,36];
m_iAlliance = MAL_ALIEN; m_iAlliance = MAL_ALIEN;
CBaseMonster::CBaseMonster(); NSMonster::NSMonster();
} }

View file

@ -77,30 +77,10 @@ class monster_scientist:CBaseNPC
virtual void(void) OnPlayerUse; virtual void(void) OnPlayerUse;
virtual void(void) Pain; virtual void(void) Pain;
virtual void(void) Death; virtual void(void) Death;
virtual int(void) AnimIdle;
virtual int(void) AnimWalk;
virtual int(void) AnimRun;
virtual void(string, string) SpawnKey; virtual void(string, string) SpawnKey;
}; };
int
monster_scientist::AnimIdle(void)
{
return SCIA_IDLE1;
}
int
monster_scientist::AnimWalk(void)
{
return SCIA_WALK;
}
int
monster_scientist::AnimRun(void)
{
return SCIA_RUN;
}
void void
monster_scientist::OnPlayerUse(void) monster_scientist::OnPlayerUse(void)
{ {

View file

@ -8,7 +8,6 @@
#includelist #includelist
../../../src/shared/fteextensions.qc ../../../src/shared/fteextensions.qc
../../../src/gs-entbase/server/defs.h
../../../src/shared/defs.h ../../../src/shared/defs.h
../../../src/server/defs.h ../../../src/server/defs.h