projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Platform that hurts Tux and Badguys when touched
[supertux.git]
/
src
/
object
/
particlesystem.hpp
diff --git
a/src/object/particlesystem.hpp
b/src/object/particlesystem.hpp
index
5983570
..
3952cca
100644
(file)
--- a/
src/object/particlesystem.hpp
+++ b/
src/object/particlesystem.hpp
@@
-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];