diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-23 14:44:20 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-23 14:44:20 +0000 |
commit | 4ec7db55c227d3c38f2358fa74ff2649d6583391 (patch) | |
tree | 20f784d7a90b1a22b377ffd0d55fb3251986b5e2 /src/particleemitter.h | |
parent | 6e9aa693c6f07c99e5b84ee35570a14efe4df393 (diff) | |
download | mana-4ec7db55c227d3c38f2358fa74ff2649d6583391.tar.gz mana-4ec7db55c227d3c38f2358fa74ff2649d6583391.tar.bz2 mana-4ec7db55c227d3c38f2358fa74ff2649d6583391.tar.xz mana-4ec7db55c227d3c38f2358fa74ff2649d6583391.zip |
Implemented "alpha" particle property.
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r-- | src/particleemitter.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h index c9524488..b7331527 100644 --- a/src/particleemitter.h +++ b/src/particleemitter.h @@ -119,10 +119,12 @@ class ParticleEmitter MinMax<int> mOutput; /**< Number of particles spawned per update */ + /* + * Graphical representation of the particle + */ Image *mParticleImage; /**< Particle image, if used */ - - /** Filename of particle animation file */ - Animation mParticleAnimation; + Animation mParticleAnimation; /**< Filename of particle animation file */ + MinMax<float> mParticleAlpha; /**< Opacity of the graphical representation of the particles */ /** List of emitters the spawned particles are equipped with */ std::list<ParticleEmitter> mParticleChildEmitters; |