Public Member Functions | |
MapFileEntityT () | |
The default constructor. More... | |
MapFileEntityT (unsigned long Index, TextParserT &TP) | |
void | Transform (const Matrix4x4fT &Mat) |
Transforms all primitives in this entity by the given matrix. More... | |
Public Attributes | |
unsigned long | MFIndex |
In the source cmap file, this was/is the MFIndex-th entity. Normally (e.g. immediately after loading the cmap file) this is identical to the index of this MapFileEntityT into the array of all entities. It is kept explicitly here in case the array of all entities is rearranged, as is done e.g. by the CaBSP loader. More... | |
ArrayT< MapFileBrushT > | MFBrushes |
ArrayT< MapFileBezierPatchT > | MFPatches |
ArrayT< MapFileTerrainT > | MFTerrains |
ArrayT< MapFilePlantT > | MFPlants |
ArrayT< MapFileModelT > | MFModels |
std::map< std::string, std::string > | MFProperties |
|
inline |
The default constructor.
MapFileEntityT::MapFileEntityT | ( | unsigned long | Index, |
TextParserT & | TP | ||
) |
TextParserT::ParseError | on problems. |
void MapFileEntityT::Transform | ( | const Matrix4x4fT & | Mat | ) |
Transforms all primitives in this entity by the given matrix.
unsigned long cf::MapFileEntityT::MFIndex |
In the source cmap file, this was/is the MFIndex-th entity. Normally (e.g. immediately after loading the cmap file) this is identical to the index of this MapFileEntityT into the array of all entities. It is kept explicitly here in case the array of all entities is rearranged, as is done e.g. by the CaBSP loader.