mirror of
https://github.com/ENSL/NS.git
synced 2024-11-27 23:02:16 +00:00
35 lines
904 B
C
35 lines
904 B
C
|
#ifndef ROACH_H
|
||
|
#define ROACH_H
|
||
|
|
||
|
#include "cbase.h"
|
||
|
|
||
|
#define kRoachClassName "Roach"
|
||
|
|
||
|
//=========================================================
|
||
|
// Monster's Anim Events Go Here
|
||
|
//=========================================================
|
||
|
class CRoach : public CBaseMonster
|
||
|
{
|
||
|
public:
|
||
|
void Spawn( void );
|
||
|
void Precache( void );
|
||
|
void SetYawSpeed( void );
|
||
|
void EXPORT MonsterThink ( void );
|
||
|
void Move ( float flInterval );
|
||
|
void PickNewDest ( int iCondition );
|
||
|
void EXPORT Touch ( CBaseEntity *pOther );
|
||
|
void Killed( entvars_t *pevAttacker, int iGib );
|
||
|
|
||
|
float m_flLastLightLevel;
|
||
|
float m_flNextSmellTime;
|
||
|
int Classify ( void );
|
||
|
void Look ( int iDistance );
|
||
|
int ISoundMask ( void );
|
||
|
|
||
|
// UNDONE: These don't necessarily need to be save/restored, but if we add more data, it may
|
||
|
BOOL m_fLightHacked;
|
||
|
int m_iMode;
|
||
|
// -----------------------------
|
||
|
};
|
||
|
|
||
|
#endif
|