diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-08-24 18:52:00 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-08-24 18:52:00 +0000 |
commit | 73d4611c036b57549fa33aabfadb8ec528ad2d45 (patch) | |
tree | 4523812e49842342754eebecb733de684444c010 /src/particleemitter.h | |
parent | 8493ae0b217435977d917976c5c1b959953b895c (diff) | |
download | mana-73d4611c036b57549fa33aabfadb8ec528ad2d45.tar.gz mana-73d4611c036b57549fa33aabfadb8ec528ad2d45.tar.bz2 mana-73d4611c036b57549fa33aabfadb8ec528ad2d45.tar.xz mana-73d4611c036b57549fa33aabfadb8ec528ad2d45.zip |
Added new particle emitter property "output-pause" which allows to define a fixed (or random) interval between two outputs.
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r-- | src/particleemitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h index 2f45608d..c1365163 100644 --- a/src/particleemitter.h +++ b/src/particleemitter.h @@ -119,6 +119,8 @@ class ParticleEmitter Map *mMap; /**< Map the particles are spawned on */ MinMax<int> mOutput; /**< Number of particles spawned per update */ + MinMax<int> mOutputSkip; /**< Pause in frames between two spawns */ + int mOutputSkipPause; /* * Graphical representation of the particle |