summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2010-03-04 21:27:16 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2010-03-04 21:38:24 +0100
commitc176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a (patch)
tree1b6a239f8fcc7f7834062e76ee2cdf125e9d426d /src/particle.h
parent6e68568d9fb44762e4c3257b505e8b67ac1f70fe (diff)
downloadmana-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/particle.h')
-rw-r--r--src/particle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h
index c1e283d4..87360bec 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -250,6 +250,12 @@ class Particle : public Sprite
void setDieDistance(float dist)
{ mInvDieDistance = 1.0f / dist; }
+ /**
+ * Changes the size of the emitters so that the effect fills a
+ * rectangle of this size
+ */
+ void adjustEmitterSize(int w, int h);
+
bool isAlive()
{ return mAlive; }