#include <vector>
#include <string>
-#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<std::string> levels;
~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);
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);