- reduced jump tolleranze to two tiles
[supertux.git] / src / player.h
index 2199f23..3b0eabc 100644 (file)
@@ -33,6 +33,7 @@
 
 #define TUX_SAFE_TIME 750
 #define TUX_INVINCIBLE_TIME 10000
+#define TUX_INVINCIBLE_TIME_WARNING 2000
 #define TIME_WARNING 20000     /* When to alert player they're low on time! */
 
 /* One-ups... */
@@ -65,6 +66,7 @@ struct player_input_type
   int right;
   int left;
   int up;
+  int old_up;
   int down;
   int fire;
   int old_fire;
@@ -117,6 +119,7 @@ public:
   Direction dir;
 
   bool jumping;
+  bool can_jump;
   int frame_;
   int frame_main;