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

Go to the source code of this file.

Macros

#define PLANESIDE_EPSILON   0.001
 

Functions

int CountBrushList (uBrush_t *brushes)
 
int BrushSizeForSides (int numsides)
 
uBrush_tAllocBrush (int numsides)
 
void FreeBrush (uBrush_t *brushes)
 
void FreeBrushList (uBrush_t *brushes)
 
uBrush_tCopyBrush (uBrush_t *brush)
 
void DrawBrushList (uBrush_t *brush)
 
void PrintBrush (uBrush_t *brush)
 
bool BoundBrush (uBrush_t *brush)
 
bool CreateBrushWindings (uBrush_t *brush)
 
uBrush_tBrushFromBounds (const idBounds &bounds)
 
float BrushVolume (uBrush_t *brush)
 
void WriteBspBrushMap (const char *name, uBrush_t *list)
 
int FilterBrushIntoTree_r (uBrush_t *b, node_t *node)
 
void FilterBrushesIntoTree (uEntity_t *e)
 
tree_tAllocTree (void)
 
node_tAllocNode (void)
 
int BrushMostlyOnSide (uBrush_t *brush, idPlane &plane)
 
void SplitBrush (uBrush_t *brush, int planenum, uBrush_t **front, uBrush_t **back)
 

Variables

int c_active_brushes
 
int c_nodes
 

Macro Definition Documentation

#define PLANESIDE_EPSILON   0.001

Definition at line 40 of file ubrush.cpp.

Function Documentation

uBrush_t* AllocBrush ( int  numsides)

Definition at line 77 of file ubrush.cpp.

node_t* AllocNode ( void  )

Definition at line 487 of file ubrush.cpp.

tree_t* AllocTree ( void  )

Definition at line 471 of file ubrush.cpp.

bool BoundBrush ( uBrush_t brush)

Definition at line 206 of file ubrush.cpp.

uBrush_t* BrushFromBounds ( const idBounds bounds)

Definition at line 273 of file ubrush.cpp.

int BrushMostlyOnSide ( uBrush_t brush,
idPlane plane 
)

Definition at line 505 of file ubrush.cpp.

int BrushSizeForSides ( int  numsides)

Definition at line 62 of file ubrush.cpp.

float BrushVolume ( uBrush_t brush)

Definition at line 302 of file ubrush.cpp.

uBrush_t* CopyBrush ( uBrush_t brush)

Definition at line 136 of file ubrush.cpp.

int CountBrushList ( uBrush_t brushes)

Definition at line 51 of file ubrush.cpp.

bool CreateBrushWindings ( uBrush_t brush)

Definition at line 237 of file ubrush.cpp.

void DrawBrushList ( uBrush_t brush)

Definition at line 162 of file ubrush.cpp.

void FilterBrushesIntoTree ( uEntity_t e)

Definition at line 439 of file ubrush.cpp.

int FilterBrushIntoTree_r ( uBrush_t b,
node_t node 
)

Definition at line 397 of file ubrush.cpp.

void FreeBrush ( uBrush_t brushes)

Definition at line 95 of file ubrush.cpp.

void FreeBrushList ( uBrush_t brushes)

Definition at line 117 of file ubrush.cpp.

void PrintBrush ( uBrush_t brush)

Definition at line 187 of file ubrush.cpp.

void SplitBrush ( uBrush_t brush,
int  planenum,
uBrush_t **  front,
uBrush_t **  back 
)

Definition at line 543 of file ubrush.cpp.

void WriteBspBrushMap ( const char *  name,
uBrush_t list 
)

Definition at line 351 of file ubrush.cpp.

Variable Documentation

int c_active_brushes

Definition at line 34 of file ubrush.cpp.

int c_nodes

Definition at line 36 of file ubrush.cpp.