Added support for setting up end sequence animations on levels.
[supertux.git] / src / player.h
index 13396ea..fc7c09e 100644 (file)
@@ -49,7 +49,7 @@ class BadGuy;
 /* Scores: */
 
 #define SCORE_BRICK 5
-#define SCORE_DISTRO 25
+#define SCORE_DISTRO 20
 
 /* Sizes: */
 
@@ -110,6 +110,7 @@ public:
   ~TuxBodyParts() { };
 
   void set_action(std::string action);
+  void one_time_animation();
   void draw(DrawingContext& context, const Vector& pos, int layer,
                 Uint32 drawing_effect = NONE_EFFECT);
 
@@ -146,7 +147,10 @@ public:
   FallMode fall_mode;
 
   bool jumping;
+  bool double_jumping;
   bool can_jump;
+  bool can_double_jump;
+  bool enable_hover;
   bool butt_jump;
   int frame_;
   int frame_main;
@@ -160,6 +164,7 @@ public:
   Timer shooting_timer;   // used to show the arm when Tux is shooting
   Timer dying_timer;
   Timer growing_timer;
+  Timer idle_timer;
   Physic physic;
   
 public: