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 | Public Attributes | Protected Attributes | Friends | List of all members
idMapEntity Class Reference

#include <MapFile.h>

Public Member Functions

 idMapEntity (void)
 
 ~idMapEntity (void)
 
bool Write (idFile *fp, int entityNum) const
 
int GetNumPrimitives (void) const
 
idMapPrimitiveGetPrimitive (int i) const
 
void AddPrimitive (idMapPrimitive *p)
 
unsigned int GetGeometryCRC (void) const
 
void RemovePrimitiveData ()
 

Static Public Member Functions

static idMapEntityParse (idLexer &src, bool worldSpawn=false, float version=CURRENT_MAP_VERSION)
 

Public Attributes

idDict epairs
 

Protected Attributes

idList< idMapPrimitive * > primitives
 

Friends

class idMapFile
 

Detailed Description

Definition at line 162 of file MapFile.h.

Constructor & Destructor Documentation

idMapEntity::idMapEntity ( void  )
inline

Definition at line 169 of file MapFile.h.

idMapEntity::~idMapEntity ( void  )
inline

Definition at line 170 of file MapFile.h.

Member Function Documentation

void idMapEntity::AddPrimitive ( idMapPrimitive p)
inline

Definition at line 175 of file MapFile.h.

unsigned int idMapEntity::GetGeometryCRC ( void  ) const

Definition at line 693 of file MapFile.cpp.

int idMapEntity::GetNumPrimitives ( void  ) const
inline

Definition at line 173 of file MapFile.h.

idMapPrimitive* idMapEntity::GetPrimitive ( int  i) const
inline

Definition at line 174 of file MapFile.h.

idMapEntity * idMapEntity::Parse ( idLexer src,
bool  worldSpawn = false,
float  version = CURRENT_MAP_VERSION 
)
static

Definition at line 538 of file MapFile.cpp.

void idMapEntity::RemovePrimitiveData ( )

Definition at line 684 of file MapFile.cpp.

bool idMapEntity::Write ( idFile fp,
int  entityNum 
) const

Definition at line 646 of file MapFile.cpp.

Friends And Related Function Documentation

friend class idMapFile
friend

Definition at line 163 of file MapFile.h.

Member Data Documentation

idDict idMapEntity::epairs

Definition at line 166 of file MapFile.h.

idList<idMapPrimitive*> idMapEntity::primitives
protected

Definition at line 180 of file MapFile.h.


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