New powerups added to worldmap cheat menu
[supertux.git] / src / supertux / game_manager.hpp
index 1b27fb5..7a66b0e 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2013 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2013 Ingo Ruhnke <grumbel@gmail.com>
 //
 //  This program is free software: you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
 
 #include <memory>
 
+#include "supertux/savegame.hpp"
 #include "util/currenton.hpp"
 
 class World;
@@ -27,13 +28,16 @@ class GameManager : public Currenton<GameManager>
 {
 private:
   std::unique_ptr<World> m_world;
+  std::unique_ptr<Savegame> m_savegame;
 
 public:
   GameManager();
   ~GameManager();
 
-  void start_game(std::unique_ptr<World> world);
-  void start_level(std::unique_ptr<World> world, int index);
+  void start_worldmap(std::unique_ptr<World> world);
+  void start_level(std::unique_ptr<World> world, const std::string& level_filename);
+
+  std::string get_level_name(const std::string& levelfile) const;
 
 private:
   GameManager(const GameManager&) = delete;