mirror of https://github.com/FWGS/hlsdk-xash3d
81 lines
1.8 KiB
C++
Executable File
81 lines
1.8 KiB
C++
Executable File
|
|
#ifndef HUNTING_HORROR_H
|
|
#define HUNTING_HORROR_H
|
|
|
|
class CHuntingHorror : public CFlyingMonster
|
|
{
|
|
public:
|
|
void Spawn( void );
|
|
void Precache( void );
|
|
void SetYawSpeed( void );
|
|
int Classify( void );
|
|
void HandleAnimEvent( MonsterEvent_t *pEvent );
|
|
CUSTOM_SCHEDULES;
|
|
|
|
int Save( CSave &save );
|
|
int Restore( CRestore &restore );
|
|
static TYPEDESCRIPTION m_SaveData[];
|
|
|
|
Schedule_t *GetSchedule( void );
|
|
Schedule_t *GetScheduleOfType ( int Type );
|
|
|
|
void Killed( entvars_t *pevAttacker, int iGib );
|
|
void BecomeDead( void );
|
|
|
|
void EXPORT CombatUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
|
|
void EXPORT BiteTouch( CBaseEntity *pOther );
|
|
|
|
void StartTask( Task_t *pTask );
|
|
void RunTask( Task_t *pTask );
|
|
|
|
BOOL CheckMeleeAttack1 ( float flDot, float flDist );
|
|
BOOL CheckRangeAttack1 ( float flDot, float flDist );
|
|
|
|
float ChangeYaw( int speed );
|
|
Activity GetStoppedActivity( void );
|
|
|
|
void Move( float flInterval );
|
|
void MoveExecute( CBaseEntity *pTargetEnt, const Vector &vecDir, float flInterval );
|
|
void MonsterThink( void );
|
|
void Stop( void );
|
|
void Fly( void );
|
|
Vector DoProbe(const Vector &Probe);
|
|
|
|
float VectorToPitch( const Vector &vec);
|
|
float FlPitchDiff( void );
|
|
float ChangePitch( int speed );
|
|
|
|
Vector m_SaveVelocity;
|
|
float m_idealDist;
|
|
|
|
float m_flEnemyTouched;
|
|
BOOL m_bOnAttack;
|
|
|
|
float m_flMaxSpeed;
|
|
float m_flMinSpeed;
|
|
float m_flMaxDist;
|
|
|
|
float m_flNextAlert;
|
|
|
|
static const char *pIdleSounds[];
|
|
static const char *pAlertSounds[];
|
|
static const char *pAttackSounds[];
|
|
static const char *pBiteSounds[];
|
|
static const char *pDieSounds[];
|
|
static const char *pPainSounds[];
|
|
|
|
void IdleSound( void );
|
|
void AlertSound( void );
|
|
void AttackSound( void );
|
|
void BiteSound( void );
|
|
void DeathSound( void );
|
|
void PainSound( void );
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|