Prevent "Return to Level Editor" from working, if no levelsubset is loaded. This...
[supertux.git] / src / level.h
index 2c4fc60..ad04af4 100644 (file)
@@ -75,7 +75,6 @@ class Level
 
   std::string name;
   std::string author;
-  std::string theme;
   std::string song_title;
   std::string bkgd_image;
   std::string particle_system;
@@ -86,9 +85,12 @@ class Level
   Color bkgd_top;
   Color bkgd_bottom;
   int width;
+  int bkgd_speed;
   int start_pos_x;
   int start_pos_y;
   float gravity;
+  bool back_scrolling;
+  float hor_autoscroll_speed;
 
   std::vector<BadGuyData> badguy_data;
 
@@ -115,7 +117,6 @@ class Level
   int  load(const std::string& filename);
 
   void load_gfx();
-  void free_gfx();
   
   void load_song();
   void free_song();