doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
idMapBrush Class Reference

#include <MapFile.h>

Inheritance diagram for idMapBrush:
idMapPrimitive

Public Member Functions

 idMapBrush (void)
 
 ~idMapBrush (void)
 
bool Write (idFile *fp, int primitiveNum, const idVec3 &origin) const
 
int GetNumSides (void) const
 
int AddSide (idMapBrushSide *side)
 
idMapBrushSideGetSide (int i) const
 
unsigned int GetGeometryCRC (void) const
 
- Public Member Functions inherited from idMapPrimitive
 idMapPrimitive (void)
 
virtual ~idMapPrimitive (void)
 
int GetType (void) const
 

Static Public Member Functions

static idMapBrushParse (idLexer &src, const idVec3 &origin, bool newFormat=true, float version=CURRENT_MAP_VERSION)
 
static idMapBrushParseQ3 (idLexer &src, const idVec3 &origin)
 

Protected Attributes

int numSides
 
idList< idMapBrushSide * > sides
 
- Protected Attributes inherited from idMapPrimitive
int type
 

Additional Inherited Members

- Public Types inherited from idMapPrimitive
enum  { TYPE_INVALID = -1, TYPE_BRUSH, TYPE_PATCH }
 
- Public Attributes inherited from idMapPrimitive
idDict epairs
 

Detailed Description

Definition at line 99 of file MapFile.h.

Constructor & Destructor Documentation

idMapBrush::idMapBrush ( void  )
inline

Definition at line 101 of file MapFile.h.

idMapBrush::~idMapBrush ( void  )
inline

Definition at line 102 of file MapFile.h.

Member Function Documentation

int idMapBrush::AddSide ( idMapBrushSide side)
inline

Definition at line 107 of file MapFile.h.

unsigned int idMapBrush::GetGeometryCRC ( void  ) const

Definition at line 516 of file MapFile.cpp.

int idMapBrush::GetNumSides ( void  ) const
inline

Definition at line 106 of file MapFile.h.

idMapBrushSide* idMapBrush::GetSide ( int  i) const
inline

Definition at line 108 of file MapFile.h.

idMapBrush * idMapBrush::Parse ( idLexer src,
const idVec3 origin,
bool  newFormat = true,
float  version = CURRENT_MAP_VERSION 
)
static

Definition at line 276 of file MapFile.cpp.

idMapBrush * idMapBrush::ParseQ3 ( idLexer src,
const idVec3 origin 
)
static

Definition at line 409 of file MapFile.cpp.

bool idMapBrush::Write ( idFile fp,
int  primitiveNum,
const idVec3 origin 
) const

Definition at line 485 of file MapFile.cpp.

Member Data Documentation

int idMapBrush::numSides
protected

Definition at line 112 of file MapFile.h.

idList<idMapBrushSide*> idMapBrush::sides
protected

Definition at line 113 of file MapFile.h.


The documentation for this class was generated from the following files: