projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix tux not advancing on worldmap after solving a level
[supertux.git]
/
src
/
worldmap
/
level.hpp
diff --git
a/src/worldmap/level.hpp
b/src/worldmap/level.hpp
index
d8a48e9
..
67945e3
100644
(file)
--- 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);
virtual void draw(DrawingContext& context);
virtual void update(float elapsed_time);
-
+
Vector pos;
Vector pos;
- std::string name;
std::string title;
bool solved;
std::string title;
bool solved;
+ bool auto_play; /**< true if Tux should automatically enter this level if it's unfinished */
std::auto_ptr<Sprite> sprite;
std::auto_ptr<Sprite> sprite;
@@
-54,9
+54,6
@@
public:
/** Script that is run when the level is successfully finished */
std::string extro_script;
/** 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();
/** return Surface of level picture or 0 if no picture is available */
const Surface* get_picture();
@@
-70,4
+67,3
@@
private:
}
#endif
}
#endif
-