X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel_subset.h;h=c6ed9a99594696609d184e38e3e89393a501fa83;hb=db7e44a2f93bd7c0e7477690e7cc30b6d5273b06;hp=cc4ac6347d7ce50a915653280833138ba8583a35;hpb=e156f196d7af27d46a8b201470a1bd4c2ccb6990;p=supertux.git diff --git a/src/level_subset.h b/src/level_subset.h index cc4ac6347..c6ed9a995 100644 --- a/src/level_subset.h +++ b/src/level_subset.h @@ -23,22 +23,14 @@ #include #include -#include "utils/lispreader.h" 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 { 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; @@ -54,12 +46,14 @@ public: void add_level(const std::string& name); std::string get_level_filename(unsigned int i); + std::string get_worldmap_filename(); int get_num_levels() const; std::string name; std::string title; std::string description; bool hide_from_contribs; + bool has_worldmap; private: void read_info_file(const std::string& info_file);