UFO: Alien Invasion
|
#include <bsp.h>
Data Fields | |
int32_t | planenum |
struct node_s * | parent |
AABB | nBox |
bspbrush_t * | volume |
side_t * | side |
struct node_s * | children [2] |
face_t * | faces |
bspbrush_t * | brushlist |
int32_t | contentFlags |
int | area |
struct portal_s * | portals |
int node_s::area |
for areaportals -
Definition at line 57 of file bsp.h.
Referenced by BrushVolume(), and EmitLeaf().
bspbrush_t* node_s::brushlist |
leafs only fragments of all brushes in this leaf
Definition at line 55 of file bsp.h.
Referenced by EmitLeaf(), FindPortalSide(), FreeTree_r(), LeafNode(), MakeHeadnodePortals(), and PruneNodes_r().
struct node_s* node_s::children[2] |
Definition at line 51 of file bsp.h.
Referenced by BaseWindingForNode(), BuildTree_r(), EmitDrawNode_r(), EmitVertexes_r(), FixEdges_r(), FreeTree_r(), FreeTreePortals_r(), MakeFaces_r(), MakeNodePortal(), MakeTreePortals_r(), MarkVisibleSides_r(), PruneNodes_r(), and SplitNodePortals().
int32_t node_s::contentFlags |
OR of all brush contents
Definition at line 56 of file bsp.h.
Referenced by BrushListCalcContents(), EmitLeaf(), FaceFromPortal(), FindPortalSide(), LeafNode(), MakeFaces_r(), MakeHeadnodePortals(), MarkVisibleSides_r(), and PruneNodes_r().
face_t* node_s::faces |
Definition at line 52 of file bsp.h.
Referenced by EmitDrawNode_r(), EmitVertexes_r(), FaceFromSuperverts(), FixEdges_r(), FreeTree_r(), MakeFaces_r(), MergeNodeFaces(), PruneNodes_r(), SubdivideFace(), and SubdivideNodeFaces().
AABB node_s::nBox |
valid after portalization
Definition at line 46 of file bsp.h.
Referenced by CalcNodeBounds(), ConstructLevelNodes_r(), EmitDrawNode_r(), EmitLeaf(), and MakeTreePortals_r().
struct node_s* node_s::parent |
Definition at line 45 of file bsp.h.
Referenced by BaseWindingForNode(), BuildTree_r(), and CheckPlaneAgainstParents().
int32_t node_s::planenum |
both leafs and nodes -1 = leaf node
Definition at line 44 of file bsp.h.
Referenced by BaseWindingForNode(), BuildTree_r(), CheckPlaneAgainstParents(), DoesPlaneSplitBrush(), EmitDrawNode_r(), EmitVertexes_r(), FindPortalSide(), FixEdges_r(), FreeTree_r(), FreeTreePortals_r(), LeafNode(), MakeFaces_r(), MakeHeadnodePortals(), MakeNodePortal(), MakeTreePortals_r(), MarkVisibleSides_r(), MergeNodeFaces(), ProcessSubModel(), PruneNodes_r(), SplitBrush(), SplitNodePortals(), and TestBrushToPlanenum().
struct portal_s* node_s::portals |
also on nodes during construction
Definition at line 58 of file bsp.h.
Referenced by AddPortalToNodes(), CalcNodeBounds(), FreeTreePortals_r(), MakeFaces_r(), MakeHeadnodePortals(), MakeNodePortal(), MarkVisibleSides_r(), RemovePortalFromNode(), and SplitNodePortals().
side_t* node_s::side |
nodes only the side that created the node
Definition at line 50 of file bsp.h.
Referenced by BrushlistCalcStats(), BrushMostlyOnSide(), BuildTree_r(), CopyBrush(), CreateBrushWindings(), LeafNode(), SelectSplitSide(), SplitBrush(), SplitBrushList(), and TestBrushToPlanenum().
bspbrush_t* node_s::volume |
one for each leaf/node
Definition at line 47 of file bsp.h.
Referenced by BrushVolume(), BuildTree(), BuildTree_r(), and FreeTree_r().