Included supertux.h stuff into it.
[supertux.git] / src / level.h
index dfb1c1e..96fcb1f 100644 (file)
@@ -68,6 +68,7 @@ class Level
   int bkgd_green;
   int bkgd_blue;
   int width;
+  int  endpos;
   float gravity;
 
   std::vector<BadGuyData> badguy_data;
@@ -80,7 +81,7 @@ class Level
 
   /** Load data for this level: 
       Returns -1, if the loading of the level failed. */
-  int  load(const char* subset, int level);
+  int  load(const std::string& subset, int level);
 
   /** Load data for this level: 
       Returns -1, if the loading of the level failed. */
@@ -107,5 +108,4 @@ class Level
   void load_image(texture_type* ptexture, std::string theme, const char * file, int use_alpha);
 };
 
-
 #endif /*SUPERTUX_LEVEL_H*/