X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap%2Flevel.hpp;h=67945e32f19429dec0b31f425c1e50db4372cbfd;hb=051da28245f26cb1a073c764de235460e87ec64f;hp=d8a48e92f271b7b6c5375b9fee99f3cdc785bde6;hpb=ef146ea92ea53c84903cc5ba624520fb7b288522;p=supertux.git diff --git a/src/worldmap/level.hpp b/src/worldmap/level.hpp index d8a48e92f..67945e32f 100644 --- a/src/worldmap/level.hpp +++ b/src/worldmap/level.hpp @@ -40,11 +40,11 @@ public: virtual void draw(DrawingContext& context); 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(); @@ -70,4 +67,3 @@ private: } #endif -