- memleak fix and menu fix from MatzeB
[supertux.git] / src / gameloop.h
index 43a5df8..43f8ef1 100644 (file)
@@ -55,6 +55,12 @@ class GameSession
   unsigned int update_time;
   int pause_menu_frame;
   int debug_fps;
+
+  /** If true the end_sequence will be played, user input will be
+      ignored while doing that */
+  bool end_sequenze;
+  float last_x_pos;
+
   bool game_pause;
 
   // FIXME: Hack for restarting the level
@@ -97,6 +103,7 @@ class GameSession
 
  private:
   void on_escape_press();
+  void process_menu();
 };
 
 std::string slotinfo(int slot);