mirror of https://github.com/FWGS/hlsdk-xash3d
51 lines
1.2 KiB
C++
Executable File
51 lines
1.2 KiB
C++
Executable File
|
|
#ifndef TINDALOS_H
|
|
#define TINDALOS_H
|
|
|
|
class CTindalos : public CBaseMonster
|
|
{
|
|
public:
|
|
void Spawn( void );
|
|
void Precache( void );
|
|
void SetYawSpeed( void );
|
|
int Classify ( void );
|
|
void HandleAnimEvent( MonsterEvent_t *pEvent );
|
|
int IgnoreConditions ( void );
|
|
virtual int ISoundMask( void );
|
|
void Killed( entvars_t *pevAttacker, int iGib );
|
|
|
|
float m_flNextFlinch;
|
|
|
|
void PainSound( void );
|
|
void AlertSound( void );
|
|
void IdleSound( void );
|
|
void AttackSound( void );
|
|
|
|
static const char *pAttackSounds[];
|
|
static const char *pIdleSounds[];
|
|
static const char *pAlertSounds[];
|
|
static const char *pPainSounds[];
|
|
static const char *pAttackHitSounds[];
|
|
static const char *pAttackMissSounds[];
|
|
|
|
virtual int Save( CSave &save );
|
|
virtual int Restore( CRestore &restore );
|
|
static TYPEDESCRIPTION m_SaveData[];
|
|
|
|
// No range attacks
|
|
BOOL CheckRangeAttack1 ( float flDot, float flDist ) { return FALSE; }
|
|
BOOL CheckRangeAttack2 ( float flDot, float flDist ) { return FALSE; }
|
|
void TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType );
|
|
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType );
|
|
|
|
private:
|
|
CSprite* m_pSmoke[4];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|