projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A little Mr_Tree cleanup
[supertux.git]
/
src
/
worldmap
/
level.hpp
diff --git
a/src/worldmap/level.hpp
b/src/worldmap/level.hpp
index
13e0941
..
d8a48e9
100644
(file)
--- a/
src/worldmap/level.hpp
+++ b/
src/worldmap/level.hpp
@@
-1,4
+1,4
@@
-// $Id
: worldmap.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio
$
+// $Id$
//
// SuperTux
// Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
//
// SuperTux
// Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
@@
-25,6
+25,7
@@
#include "math/vector.hpp"
#include "game_object.hpp"
#include "statistics.hpp"
#include "math/vector.hpp"
#include "game_object.hpp"
#include "statistics.hpp"
+#include "video/surface.hpp"
class Sprite;
class Sprite;
@@
-55,6
+56,15
@@
public:
/** If false, disables the auto walking after finishing a level */
bool auto_path;
/** 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();
+
+private:
+ std::string basedir;
+ bool picture_cached;
+ Surface* picture;
+
};
}
};
}