// Copyright (C) 1999-2000 Id Software, Inc. // /***************************************************************************** * name: botlib.h * * desc: bot AI library * * $Archive: /StarTrek/Code-DM/game/botlib.h $ * $Author: Mgummelt $ * $Revision: 4 $ * $Modtime: 3/12/01 3:08p $ * $Date: 3/12/01 4:43p $ * *****************************************************************************/ #ifndef BOTLIB_H_ #define BOTLIB_H_ #ifdef _MSC_VER #include #include #else #include #endif static const uint32_t BOTLIB_API_VERSION = 2; struct aas_clientmove_s; struct aas_entityinfo_s; struct bot_consolemessage_s; struct bot_match_s; struct bot_goal_s; struct bot_moveresult_s; struct bot_initmove_s; struct weaponinfo_s; //debug line colors static const int32_t LINECOLOR_NONE = -1; static const uint32_t LINECOLOR_RED = 1; //0xf2f2f0f0L static const uint32_t LINECOLOR_GREEN = 2; //0xd0d1d2d3L static const uint32_t LINECOLOR_BLUE = 3; //0xf3f3f1f1L static const uint32_t LINECOLOR_YELLOW = 4; //0xdcdddedfL static const uint32_t LINECOLOR_ORANGE = 5; //0xe0e1e2e3L //Print types typedef enum { PRT_MESSAGE = 1, PRT_WARNING, PRT_ERROR, PRT_FATAL, PRT_EXIT } botlib_PrintType; //console message types typedef enum { CMS_NORMAL, CMS_CHAT } botlib_ConsoleMessageTpye; //botlib error codes typedef enum { BLERR_NOERROR, //!