mirror of https://github.com/FWGS/hlsdk-xash3d
42 lines
978 B
C++
Executable File
42 lines
978 B
C++
Executable File
|
|
#ifndef WOLF_H
|
|
#define WOLF_H
|
|
|
|
class CWolf : 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 );
|
|
virtual int IRelationship( CBaseEntity *pTarget );
|
|
|
|
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[];
|
|
|
|
// No range attacks
|
|
BOOL CheckRangeAttack1 ( float flDot, float flDist ) { return FALSE; }
|
|
BOOL CheckRangeAttack2 ( float flDot, float flDist ) { return FALSE; }
|
|
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType );
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|