OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ParticleEngine Class Reference

#include <ParticleEngine.h>

Public Member Functions

 ParticleEngine ()
 
void ResetParticles ()
 
void AddParticle (Particle_sw *particle)
 
void Draw ()
 
void UpdateParticles ()
 
bool ViewProject_TrueIfStillVisible_BLV (unsigned int uParticleID)
 
void DrawParticles_BLV ()
 

Public Attributes

std::array< Particle, PARTICLES_ARRAY_SIZEpParticles
 
stru2_LineList pLines
 
char field_D160 [4800]
 
float field_E420
 
int uStartParticle
 
int uEndParticle
 
Duration uTimeElapsed
 

Static Public Attributes

static const int PARTICLES_ARRAY_SIZE = 500
 

Constructor & Destructor Documentation

◆ ParticleEngine()

ParticleEngine::ParticleEngine ( )

Particle engine constructor.

Original binary offset:
0x48AAC5

Member Function Documentation

◆ AddParticle()

void ParticleEngine::AddParticle ( Particle_sw particle)

Add particle to engine.

Original binary offset:
0x48AB23

◆ Draw()

void ParticleEngine::Draw ( )

Draw all active particles.

Original binary offset:
0x48ABF3

◆ DrawParticles_BLV()

void ParticleEngine::DrawParticles_BLV ( )
Original binary offset:
0x48BBA6

◆ ResetParticles()

void ParticleEngine::ResetParticles ( )

Remove all active particles if any and initialize/reinitialize then particles engine.

Original binary offset:
0x48AAF6

◆ UpdateParticles()

void ParticleEngine::UpdateParticles ( )

Update all active particles based on time elapsed since previous tick. Transform particles if needed and remove them if particle live time expired.

Original binary offset:
0x48AC65

◆ ViewProject_TrueIfStillVisible_BLV()

bool ParticleEngine::ViewProject_TrueIfStillVisible_BLV ( unsigned int  uParticleID)
Original binary offset:
0x48AE74

Member Data Documentation

◆ field_D160

char ParticleEngine::field_D160[4800]

◆ field_E420

float ParticleEngine::field_E420

◆ PARTICLES_ARRAY_SIZE

const int ParticleEngine::PARTICLES_ARRAY_SIZE = 500
static

◆ pLines

stru2_LineList ParticleEngine::pLines

◆ pParticles

std::array<Particle, PARTICLES_ARRAY_SIZE> ParticleEngine::pParticles

◆ uEndParticle

int ParticleEngine::uEndParticle

◆ uStartParticle

int ParticleEngine::uStartParticle

◆ uTimeElapsed

Duration ParticleEngine::uTimeElapsed

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