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

#include <SmokeParticles.h>

Public Member Functions

 idSmokeParticles (void)
 
void Init (void)
 
void Shutdown (void)
 
bool EmitSmoke (const idDeclParticle *smoke, const int startTime, const float diversity, const idVec3 &origin, const idMat3 &axis, int timeGroup)
 
void FreeSmokes (void)
 

Private Member Functions

bool UpdateRenderEntity (renderEntity_s *renderEntity, const renderView_t *renderView)
 

Static Private Member Functions

static bool ModelCallback (renderEntity_s *renderEntity, const renderView_t *renderView)
 

Private Attributes

bool initialized
 
renderEntity_t renderEntity
 
int renderEntityHandle
 
singleSmoke_t smokes [MAX_SMOKE_PARTICLES]
 
idList< activeSmokeStage_tactiveStages
 
singleSmoke_tfreeSmokes
 
int numActiveSmokes
 
int currentParticleTime
 

Static Private Attributes

static const int MAX_SMOKE_PARTICLES = 10000
 

Detailed Description

Definition at line 72 of file SmokeParticles.h.

Constructor & Destructor Documentation

idSmokeParticles::idSmokeParticles ( void  )

Definition at line 41 of file SmokeParticles.cpp.

Member Function Documentation

bool idSmokeParticles::EmitSmoke ( const idDeclParticle smoke,
const int  startTime,
const float  diversity,
const idVec3 origin,
const idMat3 axis,
int  timeGroup 
)

Definition at line 176 of file SmokeParticles.cpp.

void idSmokeParticles::FreeSmokes ( void  )

Definition at line 122 of file SmokeParticles.cpp.

void idSmokeParticles::Init ( void  )

Definition at line 56 of file SmokeParticles.cpp.

bool idSmokeParticles::ModelCallback ( renderEntity_s renderEntity,
const renderView_t renderView 
)
staticprivate

Definition at line 440 of file SmokeParticles.cpp.

void idSmokeParticles::Shutdown ( void  )

Definition at line 104 of file SmokeParticles.cpp.

bool idSmokeParticles::UpdateRenderEntity ( renderEntity_s renderEntity,
const renderView_t renderView 
)
private

Definition at line 305 of file SmokeParticles.cpp.

Member Data Documentation

idList<activeSmokeStage_t> idSmokeParticles::activeStages
private

Definition at line 96 of file SmokeParticles.h.

int idSmokeParticles::currentParticleTime
private

Definition at line 99 of file SmokeParticles.h.

singleSmoke_t* idSmokeParticles::freeSmokes
private

Definition at line 97 of file SmokeParticles.h.

bool idSmokeParticles::initialized
private

Definition at line 88 of file SmokeParticles.h.

const int idSmokeParticles::MAX_SMOKE_PARTICLES = 10000
staticprivate

Definition at line 93 of file SmokeParticles.h.

int idSmokeParticles::numActiveSmokes
private

Definition at line 98 of file SmokeParticles.h.

renderEntity_t idSmokeParticles::renderEntity
private

Definition at line 90 of file SmokeParticles.h.

int idSmokeParticles::renderEntityHandle
private

Definition at line 91 of file SmokeParticles.h.

singleSmoke_t idSmokeParticles::smokes[MAX_SMOKE_PARTICLES]
private

Definition at line 94 of file SmokeParticles.h.


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