X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=a63a24b05b900ccd5d762ebf569ea71c805ff61a;hb=b47938ec825a6bbf5ef8f49f0f893d2647a79c71;hp=1d01487e6f8ded5979989562d2fb81f658e8e3eb;hpb=00fb759c2385ff08caf38e916c2d0ba8cafc8a41;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index 1d01487e6..a63a24b05 100644 --- a/src/gameloop.h +++ b/src/gameloop.h @@ -78,8 +78,7 @@ private: bool game_pause; - std::string levelname; - bool flip_level; + std::string levelfile; // the sector and spawnpoint we shoudl spawn after this frame std::string newsector; @@ -93,7 +92,7 @@ public: DrawingContext* context; Timer2 time_left; - GameSession(const std::string& level, int mode, bool flip_level_ = false, Statistics* statistics = NULL); + GameSession(const std::string& levelfile, int mode, Statistics* statistics=0); ~GameSession(); /** Enter the busy loop */