X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel_subset.h;h=7ae6bcd8a5fb2cfda7c23372676a56cf190252ed;hb=e4db6eb50cd6bcba607858b5e6c4c5d53531ed1f;hp=b4f64f697936584ccf2849eab19883c133ebe1be;hpb=edaacb3651cf0560314dd008d7243be4b3b2f8c6;p=supertux.git diff --git a/src/level_subset.h b/src/level_subset.h index b4f64f697..7ae6bcd8a 100644 --- a/src/level_subset.h +++ b/src/level_subset.h @@ -27,10 +27,6 @@ using namespace SuperTux; -namespace SuperTux { -class Surface; -}; - /** This type holds meta-information about a level-subset. It could be extended to handle manipulation of subsets. */ class LevelSubset @@ -48,7 +44,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); @@ -59,7 +55,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);