summaryrefslogtreecommitdiff
path: root/src/particles.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-12-22 23:16:00 +0100
committerest31 <MTest31@outlook.com>2016-12-22 23:16:00 +0100
commit81d56b94919dceb7b2e51d70b21a7ca22f852bd5 (patch)
tree1e9ef1be1b3295a8673d6e4f0bdeb4c2d3a6015f /src/particles.h
parent8077612dcb48221281e726a60eb97bf73fde462b (diff)
parent231ac33d34dfaaddf292c5f31b1eae43eeefba2d (diff)
downloadminetest-81d56b94919dceb7b2e51d70b21a7ca22f852bd5.tar.gz
minetest-81d56b94919dceb7b2e51d70b21a7ca22f852bd5.tar.bz2
minetest-81d56b94919dceb7b2e51d70b21a7ca22f852bd5.zip
Merge 0.4.15 changes into stable-0.4
0.4.15 release!
Diffstat (limited to 'src/particles.h')
-rw-r--r--src/particles.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/particles.h b/src/particles.h
index dda84385c..eb8c6665d 100644
--- a/src/particles.h
+++ b/src/particles.h
@@ -30,6 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
struct ClientEvent;
class ParticleManager;
+class ClientEnvironment;
class Particle : public scene::ISceneNode
{
@@ -45,6 +46,7 @@ class Particle : public scene::ISceneNode
float expirationtime,
float size,
bool collisiondetection,
+ bool collision_removal,
bool vertical,
video::ITexture *texture,
v2f texpos,
@@ -97,6 +99,7 @@ private:
float m_size;
u8 m_light;
bool m_collisiondetection;
+ bool m_collision_removal;
bool m_vertical;
v3s16 m_camera_offset;
};
@@ -115,6 +118,8 @@ class ParticleSpawner
float minexptime, float maxexptime,
float minsize, float maxsize,
bool collisiondetection,
+ bool collision_removal,
+ u16 attached_id,
bool vertical,
video::ITexture *texture,
u32 id,
@@ -148,8 +153,9 @@ class ParticleSpawner
video::ITexture *m_texture;
std::vector<float> m_spawntimes;
bool m_collisiondetection;
+ bool m_collision_removal;
bool m_vertical;
-
+ u16 m_attached_id;
};
/**