70 virtual bool TestArea(
const class idAAS *aas,
int areaNum ) = 0;
78 virtual ~idAAS(
void ) = 0;
80 virtual bool Init(
const idStr &mapName,
unsigned int mapFileCRC ) = 0;
82 virtual void Stats(
void )
const = 0;
98 virtual int AreaFlags(
int areaNum )
const = 0;
106 virtual int GetWallEdges(
int areaNum,
const idBounds &bounds,
int travelFlags,
int *edges,
int maxEdges )
const = 0;
108 virtual void SortWallEdges(
int *edges,
int numEdges )
const = 0;
128 virtual bool WalkPathValid(
int areaNum,
const idVec3 &origin,
int goalAreaNum,
const idVec3 &goalOrigin,
int travelFlags,
idVec3 &endPos,
int &endAreaNum )
const = 0;
132 virtual bool FlyPathValid(
int areaNum,
const idVec3 &origin,
int goalAreaNum,
const idVec3 &goalOrigin,
int travelFlags,
idVec3 &endPos,
int &endAreaNum )
const = 0;
virtual idVec3 AreaCenter(int areaNum) const =0
virtual bool Init(const idStr &mapName, unsigned int mapFileCRC)=0
virtual bool SetAreaState(const idBounds &bounds, const int areaContents, bool disabled)=0
virtual int BoundsReachableAreaNum(const idBounds &bounds, const int areaFlags) const =0
virtual void RemoveAllObstacles(void)=0
virtual int PointAreaNum(const idVec3 &origin) const =0
virtual bool WalkPathValid(int areaNum, const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin, int travelFlags, idVec3 &endPos, int &endAreaNum) const =0
virtual aasHandle_t AddObstacle(const idBounds &bounds)=0
virtual bool FindNearestGoal(aasGoal_t &goal, int areaNum, const idVec3 origin, const idVec3 &target, int travelFlags, aasObstacle_t *obstacles, int numObstacles, idAASCallback &callback) const =0
virtual int AreaFlags(int areaNum) const =0
virtual int PointReachableAreaNum(const idVec3 &origin, const idBounds &bounds, const int areaFlags) const =0
virtual int GetWallEdges(int areaNum, const idBounds &bounds, int travelFlags, int *edges, int maxEdges) const =0
virtual void RemoveObstacle(const aasHandle_t handle)=0
virtual void GetEdge(int edgeNum, idVec3 &start, idVec3 &end) const =0
struct aasPath_s aasPath_t
virtual void ShowWalkPath(const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin) const =0
virtual bool RouteToGoalArea(int areaNum, const idVec3 origin, int goalAreaNum, int travelFlags, int &travelTime, idReachability **reach) const =0
const idReachability * reachability
virtual int AreaTravelFlags(int areaNum) const =0
virtual bool FlyPathToGoal(aasPath_t &path, int areaNum, const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin, int travelFlags) const =0
virtual bool Trace(aasTrace_t &trace, const idVec3 &start, const idVec3 &end) const =0
virtual bool WalkPathToGoal(aasPath_t &path, int areaNum, const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin, int travelFlags) const =0
virtual int TravelTimeToGoalArea(int areaNum, const idVec3 &origin, int goalAreaNum, int travelFlags) const =0
virtual bool FlyPathValid(int areaNum, const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin, int travelFlags, idVec3 &endPos, int &endAreaNum) const =0
virtual const idPlane & GetPlane(int planeNum) const =0
virtual void GetEdgeVertexNumbers(int edgeNum, int verts[2]) const =0
struct aasGoal_s aasGoal_t
virtual void ShowFlyPath(const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin) const =0
virtual void SortWallEdges(int *edges, int numEdges) const =0
virtual const idAASSettings * GetSettings(void) const =0
static idAAS * Alloc(void)
virtual void PushPointIntoAreaNum(int areaNum, idVec3 &origin) const =0
virtual bool TestArea(const class idAAS *aas, int areaNum)=0
virtual void Test(const idVec3 &origin)=0
virtual void Stats(void) const =0
struct aasObstacle_s aasObstacle_t