some cleanups and robustness checks, I added while searching for a bug (that was...
[supertux.git] / src / level.h
index 28eb0b4..1f2fe94 100644 (file)
@@ -92,11 +92,8 @@ class Level
   int width;
   int height;
   int bkgd_speed;
-  int start_pos_x;
-  int start_pos_y;
+  Vector start_pos;
   float gravity;
-  bool back_scrolling;
-  float hor_autoscroll_speed;
 
   /** A collection of points to which Tux can be reset after a lost live */
   std::vector<ResetPoint> reset_points;
@@ -140,9 +137,6 @@ class Level
   /** Resize the level to a new width/height */
   void resize(int new_width, int new_height);
 
-  /* Draw background */
-  void draw_bg();
-
   /** Return the id of the tile at position x/y */
   unsigned int gettileid(float x, float y) const;
   /** returns the id of the tile at position x,y