somre sound preloading
[supertux.git] / src / object / particlesystem.hpp
index 5983570..3952cca 100644 (file)
@@ -58,7 +58,8 @@ public:
     virtual void draw(DrawingContext& context);
 
 protected:
-    int layer;
+    enum {MAX_PARTICLE_SIZE = 64};
+    int z_pos;
 
     class Particle
     {
@@ -93,6 +94,9 @@ private:
     {
     public:
         float speed;
+       float wobble;
+       float anchorx;
+       float drift_speed;
     };
     
     Surface* snowimages[3];