projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added a bell object which is a new better way to do reset points
[supertux.git]
/
src
/
object
/
background.cpp
diff --git
a/src/object/background.cpp
b/src/object/background.cpp
index
15333dd
..
50b01d0
100644
(file)
--- a/
src/object/background.cpp
+++ b/
src/object/background.cpp
@@
-25,6
+25,7
@@
#include "video/drawing_context.h"
#include "lisp/lisp.h"
#include "lisp/writer.h"
#include "video/drawing_context.h"
#include "lisp/lisp.h"
#include "lisp/writer.h"
+#include "object_factory.h"
Background::Background()
: type(INVALID), layer(LAYER_BACKGROUND0), image(0)
Background::Background()
: type(INVALID), layer(LAYER_BACKGROUND0), image(0)
@@
-128,3
+129,4
@@
Background::draw(DrawingContext& context)
}
}
}
}
+IMPLEMENT_FACTORY(Background, "background");