X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel_subset.h;h=8202271f41ddd04828cab79ceda17b34f2f8d368;hb=763454f90866bd4e7db95e5884c48a25d6b9bda1;hp=d9a0fa815ff6bca588db734c0394899a2bc5426c;hpb=236df51d91f0845cd4e06b3269e262911d81f5db;p=supertux.git diff --git a/src/level_subset.h b/src/level_subset.h index d9a0fa815..8202271f4 100644 --- a/src/level_subset.h +++ b/src/level_subset.h @@ -25,16 +25,13 @@ #include #include "utils/lispreader.h" -class Surface; +using namespace SuperTux; /** This type holds meta-information about a level-subset. It could be extended to handle manipulation of subsets. */ class LevelSubset { private: - /** Directory in which the level subset is stored */ - std::string directory; - /** Level filenames without the leading path ("level1.stl", "level3.stl", ...) */ std::vector levels; @@ -44,7 +41,7 @@ public: ~LevelSubset(); static void create(const std::string& subset_name); - void load(const char* subset); + void load(const std::string& filename); void save(); void add_level(const std::string& name); @@ -55,7 +52,7 @@ public: std::string name; std::string title; std::string description; - Surface* image; + bool hide_from_contribs; private: void read_info_file(const std::string& info_file);