git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1495 e016b1c5-ed68-44aa-a2f7-31cac88cffde
45 lines
854 B
C++
45 lines
854 B
C++
//
|
|
// C++ Implementation: bot
|
|
//
|
|
// Description:
|
|
//
|
|
// Header specific for AC_CUBE
|
|
//
|
|
// Author: Rick <[email protected]>
|
|
//
|
|
//
|
|
//
|
|
|
|
#ifndef AC_BOT_H
|
|
#define AC_BOT_H
|
|
|
|
#ifdef AC_CUBE
|
|
|
|
#define MAX_WEAPONS 7
|
|
|
|
class CACBot: public CBot
|
|
{
|
|
public:
|
|
friend class CBotManager;
|
|
friend class CWaypointClass;
|
|
|
|
virtual void CheckItemPickup(void);
|
|
|
|
// AI Functions
|
|
virtual bool ChoosePreferredWeapon(void);
|
|
void Reload(int Gun);
|
|
virtual entity *SearchForEnts(bool bUseWPs, float flRange=9999.0f,
|
|
float flMaxHeight=JUMP_HEIGHT);
|
|
virtual bool HeadToTargetEnt(void);
|
|
virtual bool DoSPStuff(void);
|
|
|
|
virtual void Spawn(void);
|
|
};
|
|
|
|
inline void AddScreenText(const char *t, ...) {}; // UNDONE
|
|
inline void AddDebugText(const char *t, ...) {}; // UNDONE
|
|
|
|
#endif
|
|
|
|
#endif
|