Add some more sound_manager->preloads into object constructors
[supertux.git] / src / object / particlesystem.hpp
index 6808b2e..dd356f8 100644 (file)
@@ -52,13 +52,13 @@ class DisplayManager;
 class ParticleSystem : public GameObject
 {
 public:
-    ParticleSystem();
+    ParticleSystem(float max_particle_size = 60);
     virtual ~ParticleSystem();
     
     virtual void draw(DrawingContext& context);
 
 protected:
-    enum {MAX_PARTICLE_SIZE = 64};
+    float max_particle_size;
     int z_pos;
 
     class Particle
@@ -96,7 +96,7 @@ private:
         float speed;
        float wobble;
        float anchorx;
-       float anchordrift;
+       float drift_speed;
     };
     
     Surface* snowimages[3];