summaryrefslogtreecommitdiff
path: root/src/particleemitter.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-06-23 14:44:20 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-06-23 14:44:20 +0000
commit4ec7db55c227d3c38f2358fa74ff2649d6583391 (patch)
tree20f784d7a90b1a22b377ffd0d55fb3251986b5e2 /src/particleemitter.h
parent6e9aa693c6f07c99e5b84ee35570a14efe4df393 (diff)
downloadmana-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.h8
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;