X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=d1898be8ff736fd89e83296cbef1aee2e9810867;hb=02d54bd21d3d72e46ecad8f6038666b0384d4eb8;hp=a5263d86f7e33db47c5fd06b4faaae641e108b5c;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index a5263d86f..d1898be8f 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,7 +78,7 @@ private: bool game_pause; - std::string levelname; + std::string levelfile; bool flip_level; // the sector and spawnpoint we shoudl spawn after this frame @@ -94,7 +93,8 @@ 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, bool flip_level_ = false, + Statistics* statistics = 0); ~GameSession(); /** Enter the busy loop */