projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added default and cancel button to the Dialog
[supertux.git]
/
src
/
object
/
level_time.hpp
diff --git
a/src/object/level_time.hpp
b/src/object/level_time.hpp
index
36b9870
..
9e4d5aa
100644
(file)
--- a/
src/object/level_time.hpp
+++ b/
src/object/level_time.hpp
@@
-23,10
+23,9
@@
#include "supertux/script_interface.hpp"
#include "util/reader_fwd.hpp"
#include "video/color.hpp"
#include "supertux/script_interface.hpp"
#include "util/reader_fwd.hpp"
#include "video/color.hpp"
+#include "video/surface_ptr.hpp"
-class Surface;
-
-class LevelTime : public GameObject,
+class LevelTime : public GameObject,
public ScriptInterface
{
static Color text_color;
public ScriptInterface
{
static Color text_color;
@@
-69,7
+68,7
@@
public:
*/
private:
*/
private:
-
std::auto_ptr<Surface>
time_surface;
+
SurfacePtr
time_surface;
bool running;
float time_left;
};
bool running;
float time_left;
};