mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-27 14:52:13 +00:00
8ec7b4bf0b
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@352 67975925-1194-0748-b3d5-c16f83f1a3a1
35 lines
No EOL
904 B
C++
35 lines
No EOL
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 |