Now, the worldmap displays the Level's name, instead of the path.
[supertux.git] / src / worldmap.h
index 46d37d1..eab9e7e 100644 (file)
@@ -139,6 +139,7 @@ public:
     int x;
     int y;
     std::string name;
+    std::string title;
     bool solved;
 
     // Directions which are walkable from this level
@@ -160,6 +161,8 @@ private:
   Point offset;
   std::string savegame_file;
 
+  void get_level_title(Levels::pointer level);
+
   void draw_status();
 public:
   WorldMap();