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

be_aas_reach.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_reach.h
00025  *
00026  * desc:        AAS
00027  *
00028  * $Archive: /source/code/botlib/be_aas_reach.h $
00029  *
00030  *****************************************************************************/
00031 
00032 #ifdef AASINTERN
00033 //initialize calculating the reachabilities
00034 void AAS_InitReachability(void);
00035 //continue calculating the reachabilities
00036 int AAS_ContinueInitReachability(float time);
00037 //
00038 int AAS_BestReachableLinkArea(aas_link_t *areas);
00039 #endif //AASINTERN
00040 
00041 //returns true if the are has reachabilities to other areas
00042 int AAS_AreaReachability(int areanum);
00043 //returns the best reachable area and goal origin for a bounding box at the given origin
00044 int AAS_BestReachableArea(vec3_t origin, vec3_t mins, vec3_t maxs, vec3_t goalorigin);
00045 //returns the best jumppad area from which the bbox at origin is reachable
00046 int AAS_BestReachableFromJumpPadArea(vec3_t origin, vec3_t mins, vec3_t maxs);
00047 //returns the next reachability using the given model
00048 int AAS_NextModelReachability(int num, int modelnum);
00049 //returns the total area of the ground faces of the given area
00050 float AAS_AreaGroundFaceArea(int areanum);
00051 //returns true if the area is crouch only
00052 int AAS_AreaCrouch(int areanum);
00053 //returns true if a player can swim in this area
00054 int AAS_AreaSwim(int areanum);
00055 //returns true if the area is filled with a liquid
00056 int AAS_AreaLiquid(int areanum);
00057 //returns true if the area contains lava
00058 int AAS_AreaLava(int areanum);
00059 //returns true if the area contains slime
00060 int AAS_AreaSlime(int areanum);
00061 //returns true if the area has one or more ground faces
00062 int AAS_AreaGrounded(int areanum);
00063 //returns true if the area has one or more ladder faces
00064 int AAS_AreaLadder(int areanum);
00065 //returns true if the area is a jump pad
00066 int AAS_AreaJumpPad(int areanum);
00067 //returns true if the area is donotenter
00068 int AAS_AreaDoNotEnter(int areanum);

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