Had a bit of time today and worked on supertux:
[supertux.git] / src / gameloop.h
index d1898be..ea1df56 100644 (file)
@@ -79,7 +79,6 @@ private:
   bool game_pause;
 
   std::string levelfile;
-  bool flip_level;
 
   // the sector and spawnpoint we shoudl spawn after this frame
   std::string newsector;
@@ -93,8 +92,7 @@ public:
   DrawingContext* context;
   Timer2 time_left;
 
-  GameSession(const std::string& levelfile, int mode, bool flip_level_ = false,
-          Statistics* statistics = 0);
+  GameSession(const std::string& levelfile, int mode, Statistics* statistics=0);
   ~GameSession();
 
   /** Enter the busy loop */
@@ -131,6 +129,7 @@ private:
   void check_end_conditions();
   void start_timers();
   void process_events();
+  void handle_cheats();
 
   void levelintro();
   void drawstatus(DrawingContext& context);