make supertux accepts normal paths on the commandline
[supertux.git] / src / gameloop.h
index a5263d8..d1898be 100644 (file)
@@ -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 */