diff options
author | Philipp Sehmisch <mana@crushnet.org> | 2010-03-04 21:27:16 +0100 |
---|---|---|
committer | Philipp Sehmisch <mana@crushnet.org> | 2010-03-04 21:38:24 +0100 |
commit | c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a (patch) | |
tree | 1b6a239f8fcc7f7834062e76ee2cdf125e9d426d /src/particleemitter.h | |
parent | 6e68568d9fb44762e4c3257b505e8b67ac1f70fe (diff) | |
download | mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.gz mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.bz2 mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.xz mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.zip |
Implemented markers for warp portals defined in map files in form of particle effects. Reviewed-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r-- | src/particleemitter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h index 6c87755c..cc073c1c 100644 --- a/src/particleemitter.h +++ b/src/particleemitter.h @@ -73,6 +73,12 @@ class ParticleEmitter void setTarget(Particle *target) { mParticleTarget = target; }; + /** + * Changes the size of the emitter so that the effect fills a + * rectangle of this size + */ + void adjustSize(int w, int h); + private: template <typename T> ParticleEmitterProp<T> readParticleEmitterProp(xmlNodePtr propertyNode, T def); |