UFO: Alien Invasion
|
Stores the data of a map tile, mostly the BSP stuff. More...
#include <typedefs.h>
Public Member Functions | |
void | getTileBox (AABB &box) |
Calculate the bounding box for the tile (in mapunits) More... | |
Data Fields | |
char | name [MAX_QPATH] |
int | idx |
int | numbrushsides |
cBspBrushSide_t * | brushsides |
int | numtexinfo |
cBspSurface_t * | surfaces |
int | numplanes |
cBspPlane_t * | planes |
int | numnodes |
cBspNode_t * | nodes |
int | numleafs |
cBspLeaf_t * | leafs |
int | emptyleaf |
int | numleafbrushes |
unsigned short * | leafbrushes |
int | nummodels |
cBspModel_t * | models |
int | numbrushes |
cBspBrush_t * | brushes |
cBspPlane_t * | box_planes |
int | box_headnode |
cBspBrush_t * | box_brush |
cBspLeaf_t * | box_leaf |
tnode_t * | tnodes |
int | numtheads |
intptr_t | thead [LEVEL_MAX] |
int | theadlevel [LEVEL_MAX] |
int | numcheads |
cBspHead_t | cheads [MAX_MAP_NODES] |
ipos3_t | wpMins |
ipos3_t | wpMaxs |
byte | lightquant |
byte * | lightdata |
Stores the data of a map tile, mostly the BSP stuff.
Definition at line 85 of file typedefs.h.
Calculate the bounding box for the tile (in mapunits)
Definition at line 137 of file typedefs.h.
References AABB::maxs, AABB::mins, PosToVec, UNIT_HEIGHT, UNIT_SIZE, VectorAdd, and VectorSubtract.
Referenced by CM_CompleteBoxTrace().
cBspBrush_t* MapTile::box_brush |
Definition at line 118 of file typedefs.h.
Referenced by CM_InitBoxHull().
int MapTile::box_headnode |
Definition at line 117 of file typedefs.h.
Referenced by CM_HeadnodeForBox(), CM_HintedTransformedBoxTrace(), and CM_InitBoxHull().
cBspLeaf_t* MapTile::box_leaf |
Definition at line 119 of file typedefs.h.
Referenced by CM_InitBoxHull().
cBspPlane_t* MapTile::box_planes |
Definition at line 116 of file typedefs.h.
Referenced by CM_HeadnodeForBox(), and CM_InitBoxHull().
cBspBrush_t* MapTile::brushes |
Definition at line 113 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadBrushes().
cBspBrushSide_t* MapTile::brushsides |
Definition at line 91 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadBrushSides().
cBspHead_t MapTile::cheads[MAX_MAP_NODES] |
Definition at line 128 of file typedefs.h.
int MapTile::emptyleaf |
Definition at line 104 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadLeafs().
int MapTile::idx |
Definition at line 88 of file typedefs.h.
Referenced by CM_AddMapTile(), CM_HintedTransformedBoxTrace(), CM_InitBoxHull(), CMod_LoadEntityString(), CMod_LoadRouting(), and CMod_LoadSubmodels().
unsigned short* MapTile::leafbrushes |
Definition at line 107 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadLeafBrushes().
cBspLeaf_t* MapTile::leafs |
Definition at line 103 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadLeafs().
byte* MapTile::lightdata |
Definition at line 134 of file typedefs.h.
Referenced by CM_GetVisibility(), and CMod_LoadLighting().
byte MapTile::lightquant |
Definition at line 133 of file typedefs.h.
cBspModel_t* MapTile::models |
Definition at line 110 of file typedefs.h.
Referenced by CM_MakeTracingNodes(), CMod_LoadEntityString(), and CMod_LoadSubmodels().
char MapTile::name[MAX_QPATH] |
Definition at line 87 of file typedefs.h.
Referenced by CM_AddMapTile(), and mapTiles_s::printTilesAt().
cBspNode_t* MapTile::nodes |
Definition at line 100 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadNodes().
int MapTile::numbrushes |
Definition at line 112 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadBrushes().
int MapTile::numbrushsides |
Definition at line 90 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadBrushSides().
int MapTile::numcheads |
Definition at line 127 of file typedefs.h.
Referenced by CM_MakeTracingNodes().
int MapTile::numleafbrushes |
Definition at line 106 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadLeafBrushes().
int MapTile::numleafs |
Definition at line 102 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadLeafs().
int MapTile::nummodels |
Definition at line 109 of file typedefs.h.
Referenced by CM_AddMapTile(), CM_MakeTracingNodes(), and CMod_LoadSubmodels().
int MapTile::numnodes |
Definition at line 99 of file typedefs.h.
Referenced by CM_InitBoxHull(), CM_MakeTracingNodes(), and CMod_LoadNodes().
int MapTile::numplanes |
Definition at line 96 of file typedefs.h.
Referenced by CM_InitBoxHull(), and CMod_LoadPlanes().
int MapTile::numtexinfo |
Definition at line 93 of file typedefs.h.
Referenced by CMod_LoadBrushSides(), and CMod_LoadSurfaces().
int MapTile::numtheads |
Definition at line 123 of file typedefs.h.
Referenced by CM_MakeTracingNodes().
cBspPlane_t* MapTile::planes |
Definition at line 97 of file typedefs.h.
Referenced by CM_InitBoxHull(), CMod_LoadBrushSides(), CMod_LoadNodes(), and CMod_LoadPlanes().
cBspSurface_t* MapTile::surfaces |
Definition at line 94 of file typedefs.h.
Referenced by CMod_LoadBrushSides(), and CMod_LoadSurfaces().
intptr_t MapTile::thead[LEVEL_MAX] |
Definition at line 124 of file typedefs.h.
Referenced by CM_MakeTracingNodes().
Definition at line 125 of file typedefs.h.
Referenced by CM_MakeTracingNodes().
tnode_t* MapTile::tnodes |
Definition at line 122 of file typedefs.h.
Referenced by CM_MakeTracingNodes().
ipos3_t MapTile::wpMaxs |
Definition at line 131 of file typedefs.h.
Referenced by CM_GetVisibility(), CMod_LoadRouting(), and mapTiles_s::printTilesAt().
ipos3_t MapTile::wpMins |
Definition at line 130 of file typedefs.h.
Referenced by CM_GetVisibility(), CMod_LoadRouting(), and mapTiles_s::printTilesAt().