projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added conversion from and to Vector to Sizef
[supertux.git]
/
src
/
supertux
/
game_manager.hpp
diff --git
a/src/supertux/game_manager.hpp
b/src/supertux/game_manager.hpp
index
f349032
..
7a66b0e
100644
(file)
--- a/
src/supertux/game_manager.hpp
+++ b/
src/supertux/game_manager.hpp
@@
-19,6
+19,7
@@
#include <memory>
#include <memory>
+#include "supertux/savegame.hpp"
#include "util/currenton.hpp"
class World;
#include "util/currenton.hpp"
class World;
@@
-27,13
+28,14
@@
class GameManager : public Currenton<GameManager>
{
private:
std::unique_ptr<World> m_world;
{
private:
std::unique_ptr<World> m_world;
+ std::unique_ptr<Savegame> m_savegame;
public:
GameManager();
~GameManager();
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;
std::string get_level_name(const std::string& levelfile) const;