doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Friends | List of all members
idAASFileLocal Class Reference

#include <AASFile_local.h>

Inheritance diagram for idAASFileLocal:
idAASFile

Public Member Functions

 idAASFileLocal (void)
 
virtual ~idAASFileLocal (void)
 
virtual idVec3 EdgeCenter (int edgeNum) const
 
virtual idVec3 FaceCenter (int faceNum) const
 
virtual idVec3 AreaCenter (int areaNum) const
 
virtual idBounds EdgeBounds (int edgeNum) const
 
virtual idBounds FaceBounds (int faceNum) const
 
virtual idBounds AreaBounds (int areaNum) const
 
virtual int PointAreaNum (const idVec3 &origin) const
 
virtual int PointReachableAreaNum (const idVec3 &origin, const idBounds &searchBounds, const int areaFlags, const int excludeTravelFlags) const
 
virtual int BoundsReachableAreaNum (const idBounds &bounds, const int areaFlags, const int excludeTravelFlags) const
 
virtual void PushPointIntoAreaNum (int areaNum, idVec3 &point) const
 
virtual bool Trace (aasTrace_t &trace, const idVec3 &start, const idVec3 &end) const
 
virtual void PrintInfo (void) const
 
bool Load (const idStr &fileName, unsigned int mapFileCRC)
 
bool Write (const idStr &fileName, unsigned int mapFileCRC)
 
int MemorySize (void) const
 
void ReportRoutingEfficiency (void) const
 
void Optimize (void)
 
void LinkReversedReachability (void)
 
void FinishAreas (void)
 
void Clear (void)
 
void DeleteReachabilities (void)
 
void DeleteClusters (void)
 
- Public Member Functions inherited from idAASFile
virtual ~idAASFile (void)
 
const char * GetName (void) const
 
unsigned int GetCRC (void) const
 
int GetNumPlanes (void) const
 
const idPlaneGetPlane (int index) const
 
int GetNumVertices (void) const
 
const aasVertex_tGetVertex (int index) const
 
int GetNumEdges (void) const
 
const aasEdge_tGetEdge (int index) const
 
int GetNumEdgeIndexes (void) const
 
const aasIndex_tGetEdgeIndex (int index) const
 
int GetNumFaces (void) const
 
const aasFace_tGetFace (int index) const
 
int GetNumFaceIndexes (void) const
 
const aasIndex_tGetFaceIndex (int index) const
 
int GetNumAreas (void) const
 
const aasArea_tGetArea (int index)
 
int GetNumNodes (void) const
 
const aasNode_tGetNode (int index) const
 
int GetNumPortals (void) const
 
const aasPortal_tGetPortal (int index)
 
int GetNumPortalIndexes (void) const
 
const aasIndex_tGetPortalIndex (int index) const
 
int GetNumClusters (void) const
 
const aasCluster_tGetCluster (int index) const
 
const idAASSettingsGetSettings (void) const
 
void SetPortalMaxTravelTime (int index, int time)
 
void SetAreaTravelFlag (int index, int flag)
 
void RemoveAreaTravelFlag (int index, int flag)
 

Private Member Functions

bool ParseIndex (idLexer &src, idList< aasIndex_t > &indexes)
 
bool ParsePlanes (idLexer &src)
 
bool ParseVertices (idLexer &src)
 
bool ParseEdges (idLexer &src)
 
bool ParseFaces (idLexer &src)
 
bool ParseReachabilities (idLexer &src, int areaNum)
 
bool ParseAreas (idLexer &src)
 
bool ParseNodes (idLexer &src)
 
bool ParsePortals (idLexer &src)
 
bool ParseClusters (idLexer &src)
 
int BoundsReachableAreaNum_r (int nodeNum, const idBounds &bounds, const int areaFlags, const int excludeTravelFlags) const
 
void MaxTreeDepth_r (int nodeNum, int &depth, int &maxDepth) const
 
int MaxTreeDepth (void) const
 
int AreaContentsTravelFlags (int areaNum) const
 
idVec3 AreaReachableGoal (int areaNum) const
 
int NumReachabilities (void) const
 

Friends

class idAASBuild
 
class idAASReach
 
class idAASCluster
 

Additional Inherited Members

- Protected Attributes inherited from idAASFile
idStr name
 
unsigned int crc
 
idPlaneSet planeList
 
idList< aasVertex_tvertices
 
idList< aasEdge_tedges
 
idList< aasIndex_tedgeIndex
 
idList< aasFace_tfaces
 
idList< aasIndex_tfaceIndex
 
idList< aasArea_tareas
 
idList< aasNode_tnodes
 
idList< aasPortal_tportals
 
idList< aasIndex_tportalIndex
 
idList< aasCluster_tclusters
 
idAASSettings settings
 

Detailed Description

Definition at line 40 of file AASFile_local.h.

Constructor & Destructor Documentation

idAASFileLocal::idAASFileLocal ( void  )

Definition at line 572 of file AASFile.cpp.

idAASFileLocal::~idAASFileLocal ( void  )
virtual

Definition at line 591 of file AASFile.cpp.

Member Function Documentation

idBounds idAASFileLocal::AreaBounds ( int  areaNum) const
virtual

Implements idAASFile.

Definition at line 183 of file AASFile_sample.cpp.

idVec3 idAASFileLocal::AreaCenter ( int  areaNum) const
virtual

Implements idAASFile.

Definition at line 83 of file AASFile_sample.cpp.

int idAASFileLocal::AreaContentsTravelFlags ( int  areaNum) const
private

Definition at line 566 of file AASFile_sample.cpp.

idVec3 idAASFileLocal::AreaReachableGoal ( int  areaNum) const
private

Definition at line 106 of file AASFile_sample.cpp.

int idAASFileLocal::BoundsReachableAreaNum ( const idBounds bounds,
const int  areaFlags,
const int  excludeTravelFlags 
) const
virtual

Implements idAASFile.

Definition at line 328 of file AASFile_sample.cpp.

int idAASFileLocal::BoundsReachableAreaNum_r ( int  nodeNum,
const idBounds bounds,
const int  areaFlags,
const int  excludeTravelFlags 
) const
private

Definition at line 292 of file AASFile_sample.cpp.

void idAASFileLocal::Clear ( void  )

Definition at line 608 of file AASFile.cpp.

void idAASFileLocal::DeleteClusters ( void  )

Definition at line 1299 of file AASFile.cpp.

void idAASFileLocal::DeleteReachabilities ( void  )

Definition at line 1280 of file AASFile.cpp.

idBounds idAASFileLocal::EdgeBounds ( int  edgeNum) const
virtual

Implements idAASFile.

Definition at line 146 of file AASFile_sample.cpp.

idVec3 idAASFileLocal::EdgeCenter ( int  edgeNum) const
virtual

Implements idAASFile.

Definition at line 47 of file AASFile_sample.cpp.

idBounds idAASFileLocal::FaceBounds ( int  faceNum) const
virtual

Implements idAASFile.

Definition at line 161 of file AASFile_sample.cpp.

idVec3 idAASFileLocal::FaceCenter ( int  faceNum) const
virtual

Implements idAASFile.

Definition at line 58 of file AASFile_sample.cpp.

void idAASFileLocal::FinishAreas ( void  )

Definition at line 1085 of file AASFile.cpp.

void idAASFileLocal::LinkReversedReachability ( void  )

Definition at line 941 of file AASFile.cpp.

bool idAASFileLocal::Load ( const idStr fileName,
unsigned int  mapFileCRC 
)

Definition at line 1099 of file AASFile.cpp.

int idAASFileLocal::MaxTreeDepth ( void  ) const
private

Definition at line 602 of file AASFile_sample.cpp.

void idAASFileLocal::MaxTreeDepth_r ( int  nodeNum,
int depth,
int maxDepth 
) const
private

Definition at line 578 of file AASFile_sample.cpp.

int idAASFileLocal::MemorySize ( void  ) const

Definition at line 1204 of file AASFile.cpp.

int idAASFileLocal::NumReachabilities ( void  ) const
private

Definition at line 1240 of file AASFile.cpp.

void idAASFileLocal::Optimize ( void  )

Definition at line 47 of file AASFile_optimize.cpp.

bool idAASFileLocal::ParseAreas ( idLexer src)
private

Definition at line 959 of file AASFile.cpp.

bool idAASFileLocal::ParseClusters ( idLexer src)
private

Definition at line 1055 of file AASFile.cpp.

bool idAASFileLocal::ParseEdges ( idLexer src)
private

Definition at line 843 of file AASFile.cpp.

bool idAASFileLocal::ParseFaces ( idLexer src)
private

Definition at line 871 of file AASFile.cpp.

bool idAASFileLocal::ParseIndex ( idLexer src,
idList< aasIndex_t > &  indexes 
)
private

Definition at line 759 of file AASFile.cpp.

bool idAASFileLocal::ParseNodes ( idLexer src)
private

Definition at line 995 of file AASFile.cpp.

bool idAASFileLocal::ParsePlanes ( idLexer src)
private

Definition at line 786 of file AASFile.cpp.

bool idAASFileLocal::ParsePortals ( idLexer src)
private

Definition at line 1024 of file AASFile.cpp.

bool idAASFileLocal::ParseReachabilities ( idLexer src,
int  areaNum 
)
private

Definition at line 903 of file AASFile.cpp.

bool idAASFileLocal::ParseVertices ( idLexer src)
private

Definition at line 816 of file AASFile.cpp.

int idAASFileLocal::PointAreaNum ( const idVec3 origin) const
virtual

Implements idAASFile.

Definition at line 203 of file AASFile_sample.cpp.

int idAASFileLocal::PointReachableAreaNum ( const idVec3 origin,
const idBounds searchBounds,
const int  areaFlags,
const int  excludeTravelFlags 
) const
virtual

Implements idAASFile.

Definition at line 229 of file AASFile_sample.cpp.

void idAASFileLocal::PrintInfo ( void  ) const
virtual

Implements idAASFile.

Definition at line 1228 of file AASFile.cpp.

void idAASFileLocal::PushPointIntoAreaNum ( int  areaNum,
idVec3 point 
) const
virtual

Implements idAASFile.

Definition at line 338 of file AASFile_sample.cpp.

void idAASFileLocal::ReportRoutingEfficiency ( void  ) const

Definition at line 1258 of file AASFile.cpp.

bool idAASFileLocal::Trace ( aasTrace_t trace,
const idVec3 start,
const idVec3 end 
) const
virtual

Implements idAASFile.

Definition at line 375 of file AASFile_sample.cpp.

bool idAASFileLocal::Write ( const idStr fileName,
unsigned int  mapFileCRC 
)

Definition at line 627 of file AASFile.cpp.

Friends And Related Function Documentation

friend class idAASBuild
friend

Definition at line 41 of file AASFile_local.h.

friend class idAASCluster
friend

Definition at line 43 of file AASFile_local.h.

friend class idAASReach
friend

Definition at line 42 of file AASFile_local.h.


The documentation for this class was generated from the following files: