summaryrefslogtreecommitdiff
path: root/src/particle/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 20:59:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 20:59:21 +0300
commit558ef7174653df9d435e818bf16130443b0dd5be (patch)
treed829bf585fdb416d3a70659241e0565c49b817db /src/particle/particle.h
parent7752e90c8208a5ebb192f44d85174c2937fbcef8 (diff)
downloadmv-558ef7174653df9d435e818bf16130443b0dd5be.tar.gz
mv-558ef7174653df9d435e818bf16130443b0dd5be.tar.bz2
mv-558ef7174653df9d435e818bf16130443b0dd5be.tar.xz
mv-558ef7174653df9d435e818bf16130443b0dd5be.zip
Add particle type into particles.
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 e5e61361a..f76557e11 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -26,6 +26,7 @@
#include "being/actor.h"
#include "enums/particle/alivestatus.h"
+#include "enums/particle/particletype.h"
#include "particle/particleengine.h"
@@ -260,6 +261,9 @@ class Particle notfinal : public Actor
// Is the particle supposed to be drawn and updated?
AliveStatusT mAlive;
+
+ ParticleType mType;
+
private:
// List of child emitters.
Emitters mChildEmitters;