Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

be_aas_entity.h

Go to the documentation of this file.
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_entity.h
00025  *
00026  * desc:        AAS
00027  *
00028  * $Archive: /source/code/botlib/be_aas_entity.h $
00029  *
00030  *****************************************************************************/
00031 
00032 #ifdef AASINTERN
00033 //invalidates all entity infos
00034 void AAS_InvalidateEntities(void);
00035 //unlink not updated entities
00036 void AAS_UnlinkInvalidEntities(void);
00037 //resets the entity AAS and BSP links (sets areas and leaves pointers to NULL)
00038 void AAS_ResetEntityLinks(void);
00039 //updates an entity
00040 int AAS_UpdateEntity(int ent, bot_entitystate_t *state);
00041 //gives the entity data used for collision detection
00042 void AAS_EntityBSPData(int entnum, bsp_entdata_t *entdata);
00043 #endif //AASINTERN
00044 
00045 //returns the size of the entity bounding box in mins and maxs
00046 void AAS_EntitySize(int entnum, vec3_t mins, vec3_t maxs);
00047 //returns the BSP model number of the entity
00048 int AAS_EntityModelNum(int entnum);
00049 //returns the origin of an entity with the given model number
00050 int AAS_OriginOfMoverWithModelNum(int modelnum, vec3_t origin);
00051 //returns the best reachable area the entity is situated in
00052 int AAS_BestReachableEntityArea(int entnum);
00053 //returns the info of the given entity
00054 void AAS_EntityInfo(int entnum, aas_entityinfo_t *info);
00055 //returns the next entity
00056 int AAS_NextEntity(int entnum);
00057 //returns the origin of the entity
00058 void AAS_EntityOrigin(int entnum, vec3_t origin);
00059 //returns the entity type
00060 int AAS_EntityType(int entnum);
00061 //returns the model index of the entity
00062 int AAS_EntityModelindex(int entnum);
00063 

Generated on Thu Aug 25 12:37:09 2005 for Quake III Arena by  doxygen 1.3.9.1