|
|
@ -200,6 +200,7 @@ class CGargantua : public CBaseMonster |
|
|
|
public: |
|
|
|
public: |
|
|
|
void Spawn( void ); |
|
|
|
void Spawn( void ); |
|
|
|
void Precache( void ); |
|
|
|
void Precache( void ); |
|
|
|
|
|
|
|
void UpdateOnRemove(); |
|
|
|
void SetYawSpeed( void ); |
|
|
|
void SetYawSpeed( void ); |
|
|
|
int Classify( void ); |
|
|
|
int Classify( void ); |
|
|
|
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType ); |
|
|
|
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType ); |
|
|
@ -802,6 +803,19 @@ void CGargantua::Precache() |
|
|
|
PRECACHE_SOUND( (char *)pBreatheSounds[i] ); |
|
|
|
PRECACHE_SOUND( (char *)pBreatheSounds[i] ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void CGargantua::UpdateOnRemove() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CBaseEntity::UpdateOnRemove(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( m_pEyeGlow ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
UTIL_Remove( m_pEyeGlow ); |
|
|
|
|
|
|
|
m_pEyeGlow = 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FlameDestroy(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CGargantua::TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType ) |
|
|
|
void CGargantua::TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ALERT( at_aiconsole, "CGargantua::TraceAttack\n" ); |
|
|
|
ALERT( at_aiconsole, "CGargantua::TraceAttack\n" ); |
|
|
|