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_aas_main.h 00025 * 00026 * desc: AAS 00027 * 00028 * $Archive: /source/code/botlib/be_aas_main.h $ 00029 * 00030 *****************************************************************************/ 00031 00032 #ifdef AASINTERN 00033 00034 extern aas_t aasworld; 00035 00036 //AAS error message 00037 void QDECL AAS_Error(char *fmt, ...); 00038 //set AAS initialized 00039 void AAS_SetInitialized(void); 00040 //setup AAS with the given number of entities and clients 00041 int AAS_Setup(void); 00042 //shutdown AAS 00043 void AAS_Shutdown(void); 00044 //start a new map 00045 int AAS_LoadMap(const char *mapname); 00046 //start a new time frame 00047 int AAS_StartFrame(float time); 00048 #endif //AASINTERN 00049 00050 //returns true if AAS is initialized 00051 int AAS_Initialized(void); 00052 //returns true if the AAS file is loaded 00053 int AAS_Loaded(void); 00054 //returns the model name from the given index 00055 char *AAS_ModelFromIndex(int index); 00056 //returns the index from the given model name 00057 int AAS_IndexFromModel(char *modelname); 00058 //returns the current time 00059 float AAS_Time(void); 00060 // 00061 void AAS_ProjectPointOntoVector( vec3_t point, vec3_t vStart, vec3_t vEnd, vec3_t vProj );
1.3.9.1