summaryrefslogtreecommitdiff
path: root/src/particle/particleengine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
commit238642d6a99d3f764529a339d0802d3e3909f391 (patch)
treef115374ffdf930f530bfc916065823032fc303cb /src/particle/particleengine.h
parentad56ac4bda60beddf33640df346801af1ece9ccf (diff)
downloadmanaverse-238642d6a99d3f764529a339d0802d3e3909f391.tar.gz
manaverse-238642d6a99d3f764529a339d0802d3e3909f391.tar.bz2
manaverse-238642d6a99d3f764529a339d0802d3e3909f391.tar.xz
manaverse-238642d6a99d3f764529a339d0802d3e3909f391.zip
Use strong typed enum ParticlePhysics.
Diffstat (limited to 'src/particle/particleengine.h')
-rw-r--r--src/particle/particleengine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particle/particleengine.h b/src/particle/particleengine.h
index 02d0dcb5b..19a9c4e9f 100644
--- a/src/particle/particleengine.h
+++ b/src/particle/particleengine.h
@@ -23,6 +23,8 @@
#ifndef PARTICLE_PARTICLEENGINE_H
#define PARTICLE_PARTICLEENGINE_H
+#include "enums/particle/particlephysics.h"
+
#include <list>
#include <string>
@@ -45,7 +47,7 @@ class ParticleEngine final
{
public:
static const float PARTICLE_SKY; // Maximum Z position of particles
- static int fastPhysics; // Mode of squareroot calculation
+ static ParticlePhysicsT fastPhysics; // Mode of squareroot calculation
static int particleCount; // Current number of particles
static int maxCount; // Maximum number of particles
static int emitterSkip; // Duration of pause between two