summaryrefslogtreecommitdiff
path: root/src/particle/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 21:21:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 21:21:32 +0300
commitc4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d (patch)
treee5ff4ebbe3f233f89a3e813691483273554e7f99 /src/particle/particle.h
parentb08de2d689c845c740fd25294bf93adf226fdb97 (diff)
downloadmanaplus-c4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d.tar.gz
manaplus-c4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d.tar.bz2
manaplus-c4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d.tar.xz
manaplus-c4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d.zip
Move image field from ImageParticle into Particle.
Diffstat (limited to 'src/particle/particle.h')
-rw-r--r--src/particle/particle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h
index eb971ec4a..7f132c0a1 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -34,6 +34,7 @@
class Color;
class Font;
+class Image;
class Particle;
class ParticleEmitter;
class SimpleAnimation;
@@ -268,6 +269,9 @@ class Particle notfinal : public Actor
/**< Used animation for this particle */
SimpleAnimation *restrict mAnimation;
+ /**< The image used for this particle. */
+ Image *restrict mImage;
+
private:
// List of child emitters.
Emitters mChildEmitters;