X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap%2Flevel.hpp;h=67945e32f19429dec0b31f425c1e50db4372cbfd;hb=051da28245f26cb1a073c764de235460e87ec64f;hp=be081c940c04a1ab822453add1b36a3d3ae09cb4;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/worldmap/level.hpp b/src/worldmap/level.hpp index be081c940..67945e32f 100644 --- a/src/worldmap/level.hpp +++ b/src/worldmap/level.hpp @@ -42,9 +42,9 @@ public: virtual void update(float elapsed_time); Vector pos; - std::string name; std::string title; bool solved; + bool auto_play; /**< true if Tux should automatically enter this level if it's unfinished */ std::auto_ptr sprite; @@ -54,9 +54,6 @@ public: /** Script that is run when the level is successfully finished */ std::string extro_script; - /** If false, disables the auto walking after finishing a level */ - bool auto_path; - /** return Surface of level picture or 0 if no picture is available */ const Surface* get_picture();