| 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 Quake III Arena source code; 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 | // g_public.h -- game module information visible to server |
| 25 | |
| 26 | #define GAME_API_VERSION 8 |
| 27 | |
| 28 | // entity->svFlags |
| 29 | // the server does not know how to interpret most of the values |
| 30 | // in entityStates (level eType), so the game must explicitly flag |
| 31 | // special server behaviors |
| 32 | #define SVF_NOCLIENT 0x00000001 // don't send entity to clients, even if it has effects |
| 33 | |
| 34 | // TTimo |
| 35 | // https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=551 |
| 36 | #define SVF_CLIENTMASK 0x00000002 |
| 37 | |
| 38 | #define SVF_BOT 0x00000008 // set if the entity is a bot |
| 39 | #define SVF_BROADCAST 0x00000020 // send to all connected clients |
| 40 | #define SVF_PORTAL 0x00000040 // merge a second pvs at origin2 into snapshots |
| 41 | #define SVF_USE_CURRENT_ORIGIN 0x00000080 // entity->r.currentOrigin instead of entity->s.origin |
| 42 | // for link position (missiles and movers) |
| 43 | #define SVF_SINGLECLIENT 0x00000100 // only send to a single client (entityShared_t->singleClient) |
| 44 | #define SVF_NOSERVERINFO 0x00000200 // don't send CS_SERVERINFO updates to this client |
| 45 | // so that it can be updated for ping tools without |
| 46 | // lagging clients |
| 47 | #define SVF_CAPSULE 0x00000400 // use capsule for collision detection instead of bbox |
| 48 | #define SVF_NOTSINGLECLIENT 0x00000800 // send entity to everyone but one client |
| 49 | // (entityShared_t->singleClient) |
| 50 | |
| 51 | |
| 52 | |
| 53 | //=============================================================== |
| 54 | |
| 55 | |
| 56 | typedef struct { |
| 57 | entityState_t unused; // apparently this field was put here accidentally |
| 58 | // (and is kept only for compatibility, as a struct pad) |
| 59 | |
| 60 | qboolean linked; // qfalse if not in any good cluster |
| 61 | int linkcount; |
| 62 | |
| 63 | int svFlags; // SVF_NOCLIENT, SVF_BROADCAST, etc |
| 64 | |
| 65 | // only send to this client when SVF_SINGLECLIENT is set |
| 66 | // if SVF_CLIENTMASK is set, use bitmask for clients to send to (maxclients must be <= 32, up to the mod to enforce this) |
| 67 | int singleClient; |
| 68 | |
| 69 | qboolean bmodel; // if false, assume an explicit mins / maxs bounding box |
| 70 | // only set by trap_SetBrushModel |
| 71 | vec3_t mins, maxs; |
| 72 | int contents; // CONTENTS_TRIGGER, CONTENTS_SOLID, CONTENTS_BODY, etc |
| 73 | // a non-solid entity should set to 0 |
| 74 | |
| 75 | vec3_t absmin, absmax; // derived from mins/maxs and origin + rotation |
| 76 | |
| 77 | // currentOrigin will be used for all collision detection and world linking. |
| 78 | // it will not necessarily be the same as the trajectory evaluation for the current |
| 79 | // time, because each entity must be moved one at a time after time is advanced |
| 80 | // to avoid simultanious collision issues |
| 81 | vec3_t currentOrigin; |
| 82 | vec3_t currentAngles; |
| 83 | |
| 84 | // when a trace call is made and passEntityNum != ENTITYNUM_NONE, |
| 85 | // an ent will be excluded from testing if: |
| 86 | // ent->s.number == passEntityNum (don't interact with self) |
| 87 | // ent->r.ownerNum == passEntityNum (don't interact with your own missiles) |
| 88 | // entity[ent->r.ownerNum].r.ownerNum == passEntityNum (don't interact with other missiles from owner) |
| 89 | int ownerNum; |
| 90 | } entityShared_t; |
| 91 | |
| 92 | |
| 93 | |
| 94 | // the server looks at a sharedEntity, which is the start of the game's gentity_t structure |
| 95 | typedef struct { |
| 96 | entityState_t s; // communicated by server to clients |
| 97 | entityShared_t r; // shared by both the server system and game |
| 98 | } sharedEntity_t; |
| 99 | |
| 100 | |
| 101 | |
| 102 | //=============================================================== |
| 103 | |
| 104 | // |
| 105 | // system traps provided by the main engine |
| 106 | // |
| 107 | typedef enum { |
| 108 | //============== general Quake services ================== |
| 109 | |
| 110 | G_PRINT, // ( const char *string ); |
| 111 | // print message on the local console |
| 112 | |
| 113 | G_ERROR, // ( const char *string ); |
| 114 | // abort the game |
| 115 | |
| 116 | G_MILLISECONDS, // ( void ); |
| 117 | // get current time for profiling reasons |
| 118 | // this should NOT be used for any game related tasks, |
| 119 | // because it is not journaled |
| 120 | |
| 121 | // console variable interaction |
| 122 | G_CVAR_REGISTER, // ( vmCvar_t *vmCvar, const char *varName, const char *defaultValue, int flags ); |
| 123 | G_CVAR_UPDATE, // ( vmCvar_t *vmCvar ); |
| 124 | G_CVAR_SET, // ( const char *var_name, const char *value ); |
| 125 | G_CVAR_VARIABLE_INTEGER_VALUE, // ( const char *var_name ); |
| 126 | |
| 127 | G_CVAR_VARIABLE_STRING_BUFFER, // ( const char *var_name, char *buffer, int bufsize ); |
| 128 | |
| 129 | G_ARGC, // ( void ); |
| 130 | // ClientCommand and ServerCommand parameter access |
| 131 | |
| 132 | G_ARGV, // ( int n, char *buffer, int bufferLength ); |
| 133 | |
| 134 | G_FS_FOPEN_FILE, // ( const char *qpath, fileHandle_t *file, fsMode_t mode ); |
| 135 | G_FS_READ, // ( void *buffer, int len, fileHandle_t f ); |
| 136 | G_FS_WRITE, // ( const void *buffer, int len, fileHandle_t f ); |
| 137 | G_FS_FCLOSE_FILE, // ( fileHandle_t f ); |
| 138 | |
| 139 | G_SEND_CONSOLE_COMMAND, // ( const char *text ); |
| 140 | // add commands to the console as if they were typed in |
| 141 | // for map changing, etc |
| 142 | |
| 143 | |
| 144 | //=========== server specific functionality ============= |
| 145 | |
| 146 | G_LOCATE_GAME_DATA, // ( gentity_t *gEnts, int numGEntities, int sizeofGEntity_t, |
| 147 | // playerState_t *clients, int sizeofGameClient ); |
| 148 | // the game needs to let the server system know where and how big the gentities |
| 149 | // are, so it can look at them directly without going through an interface |
| 150 | |
| 151 | G_DROP_CLIENT, // ( int clientNum, const char *reason ); |
| 152 | // kick a client off the server with a message |
| 153 | |
| 154 | G_SEND_SERVER_COMMAND, // ( int clientNum, const char *fmt, ... ); |
| 155 | // reliably sends a command string to be interpreted by the given |
| 156 | // client. If clientNum is -1, it will be sent to all clients |
| 157 | |
| 158 | G_SET_CONFIGSTRING, // ( int num, const char *string ); |
| 159 | // config strings hold all the index strings, and various other information |
| 160 | // that is reliably communicated to all clients |
| 161 | // All of the current configstrings are sent to clients when |
| 162 | // they connect, and changes are sent to all connected clients. |
| 163 | // All confgstrings are cleared at each level start. |
| 164 | |
| 165 | G_GET_CONFIGSTRING, // ( int num, char *buffer, int bufferSize ); |
| 166 | |
| 167 | G_GET_USERINFO, // ( int num, char *buffer, int bufferSize ); |
| 168 | // userinfo strings are maintained by the server system, so they |
| 169 | // are persistant across level loads, while all other game visible |
| 170 | // data is completely reset |
| 171 | |
| 172 | G_SET_USERINFO, // ( int num, const char *buffer ); |
| 173 | |
| 174 | G_GET_SERVERINFO, // ( char *buffer, int bufferSize ); |
| 175 | // the serverinfo info string has all the cvars visible to server browsers |
| 176 | |
| 177 | G_SET_BRUSH_MODEL, // ( gentity_t *ent, const char *name ); |
| 178 | // sets mins and maxs based on the brushmodel name |
| 179 | |
| 180 | G_TRACE, // ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask ); |
| 181 | // collision detection against all linked entities |
| 182 | |
| 183 | G_POINT_CONTENTS, // ( const vec3_t point, int passEntityNum ); |
| 184 | // point contents against all linked entities |
| 185 | |
| 186 | G_IN_PVS, // ( const vec3_t p1, const vec3_t p2 ); |
| 187 | |
| 188 | G_IN_PVS_IGNORE_PORTALS, // ( const vec3_t p1, const vec3_t p2 ); |
| 189 | |
| 190 | G_ADJUST_AREA_PORTAL_STATE, // ( gentity_t *ent, qboolean open ); |
| 191 | |
| 192 | G_AREAS_CONNECTED, // ( int area1, int area2 ); |
| 193 | |
| 194 | G_LINKENTITY, // ( gentity_t *ent ); |
| 195 | // an entity will never be sent to a client or used for collision |
| 196 | // if it is not passed to linkentity. If the size, position, or |
| 197 | // solidity changes, it must be relinked. |
| 198 | |
| 199 | G_UNLINKENTITY, // ( gentity_t *ent ); |
| 200 | // call before removing an interactive entity |
| 201 | |
| 202 | G_ENTITIES_IN_BOX, // ( const vec3_t mins, const vec3_t maxs, gentity_t **list, int maxcount ); |
| 203 | // EntitiesInBox will return brush models based on their bounding box, |
| 204 | // so exact determination must still be done with EntityContact |
| 205 | |
| 206 | G_ENTITY_CONTACT, // ( const vec3_t mins, const vec3_t maxs, const gentity_t *ent ); |
| 207 | // perform an exact check against inline brush models of non-square shape |
| 208 | |
| 209 | // access for bots to get and free a server client (FIXME?) |
| 210 | G_BOT_ALLOCATE_CLIENT, // ( void ); |
| 211 | |
| 212 | G_BOT_FREE_CLIENT, // ( int clientNum ); |
| 213 | |
| 214 | G_GET_USERCMD, // ( int clientNum, usercmd_t *cmd ) |
| 215 | |
| 216 | G_GET_ENTITY_TOKEN, // qboolean ( char *buffer, int bufferSize ) |
| 217 | // Retrieves the next string token from the entity spawn text, returning |
| 218 | // false when all tokens have been parsed. |
| 219 | // This should only be done at GAME_INIT time. |
| 220 | |
| 221 | G_FS_GETFILELIST, |
| 222 | G_DEBUG_POLYGON_CREATE, |
| 223 | G_DEBUG_POLYGON_DELETE, |
| 224 | G_REAL_TIME, |
| 225 | G_SNAPVECTOR, |
| 226 | |
| 227 | G_TRACECAPSULE, // ( trace_t *results, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int passEntityNum, int contentmask ); |
| 228 | G_ENTITY_CONTACTCAPSULE, // ( const vec3_t mins, const vec3_t maxs, const gentity_t *ent ); |
| 229 | |
| 230 | // 1.32 |
| 231 | G_FS_SEEK, |
| 232 | |
| 233 | BOTLIB_SETUP = 200, // ( void ); |
| 234 | BOTLIB_SHUTDOWN, // ( void ); |
| 235 | BOTLIB_LIBVAR_SET, |
| 236 | BOTLIB_LIBVAR_GET, |
| 237 | BOTLIB_PC_ADD_GLOBAL_DEFINE, |
| 238 | BOTLIB_START_FRAME, |
| 239 | BOTLIB_LOAD_MAP, |
| 240 | BOTLIB_UPDATENTITY, |
| 241 | BOTLIB_TEST, |
| 242 | |
| 243 | BOTLIB_GET_SNAPSHOT_ENTITY, // ( int client, int ent ); |
| 244 | BOTLIB_GET_CONSOLE_MESSAGE, // ( int client, char *message, int size ); |
| 245 | BOTLIB_USER_COMMAND, // ( int client, usercmd_t *ucmd ); |
| 246 | |
| 247 | BOTLIB_AAS_ENABLE_ROUTING_AREA = 300, |
| 248 | BOTLIB_AAS_BBOX_AREAS, |
| 249 | BOTLIB_AAS_AREA_INFO, |
| 250 | BOTLIB_AAS_ENTITY_INFO, |
| 251 | |
| 252 | BOTLIB_AAS_INITIALIZED, |
| 253 | BOTLIB_AAS_PRESENCE_TYPE_BOUNDING_BOX, |
| 254 | BOTLIB_AAS_TIME, |
| 255 | |
| 256 | BOTLIB_AAS_POINT_AREA_NUM, |
| 257 | BOTLIB_AAS_TRACE_AREAS, |
| 258 | |
| 259 | BOTLIB_AAS_POINT_CONTENTS, |
| 260 | BOTLIB_AAS_NEXT_BSP_ENTITY, |
| 261 | BOTLIB_AAS_VALUE_FOR_BSP_EPAIR_KEY, |
| 262 | BOTLIB_AAS_VECTOR_FOR_BSP_EPAIR_KEY, |
| 263 | BOTLIB_AAS_FLOAT_FOR_BSP_EPAIR_KEY, |
| 264 | BOTLIB_AAS_INT_FOR_BSP_EPAIR_KEY, |
| 265 | |
| 266 | BOTLIB_AAS_AREA_REACHABILITY, |
| 267 | |
| 268 | BOTLIB_AAS_AREA_TRAVEL_TIME_TO_GOAL_AREA, |
| 269 | |
| 270 | BOTLIB_AAS_SWIMMING, |
| 271 | BOTLIB_AAS_PREDICT_CLIENT_MOVEMENT, |
| 272 | |
| 273 | BOTLIB_EA_SAY = 400, |
| 274 | BOTLIB_EA_SAY_TEAM, |
| 275 | BOTLIB_EA_COMMAND, |
| 276 | |
| 277 | BOTLIB_EA_ACTION, |
| 278 | BOTLIB_EA_GESTURE, |
| 279 | BOTLIB_EA_TALK, |
| 280 | BOTLIB_EA_ATTACK, |
| 281 | BOTLIB_EA_USE, |
| 282 | BOTLIB_EA_RESPAWN, |
| 283 | BOTLIB_EA_CROUCH, |
| 284 | BOTLIB_EA_MOVE_UP, |
| 285 | BOTLIB_EA_MOVE_DOWN, |
| 286 | BOTLIB_EA_MOVE_FORWARD, |
| 287 | BOTLIB_EA_MOVE_BACK, |
| 288 | BOTLIB_EA_MOVE_LEFT, |
| 289 | BOTLIB_EA_MOVE_RIGHT, |
| 290 | |
| 291 | BOTLIB_EA_SELECT_WEAPON, |
| 292 | BOTLIB_EA_JUMP, |
| 293 | BOTLIB_EA_DELAYED_JUMP, |
| 294 | BOTLIB_EA_MOVE, |
| 295 | BOTLIB_EA_VIEW, |
| 296 | |
| 297 | BOTLIB_EA_END_REGULAR, |
| 298 | BOTLIB_EA_GET_INPUT, |
| 299 | BOTLIB_EA_RESET_INPUT, |
| 300 | |
| 301 | |
| 302 | BOTLIB_AI_LOAD_CHARACTER = 500, |
| 303 | BOTLIB_AI_FREE_CHARACTER, |
| 304 | BOTLIB_AI_CHARACTERISTIC_FLOAT, |
| 305 | BOTLIB_AI_CHARACTERISTIC_BFLOAT, |
| 306 | BOTLIB_AI_CHARACTERISTIC_INTEGER, |
| 307 | BOTLIB_AI_CHARACTERISTIC_BINTEGER, |
| 308 | BOTLIB_AI_CHARACTERISTIC_STRING, |
| 309 | |
| 310 | BOTLIB_AI_ALLOC_CHAT_STATE, |
| 311 | BOTLIB_AI_FREE_CHAT_STATE, |
| 312 | BOTLIB_AI_QUEUE_CONSOLE_MESSAGE, |
| 313 | BOTLIB_AI_REMOVE_CONSOLE_MESSAGE, |
| 314 | BOTLIB_AI_NEXT_CONSOLE_MESSAGE, |
| 315 | BOTLIB_AI_NUM_CONSOLE_MESSAGE, |
| 316 | BOTLIB_AI_INITIAL_CHAT, |
| 317 | BOTLIB_AI_REPLY_CHAT, |
| 318 | BOTLIB_AI_CHAT_LENGTH, |
| 319 | BOTLIB_AI_ENTER_CHAT, |
| 320 | BOTLIB_AI_STRING_CONTAINS, |
| 321 | BOTLIB_AI_FIND_MATCH, |
| 322 | BOTLIB_AI_MATCH_VARIABLE, |
| 323 | BOTLIB_AI_UNIFY_WHITE_SPACES, |
| 324 | BOTLIB_AI_REPLACE_SYNONYMS, |
| 325 | BOTLIB_AI_LOAD_CHAT_FILE, |
| 326 | BOTLIB_AI_SET_CHAT_GENDER, |
| 327 | BOTLIB_AI_SET_CHAT_NAME, |
| 328 | |
| 329 | BOTLIB_AI_RESET_GOAL_STATE, |
| 330 | BOTLIB_AI_RESET_AVOID_GOALS, |
| 331 | BOTLIB_AI_PUSH_GOAL, |
| 332 | BOTLIB_AI_POP_GOAL, |
| 333 | BOTLIB_AI_EMPTY_GOAL_STACK, |
| 334 | BOTLIB_AI_DUMP_AVOID_GOALS, |
| 335 | BOTLIB_AI_DUMP_GOAL_STACK, |
| 336 | BOTLIB_AI_GOAL_NAME, |
| 337 | BOTLIB_AI_GET_TOP_GOAL, |
| 338 | BOTLIB_AI_GET_SECOND_GOAL, |
| 339 | BOTLIB_AI_CHOOSE_LTG_ITEM, |
| 340 | BOTLIB_AI_CHOOSE_NBG_ITEM, |
| 341 | BOTLIB_AI_TOUCHING_GOAL, |
| 342 | BOTLIB_AI_ITEM_GOAL_IN_VIS_BUT_NOT_VISIBLE, |
| 343 | BOTLIB_AI_GET_LEVEL_ITEM_GOAL, |
| 344 | BOTLIB_AI_AVOID_GOAL_TIME, |
| 345 | BOTLIB_AI_INIT_LEVEL_ITEMS, |
| 346 | BOTLIB_AI_UPDATE_ENTITY_ITEMS, |
| 347 | BOTLIB_AI_LOAD_ITEM_WEIGHTS, |
| 348 | BOTLIB_AI_FREE_ITEM_WEIGHTS, |
| 349 | BOTLIB_AI_SAVE_GOAL_FUZZY_LOGIC, |
| 350 | BOTLIB_AI_ALLOC_GOAL_STATE, |
| 351 | BOTLIB_AI_FREE_GOAL_STATE, |
| 352 | |
| 353 | BOTLIB_AI_RESET_MOVE_STATE, |
| 354 | BOTLIB_AI_MOVE_TO_GOAL, |
| 355 | BOTLIB_AI_MOVE_IN_DIRECTION, |
| 356 | BOTLIB_AI_RESET_AVOID_REACH, |
| 357 | BOTLIB_AI_RESET_LAST_AVOID_REACH, |
| 358 | BOTLIB_AI_REACHABILITY_AREA, |
| 359 | BOTLIB_AI_MOVEMENT_VIEW_TARGET, |
| 360 | BOTLIB_AI_ALLOC_MOVE_STATE, |
| 361 | BOTLIB_AI_FREE_MOVE_STATE, |
| 362 | BOTLIB_AI_INIT_MOVE_STATE, |
| 363 | |
| 364 | BOTLIB_AI_CHOOSE_BEST_FIGHT_WEAPON, |
| 365 | BOTLIB_AI_GET_WEAPON_INFO, |
| 366 | BOTLIB_AI_LOAD_WEAPON_WEIGHTS, |
| 367 | BOTLIB_AI_ALLOC_WEAPON_STATE, |
| 368 | BOTLIB_AI_FREE_WEAPON_STATE, |
| 369 | BOTLIB_AI_RESET_WEAPON_STATE, |
| 370 | |
| 371 | BOTLIB_AI_GENETIC_PARENTS_AND_CHILD_SELECTION, |
| 372 | BOTLIB_AI_INTERBREED_GOAL_FUZZY_LOGIC, |
| 373 | BOTLIB_AI_MUTATE_GOAL_FUZZY_LOGIC, |
| 374 | BOTLIB_AI_GET_NEXT_CAMP_SPOT_GOAL, |
| 375 | BOTLIB_AI_GET_MAP_LOCATION_GOAL, |
| 376 | BOTLIB_AI_NUM_INITIAL_CHATS, |
| 377 | BOTLIB_AI_GET_CHAT_MESSAGE, |
| 378 | BOTLIB_AI_REMOVE_FROM_AVOID_GOALS, |
| 379 | BOTLIB_AI_PREDICT_VISIBLE_POSITION, |
| 380 | |
| 381 | BOTLIB_AI_SET_AVOID_GOAL_TIME, |
| 382 | BOTLIB_AI_ADD_AVOID_SPOT, |
| 383 | BOTLIB_AAS_ALTERNATIVE_ROUTE_GOAL, |
| 384 | BOTLIB_AAS_PREDICT_ROUTE, |
| 385 | BOTLIB_AAS_POINT_REACHABILITY_AREA_INDEX, |
| 386 | |
| 387 | BOTLIB_PC_LOAD_SOURCE, |
| 388 | BOTLIB_PC_FREE_SOURCE, |
| 389 | BOTLIB_PC_READ_TOKEN, |
| 390 | BOTLIB_PC_SOURCE_FILE_AND_LINE |
| 391 | |
| 392 | } gameImport_t; |
| 393 | |
| 394 | |
| 395 | // |
| 396 | // functions exported by the game subsystem |
| 397 | // |
| 398 | typedef enum { |
| 399 | GAME_INIT, // ( int levelTime, int randomSeed, int restart ); |
| 400 | // init and shutdown will be called every single level |
| 401 | // The game should call G_GET_ENTITY_TOKEN to parse through all the |
| 402 | // entity configuration text and spawn gentities. |
| 403 | |
| 404 | GAME_SHUTDOWN, // (void); |
| 405 | |
| 406 | GAME_CLIENT_CONNECT, // ( int clientNum, qboolean firstTime, qboolean isBot ); |
| 407 | // return NULL if the client is allowed to connect, otherwise return |
| 408 | // a text string with the reason for denial |
| 409 | |
| 410 | GAME_CLIENT_BEGIN, // ( int clientNum ); |
| 411 | |
| 412 | GAME_CLIENT_USERINFO_CHANGED, // ( int clientNum ); |
| 413 | |
| 414 | GAME_CLIENT_DISCONNECT, // ( int clientNum ); |
| 415 | |
| 416 | GAME_CLIENT_COMMAND, // ( int clientNum ); |
| 417 | |
| 418 | GAME_CLIENT_THINK, // ( int clientNum ); |
| 419 | |
| 420 | GAME_RUN_FRAME, // ( int levelTime ); |
| 421 | |
| 422 | GAME_CONSOLE_COMMAND, // ( void ); |
| 423 | // ConsoleCommand will be called when a command has been issued |
| 424 | // that is not recognized as a builtin function. |
| 425 | // The game can issue trap_argc() / trap_argv() commands to get the command |
| 426 | // and parameters. Return qfalse if the game doesn't recognize it as a command. |
| 427 | |
| 428 | BOTAI_START_FRAME // ( int time ); |
| 429 | } gameExport_t; |
| 430 |