ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::PartParticle Class Reference

#include <part_particle.h>

Inheritance diagram for Wintermute::PartParticle:
Collaboration diagram for Wintermute::PartParticle:

List of all members.

Public Types

enum  TParticleState { PARTICLE_NORMAL, PARTICLE_FADEIN, PARTICLE_FADEOUT }

Public Member Functions

 PartParticle (BaseGame *inGame)
 ~PartParticle (void) override
bool update (PartEmitter *emitter, uint32 currentTime, uint32 timerDelta)
bool display (PartEmitter *emitter)
bool setSprite (const Common::String &filename)
bool fadeIn (uint32 currentTime, int fadeTime)
bool fadeOut (uint32 currentTime, int fadeTime)
bool persist (BasePersistenceManager *PersistMgr) override

Public Attributes

float _growthRate
bool _exponentialGrowth
float _rotation
float _angVelocity
int32 _alpha1
int32 _alpha2
Rect32 _border
Vector2 _pos
float _posZ
Vector2 _velocity
float _scale
BaseSprite_sprite
uint32 _creationTime
int32 _lifeTime
bool _isDead
TParticleState _state

Private Attributes

uint32 _fadeStart
int32 _fadeTime
int32 _currentAlpha
int32 _fadeStartAlpha

Detailed Description

Definition at line 43 of file part_particle.h.


Member Enumeration Documentation

Enumerator:
PARTICLE_NORMAL 
PARTICLE_FADEIN 
PARTICLE_FADEOUT 

Definition at line 45 of file part_particle.h.


Constructor & Destructor Documentation

Wintermute::PartParticle::PartParticle ( BaseGame inGame  ) 

Definition at line 39 of file part_particle.cpp.

Wintermute::PartParticle::~PartParticle ( void   )  [override]

Definition at line 66 of file part_particle.cpp.


Member Function Documentation

bool Wintermute::PartParticle::display ( PartEmitter emitter  ) 

Definition at line 195 of file part_particle.cpp.

bool Wintermute::PartParticle::fadeIn ( uint32  currentTime,
int  fadeTime 
)

Definition at line 214 of file part_particle.cpp.

bool Wintermute::PartParticle::fadeOut ( uint32  currentTime,
int  fadeTime 
)

Definition at line 224 of file part_particle.cpp.

bool Wintermute::PartParticle::persist ( BasePersistenceManager PersistMgr  )  [override, virtual]

Reimplemented from Wintermute::BaseClass.

Definition at line 235 of file part_particle.cpp.

bool Wintermute::PartParticle::setSprite ( const Common::String filename  ) 

Definition at line 72 of file part_particle.cpp.

bool Wintermute::PartParticle::update ( PartEmitter emitter,
uint32  currentTime,
uint32  timerDelta 
)

Definition at line 96 of file part_particle.cpp.


Member Data Documentation

Definition at line 56 of file part_particle.h.

Definition at line 84 of file part_particle.h.

Definition at line 82 of file part_particle.h.

Definition at line 85 of file part_particle.h.

Definition at line 83 of file part_particle.h.

Definition at line 52 of file part_particle.h.

Definition at line 69 of file part_particle.h.

Definition at line 63 of file part_particle.h.

Definition at line 55 of file part_particle.h.

Definition at line 65 of file part_particle.h.


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


Generated on Sat Sep 26 2020 05:04:14 for ResidualVM by doxygen 1.7.1
curved edge   curved edge