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

#include <AASFile.h>

Public Member Functions

 idAASSettings (void)
 
bool FromFile (const idStr &fileName)
 
bool FromParser (idLexer &src)
 
bool FromDict (const char *name, const idDict *dict)
 
bool WriteToFile (idFile *fp) const
 
bool ValidForBounds (const idBounds &bounds) const
 
bool ValidEntity (const char *classname) const
 

Public Attributes

int numBoundingBoxes
 
idBounds boundingBoxes [MAX_AAS_BOUNDING_BOXES]
 
bool usePatches
 
bool writeBrushMap
 
bool playerFlood
 
bool noOptimize
 
bool allowSwimReachabilities
 
bool allowFlyReachabilities
 
idStr fileExtension
 
idVec3 gravity
 
idVec3 gravityDir
 
idVec3 invGravityDir
 
float gravityValue
 
float maxStepHeight
 
float maxBarrierHeight
 
float maxWaterJumpHeight
 
float maxFallHeight
 
float minFloorCos
 
int tt_barrierJump
 
int tt_startCrouching
 
int tt_waterJump
 
int tt_startWalkOffLedge
 

Private Member Functions

bool ParseBool (idLexer &src, bool &b)
 
bool ParseInt (idLexer &src, int &i)
 
bool ParseFloat (idLexer &src, float &f)
 
bool ParseVector (idLexer &src, idVec3 &vec)
 
bool ParseBBoxes (idLexer &src)
 

Detailed Description

Definition at line 211 of file AASFile.h.

Constructor & Destructor Documentation

idAASSettings::idAASSettings ( void  )

Definition at line 145 of file AASFile.cpp.

Member Function Documentation

bool idAASSettings::FromDict ( const char *  name,
const idDict dict 
)

Definition at line 379 of file AASFile.cpp.

bool idAASSettings::FromFile ( const idStr fileName)

Definition at line 348 of file AASFile.cpp.

bool idAASSettings::FromParser ( idLexer src)

Definition at line 258 of file AASFile.cpp.

bool idAASSettings::ParseBBoxes ( idLexer src)
private

Definition at line 228 of file AASFile.cpp.

bool idAASSettings::ParseBool ( idLexer src,
bool b 
)
private

Definition at line 177 of file AASFile.cpp.

bool idAASSettings::ParseFloat ( idLexer src,
float f 
)
private

Definition at line 203 of file AASFile.cpp.

bool idAASSettings::ParseInt ( idLexer src,
int i 
)
private

Definition at line 190 of file AASFile.cpp.

bool idAASSettings::ParseVector ( idLexer src,
idVec3 vec 
)
private

Definition at line 216 of file AASFile.cpp.

bool idAASSettings::ValidEntity ( const char *  classname) const

Definition at line 522 of file AASFile.cpp.

bool idAASSettings::ValidForBounds ( const idBounds bounds) const

Definition at line 503 of file AASFile.cpp.

bool idAASSettings::WriteToFile ( idFile fp) const

Definition at line 468 of file AASFile.cpp.

Member Data Documentation

bool idAASSettings::allowFlyReachabilities

Definition at line 221 of file AASFile.h.

bool idAASSettings::allowSwimReachabilities

Definition at line 220 of file AASFile.h.

idBounds idAASSettings::boundingBoxes[MAX_AAS_BOUNDING_BOXES]

Definition at line 215 of file AASFile.h.

idStr idAASSettings::fileExtension

Definition at line 222 of file AASFile.h.

idVec3 idAASSettings::gravity

Definition at line 224 of file AASFile.h.

idVec3 idAASSettings::gravityDir

Definition at line 225 of file AASFile.h.

float idAASSettings::gravityValue

Definition at line 227 of file AASFile.h.

idVec3 idAASSettings::invGravityDir

Definition at line 226 of file AASFile.h.

float idAASSettings::maxBarrierHeight

Definition at line 229 of file AASFile.h.

float idAASSettings::maxFallHeight

Definition at line 231 of file AASFile.h.

float idAASSettings::maxStepHeight

Definition at line 228 of file AASFile.h.

float idAASSettings::maxWaterJumpHeight

Definition at line 230 of file AASFile.h.

float idAASSettings::minFloorCos

Definition at line 232 of file AASFile.h.

bool idAASSettings::noOptimize

Definition at line 219 of file AASFile.h.

int idAASSettings::numBoundingBoxes

Definition at line 214 of file AASFile.h.

bool idAASSettings::playerFlood

Definition at line 218 of file AASFile.h.

int idAASSettings::tt_barrierJump

Definition at line 234 of file AASFile.h.

int idAASSettings::tt_startCrouching

Definition at line 235 of file AASFile.h.

int idAASSettings::tt_startWalkOffLedge

Definition at line 237 of file AASFile.h.

int idAASSettings::tt_waterJump

Definition at line 236 of file AASFile.h.

bool idAASSettings::usePatches

Definition at line 216 of file AASFile.h.

bool idAASSettings::writeBrushMap

Definition at line 217 of file AASFile.h.


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