added rain particle system, check it out in verticalforest.stl
[supertux.git] / src / gameloop.h
index a5263d8..a63a24b 100644 (file)
@@ -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 */