doom3-gpl
Doom 3 GPL source release
|
#include <BrushBSP.h>
Public Member Functions | |
idBrushBSP (void) | |
~idBrushBSP (void) | |
void | Build (idBrushList brushList, int skipContents, bool(*ChopAllowed)(idBrush *b1, idBrush *b2), bool(*MergeAllowed)(idBrush *b1, idBrush *b2)) |
void | PruneTree (int contents) |
void | Portalize (void) |
bool | RemoveOutside (const idMapFile *mapFile, int contents, const idStrList &classNames) |
void | LeakFile (const idStr &fileName) |
void | MergePortals (int skipContents) |
bool | TryMergeLeafNodes (idBrushBSPPortal *portal, int side) |
void | PruneMergedTree_r (idBrushBSPNode *node) |
void | MeltPortals (int skipContents) |
void | WriteBrushMap (const idStr &fileName, const idStr &ext, int contents) |
const idBounds & | GetTreeBounds (void) const |
idBrushBSPNode * | GetRootNode (void) const |
Private Attributes | |
idBrushBSPNode * | root |
idBrushBSPNode * | outside |
idBounds | treeBounds |
idPlaneSet | portalPlanes |
int | numGridCells |
int | numSplits |
int | numGridCellSplits |
int | numPrunedSplits |
int | numPortals |
int | solidLeafNodes |
int | outsideLeafNodes |
int | insideLeafNodes |
int | numMergedPortals |
int | numInsertedPoints |
idVec3 | leakOrigin |
int | brushMapContents |
idBrushMap * | brushMap |
bool(* | BrushChopAllowed )(idBrush *b1, idBrush *b2) |
bool(* | BrushMergeAllowed )(idBrush *b1, idBrush *b2) |
Definition at line 147 of file BrushBSP.h.
idBrushBSP::idBrushBSP | ( | void | ) |
Definition at line 501 of file BrushBSP.cpp.
idBrushBSP::~idBrushBSP | ( | void | ) |
Definition at line 513 of file BrushBSP.cpp.
|
private |
Definition at line 1085 of file BrushBSP.cpp.
|
private |
Definition at line 589 of file BrushBSP.cpp.
void idBrushBSP::Build | ( | idBrushList | brushList, |
int | skipContents, | ||
bool(*)(idBrush *b1, idBrush *b2) | ChopAllowed, | ||
bool(*)(idBrush *b1, idBrush *b2) | MergeAllowed | ||
) |
Definition at line 964 of file BrushBSP.cpp.
|
private |
Definition at line 789 of file BrushBSP.cpp.
|
private |
Definition at line 900 of file BrushBSP.cpp.
|
private |
Definition at line 677 of file BrushBSP.cpp.
|
private |
Definition at line 1499 of file BrushBSP.cpp.
Definition at line 1458 of file BrushBSP.cpp.
|
private |
Definition at line 1417 of file BrushBSP.cpp.
|
private |
Definition at line 556 of file BrushBSP.cpp.
|
inline |
Definition at line 176 of file BrushBSP.h.
Definition at line 174 of file BrushBSP.h.
|
private |
Definition at line 572 of file BrushBSP.cpp.
Definition at line 1363 of file BrushBSP.cpp.
|
private |
Definition at line 1116 of file BrushBSP.cpp.
Definition at line 1291 of file BrushBSP.cpp.
|
private |
Definition at line 1255 of file BrushBSP.cpp.
|
private |
Definition at line 1988 of file BrushBSP.cpp.
|
private |
Definition at line 2039 of file BrushBSP.cpp.
Definition at line 2142 of file BrushBSP.cpp.
|
private |
Definition at line 2080 of file BrushBSP.cpp.
|
private |
Definition at line 1650 of file BrushBSP.cpp.
Definition at line 1813 of file BrushBSP.cpp.
|
private |
Definition at line 1789 of file BrushBSP.cpp.
Definition at line 1346 of file BrushBSP.cpp.
|
private |
Definition at line 858 of file BrushBSP.cpp.
void idBrushBSP::PruneMergedTree_r | ( | idBrushBSPNode * | node | ) |
Definition at line 1826 of file BrushBSP.cpp.
Definition at line 1071 of file BrushBSP.cpp.
|
private |
Definition at line 1024 of file BrushBSP.cpp.
|
private |
Definition at line 2119 of file BrushBSP.cpp.
|
private |
Definition at line 2103 of file BrushBSP.cpp.
|
private |
Definition at line 528 of file BrushBSP.cpp.
bool idBrushBSP::RemoveOutside | ( | const idMapFile * | mapFile, |
int | contents, | ||
const idStrList & | classNames | ||
) |
Definition at line 1591 of file BrushBSP.cpp.
|
private |
Definition at line 1560 of file BrushBSP.cpp.
Definition at line 1641 of file BrushBSP.cpp.
|
private |
Definition at line 1616 of file BrushBSP.cpp.
|
private |
Definition at line 760 of file BrushBSP.cpp.
|
private |
Definition at line 1162 of file BrushBSP.cpp.
bool idBrushBSP::TryMergeLeafNodes | ( | idBrushBSPPortal * | portal, |
int | side | ||
) |
Definition at line 1894 of file BrushBSP.cpp.
|
private |
Definition at line 1856 of file BrushBSP.cpp.
Definition at line 1014 of file BrushBSP.cpp.
Definition at line 197 of file BrushBSP.h.
|
private |
Definition at line 195 of file BrushBSP.h.
|
private |
Definition at line 194 of file BrushBSP.h.
Definition at line 198 of file BrushBSP.h.
|
private |
Definition at line 190 of file BrushBSP.h.
|
private |
Definition at line 193 of file BrushBSP.h.
|
private |
Definition at line 183 of file BrushBSP.h.
|
private |
Definition at line 185 of file BrushBSP.h.
|
private |
Definition at line 192 of file BrushBSP.h.
|
private |
Definition at line 191 of file BrushBSP.h.
|
private |
Definition at line 187 of file BrushBSP.h.
|
private |
Definition at line 186 of file BrushBSP.h.
|
private |
Definition at line 184 of file BrushBSP.h.
|
private |
Definition at line 180 of file BrushBSP.h.
|
private |
Definition at line 189 of file BrushBSP.h.
|
private |
Definition at line 182 of file BrushBSP.h.
|
private |
Definition at line 179 of file BrushBSP.h.
|
private |
Definition at line 188 of file BrushBSP.h.
|
private |
Definition at line 181 of file BrushBSP.h.