]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/particles.h
Revert "Fix settings to honor numeric conversion errors"
[dragonfireclient.git] / src / particles.h
index 327dcbc9e18dab5825694e2ecddab92401481cdf..7c89a79bfd80afbacc594e9021292c68a3f4f8cd 100644 (file)
@@ -42,6 +42,7 @@ class Particle : public scene::ISceneNode
                float expirationtime,
                float size,
                bool collisiondetection,
+               bool vertical,
                video::ITexture *texture,
                v2f texpos,
                v2f texsize
@@ -92,6 +93,7 @@ class Particle : public scene::ISceneNode
        float m_size;
        u8 m_light;
        bool m_collisiondetection;
+       bool m_vertical;
 };
 
 class ParticleSpawner
@@ -108,6 +110,7 @@ class ParticleSpawner
                float minexptime, float maxexptime,
                float minsize, float maxsize,
                bool collisiondetection,
+               bool vertical,
                video::ITexture *texture,
                u32 id);
 
@@ -138,6 +141,7 @@ class ParticleSpawner
        video::ITexture *m_texture;
        std::vector<float> m_spawntimes;
        bool m_collisiondetection;
+       bool m_vertical;
 };
 
 void allparticles_step (float dtime, ClientEnvironment &env);