be_interface.h (1884B)
1 /* 2 =========================================================================== 3 Copyright (C) 1999-2005 Id Software, Inc. 4 5 This file is part of Quake III Arena source code. 6 7 Quake III Arena source code is free software; you can redistribute it 8 and/or modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the License, 10 or (at your option) any later version. 11 12 Quake III Arena source code is distributed in the hope that it will be 13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with Foobar; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 =========================================================================== 21 */ 22 23 /***************************************************************************** 24 * name: be_interface.h 25 * 26 * desc: botlib interface 27 * 28 * $Archive: /source/code/botlib/be_interface.h $ 29 * 30 *****************************************************************************/ 31 32 //#define DEBUG //debug code 33 #define RANDOMIZE //randomize bot behaviour 34 35 //FIXME: get rid of this global structure 36 typedef struct botlib_globals_s 37 { 38 int botlibsetup; //true when the bot library has been setup 39 int maxentities; //maximum number of entities 40 int maxclients; //maximum number of clients 41 float time; //the global time 42 #ifdef DEBUG 43 qboolean debug; //true if debug is on 44 int goalareanum; 45 vec3_t goalorigin; 46 int runai; 47 #endif 48 } botlib_globals_t; 49 50 51 extern botlib_globals_t botlibglobals; 52 extern botlib_import_t botimport; 53 extern int bot_developer; //true if developer is on 54 55 // 56 int Sys_MilliSeconds(void); 57