projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set 'licence' attribute on sound files
[supertux.git]
/
src
/
badguy
/
skullyhop.cpp
diff --git
a/src/badguy/skullyhop.cpp
b/src/badguy/skullyhop.cpp
index
6de656e
..
258adec
100644
(file)
--- a/
src/badguy/skullyhop.cpp
+++ b/
src/badguy/skullyhop.cpp
@@
-21,6
+21,10
@@
#include "skullyhop.hpp"
#include "random_generator.hpp"
#include "skullyhop.hpp"
#include "random_generator.hpp"
+#include "lisp/writer.hpp"
+#include "object_factory.hpp"
+#include "audio/sound_manager.hpp"
+#include "sprite/sprite.hpp"
namespace {
const float VERTICAL_SPEED = -450; /**< y-speed when jumping */
namespace {
const float VERTICAL_SPEED = -450; /**< y-speed when jumping */
@@
-46,8
+50,8
@@
void
SkullyHop::write(lisp::Writer& writer)
{
writer.start_list("skullyhop");
SkullyHop::write(lisp::Writer& writer)
{
writer.start_list("skullyhop");
- writer.write
_float
("x", start_position.x);
- writer.write
_float
("y", start_position.y);
+ writer.write("x", start_position.x);
+ writer.write("y", start_position.y);
writer.end_list("skullyhop");
}
writer.end_list("skullyhop");
}