You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
416 B
27 lines
416 B
8 years ago
|
// botman's Half-Life bot example
|
||
|
//
|
||
|
// http://planethalflife.com/botman/
|
||
|
//
|
||
|
// botcam.h
|
||
|
//
|
||
|
|
||
|
#ifndef BOTCAM_H
|
||
|
#define BOTCAM_H
|
||
|
|
||
|
class CBotCam : public CBaseEntity
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
CBasePlayer *m_pPlayer;
|
||
|
CBasePlayer *m_pBot;
|
||
|
|
||
|
static CBotCam *Create( CBasePlayer *pPlayer, CBasePlayer *pBot );
|
||
|
void Spawn( void );
|
||
|
void Disconnect( void );
|
||
|
|
||
|
void EXPORT IdleThink( void );
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|