projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/
[supertux.git]
/
src
/
object
/
floating_image.cpp
diff --git
a/src/object/floating_image.cpp
b/src/object/floating_image.cpp
index
d25ad3d
..
c7e586a
100644
(file)
--- a/
src/object/floating_image.cpp
+++ b/
src/object/floating_image.cpp
@@
-17,12
+17,14
@@
#include "object/floating_image.hpp"
#include "sprite/sprite.hpp"
#include "sprite/sprite_manager.hpp"
#include "object/floating_image.hpp"
#include "sprite/sprite.hpp"
#include "sprite/sprite_manager.hpp"
-#include "supertux/
main
.hpp"
+#include "supertux/
globals
.hpp"
FloatingImage::FloatingImage(const std::string& spritefile) :
FloatingImage::FloatingImage(const std::string& spritefile) :
+ sprite(),
layer(LAYER_FOREGROUND1 + 1),
visible(false),
anchor(ANCHOR_MIDDLE),
layer(LAYER_FOREGROUND1 + 1),
visible(false),
anchor(ANCHOR_MIDDLE),
+ pos(),
fading(0),
fadetime(0)
{
fading(0),
fadetime(0)
{