#include <bsp.h>
Data Fields | |
int | planenum |
struct node_s * | parent |
vec3_t | mins |
vec3_t | maxs |
bspbrush_t * | volume |
side_t * | side |
struct node_s * | children [2] |
face_t * | faces |
bspbrush_t * | brushlist |
int | contentFlags |
int | area |
struct portal_s * | portals |
Definition at line 51 of file bsp.h.
int node_s::area |
leafs only fragments of all brushes in this leaf
Definition at line 64 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 60 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().
OR of all brush contents
Definition at line 65 of file bsp.h.
Referenced by EmitLeaf(), FaceFromPortal(), FindPortalSide(), LeafNode(), MakeFaces_r(), MakeHeadnodePortals(), MarkVisibleSides_r(), and PruneNodes_r().
Definition at line 61 of file bsp.h.
Referenced by EmitDrawNode_r(), EmitVertexes_r(), FaceFromSuperverts(), FixEdges_r(), FreeTree_r(), MakeFaces_r(), MergeNodeFaces(), PruneNodes_r(), SubdivideFace(), and SubdivideNodeFaces().
valid after portalization
Definition at line 55 of file bsp.h.
Referenced by CalcNodeBounds(), ConstructLevelNodes_r(), EmitDrawNode_r(), EmitLeaf(), and MakeTreePortals_r().
Definition at line 55 of file bsp.h.
Referenced by CalcNodeBounds(), ConstructLevelNodes_r(), EmitDrawNode_r(), EmitLeaf(), and MakeTreePortals_r().
struct node_s* node_s::parent |
Definition at line 54 of file bsp.h.
Referenced by BaseWindingForNode(), BuildTree_r(), and CheckPlaneAgainstParents().
int node_s::planenum |
both leafs and nodes -1 = leaf node
Definition at line 53 of file bsp.h.
Referenced by BaseWindingForNode(), BuildTree_r(), CheckPlaneAgainstParents(), EmitDrawNode_r(), EmitVertexes_r(), FindPortalSide(), FixEdges_r(), FreeTree_r(), FreeTreePortals_r(), LeafNode(), MakeFaces_r(), MakeHeadnodePortals(), MakeNodePortal(), MakeTreePortals_r(), MarkVisibleSides_r(), MergeNodeFaces(), ProcessSubModel(), PruneNodes_r(), SplitBrushList(), and SplitNodePortals().
struct portal_s* node_s::portals |
also on nodes during construction
Definition at line 67 of file bsp.h.
Referenced by AddPortalToNodes(), CalcNodeBounds(), FreeTreePortals_r(), MakeFaces_r(), MakeHeadnodePortals(), MakeNodePortal(), MarkVisibleSides_r(), RemovePortalFromNode(), and SplitNodePortals().
nodes only the side that created the node
Definition at line 59 of file bsp.h.
Referenced by BuildTree_r().
one for each leaf/node
Definition at line 56 of file bsp.h.
Referenced by BrushBSP(), BuildTree_r(), CheckPlaneAgainstVolume(), and FreeTree_r().