- updated TODO
[supertux.git] / src / scene.h
index 4038bd0..7527198 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef SUPERTUX_SCENE_H
 #define SUPERTUX_SCENE_H
 
-#include "texture.h"
+#include "screen/texture.h"
 #include "timer.h"
 
 #define FRAME_RATE 10 // 100 Frames per second (10ms)
@@ -31,15 +31,21 @@ struct PlayerStatus
   int  score;
   int  distros;
   int  lives;
+  enum BonusType { NO_BONUS, GROWUP_BONUS, FLOWER_BONUS };
+  BonusType bonus;
 
   int  score_multiplier;
 
   PlayerStatus();
+
+  void reset();
 };
 
+std::string bonus_to_string(PlayerStatus::BonusType b);
+PlayerStatus::BonusType string_to_bonus(const std::string& str);
+
 extern PlayerStatus player_status;
 
-extern float scroll_x;
 extern unsigned int global_frame_counter;
 
 #endif /*SUPERTUX_SCENE_H*/