X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=a63a24b05b900ccd5d762ebf569ea71c805ff61a;hb=8e02ba38e2a98f9ea7f092e333f8085520e6c22a;hp=a5263d86f7e33db47c5fd06b4faaae641e108b5c;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index a5263d86f..a63a24b05 100644 --- a/src/gameloop.h +++ b/src/gameloop.h @@ -57,7 +57,6 @@ class GameSession { private: Uint32 fps_ticks; - Timer2 frame_timer; Timer2 endsequence_timer; Level* level; Sector* currentsector; @@ -79,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; @@ -94,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 */