home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2007 September / maximum-cd-2007-09.iso / Assets / data / AssaultCube_v0.93.exe / source / src / bot / ac_bot.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-12-06  |  886 b   |  45 lines

  1. //
  2. // C++ Implementation: bot
  3. //
  4. // Description: 
  5. //
  6. // Header specific for AC_CUBE
  7. //
  8. // Author:  Rick <rickhelmus@gmail.com>
  9. //
  10. //
  11. //
  12.  
  13. #ifndef AC_BOT_H
  14. #define AC_BOT_H
  15.  
  16. #ifdef AC_CUBE
  17.  
  18. #define MAX_WEAPONS      7
  19.  
  20. class CACBot: public CBot
  21. {
  22. public:
  23.      friend class CBotManager;
  24.      friend class CWaypointClass;
  25.  
  26.      virtual void CheckItemPickup(void);
  27.      
  28.      // AI Functions
  29.      virtual bool ChoosePreferredWeapon(void);
  30.      void Reload(int Gun);
  31.      virtual entity *SearchForEnts(bool bUseWPs, float flRange=9999.0f,
  32.                                    float flMaxHeight=JUMP_HEIGHT);
  33.      virtual bool HeadToTargetEnt(void);
  34.      virtual bool DoSPStuff(void);
  35.         
  36.      virtual void Spawn(void);
  37. };
  38.  
  39. inline void AddScreenText(char *t, ...) {}; // UNDONE
  40. inline void AddDebugText(char *t, ...) {}; // UNDONE
  41.  
  42. #endif
  43.  
  44. #endif
  45.