From c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 4 Mar 2010 21:27:16 +0100 Subject: Implemented markers for warp portals defined in map files in form of particle effects. Reviewed-by: Jared Adams --- src/particleemitter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/particleemitter.h') 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 ParticleEmitterProp readParticleEmitterProp(xmlNodePtr propertyNode, T def); -- cgit v1.2.3-70-g09d2