X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel_subset.h;h=40f4b754d7245f2bc0d01a67a56245f2e808a1ae;hb=c0acd67adc48d8802843438f75319327dc7ae3cf;hp=7ae03e25aa1fad9ee1d4707304dc247b7dd42c13;hpb=ef57479f613b900b73eba8e8f4d026aae0de25cc;p=supertux.git diff --git a/src/level_subset.h b/src/level_subset.h index 7ae03e25a..40f4b754d 100644 --- a/src/level_subset.h +++ b/src/level_subset.h @@ -17,15 +17,12 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. - #ifndef SUPERTUX_LEVEL_SUBSET_H #define SUPERTUX_LEVEL_SUBSET_H #include #include -using namespace SuperTux; - /** This type holds meta-information about a level-subset. It could be extended to handle manipulation of subsets. */ class LevelSubset @@ -46,12 +43,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);