doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
facebsp.cpp File Reference
#include "../../../idlib/precompiled.h"
#include "dmap.h"

Go to the source code of this file.

Macros

#define BLOCK_SIZE   1024
 

Functions

void RemovePortalFromNode (uPortal_t *portal, node_t *l)
 
node_tNodeForPoint (node_t *node, idVec3 origin)
 
void FreeTreePortals_r (node_t *node)
 
void FreeTree_r (node_t *node)
 
void FreeTree (tree_t *tree)
 
void PrintTree_r (node_t *node, int depth)
 
bspface_tAllocBspFace (void)
 
void FreeBspFace (bspface_t *f)
 
int SelectSplitPlaneNum (node_t *node, bspface_t *list)
 
void BuildFaceTree_r (node_t *node, bspface_t *list)
 
tree_tFaceBSP (bspface_t *list)
 
bspface_tMakeStructuralBspFaceList (primitive_t *list)
 
bspface_tMakeVisibleBspFaceList (primitive_t *list)
 

Variables

int c_faceLeafs
 
int c_nodes
 

Macro Definition Documentation

#define BLOCK_SIZE   1024

Definition at line 186 of file facebsp.cpp.

Function Documentation

bspface_t* AllocBspFace ( void  )

Definition at line 159 of file facebsp.cpp.

void BuildFaceTree_r ( node_t node,
bspface_t list 
)

Definition at line 286 of file facebsp.cpp.

tree_t* FaceBSP ( bspface_t list)

Definition at line 375 of file facebsp.cpp.

void FreeBspFace ( bspface_t f)

Definition at line 173 of file facebsp.cpp.

void FreeTree ( tree_t tree)

Definition at line 116 of file facebsp.cpp.

void FreeTree_r ( node_t node)

Definition at line 93 of file facebsp.cpp.

void FreeTreePortals_r ( node_t node)

Definition at line 64 of file facebsp.cpp.

bspface_t* MakeStructuralBspFaceList ( primitive_t list)

Definition at line 420 of file facebsp.cpp.

bspface_t* MakeVisibleBspFaceList ( primitive_t list)

Definition at line 464 of file facebsp.cpp.

node_t* NodeForPoint ( node_t node,
idVec3  origin 
)

Definition at line 41 of file facebsp.cpp.

void PrintTree_r ( node_t node,
int  depth 
)

Definition at line 127 of file facebsp.cpp.

void RemovePortalFromNode ( uPortal_t portal,
node_t l 
)

Definition at line 126 of file portals.cpp.

int SelectSplitPlaneNum ( node_t node,
bspface_t list 
)

Definition at line 187 of file facebsp.cpp.

Variable Documentation

int c_faceLeafs

Definition at line 34 of file facebsp.cpp.

int c_nodes

Definition at line 36 of file ubrush.cpp.