00001 /* 00002 =========================================================================== 00003 Copyright (C) 1999-2005 Id Software, Inc. 00004 00005 This file is part of Quake III Arena source code. 00006 00007 Quake III Arena source code is free software; you can redistribute it 00008 and/or modify it under the terms of the GNU General Public License as 00009 published by the Free Software Foundation; either version 2 of the License, 00010 or (at your option) any later version. 00011 00012 Quake III Arena source code is distributed in the hope that it will be 00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Foobar; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 =========================================================================== 00021 */ 00022 00023 /***************************************************************************** 00024 * name: be_interface.h 00025 * 00026 * desc: botlib interface 00027 * 00028 * $Archive: /source/code/botlib/be_interface.h $ 00029 * 00030 *****************************************************************************/ 00031 00032 //#define DEBUG //debug code 00033 #define RANDOMIZE //randomize bot behaviour 00034 00035 //FIXME: get rid of this global structure 00036 typedef struct botlib_globals_s 00037 { 00038 int botlibsetup; //true when the bot library has been setup 00039 int maxentities; //maximum number of entities 00040 int maxclients; //maximum number of clients 00041 float time; //the global time 00042 #ifdef DEBUG 00043 qboolean debug; //true if debug is on 00044 int goalareanum; 00045 vec3_t goalorigin; 00046 int runai; 00047 #endif 00048 } botlib_globals_t; 00049 00050 00051 extern botlib_globals_t botlibglobals; 00052 extern botlib_import_t botimport; 00053 extern int bot_developer; //true if developer is on 00054 00055 // 00056 int Sys_MilliSeconds(void); 00057
1.3.9.1