projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- beginnings of a wingling
[supertux.git]
/
src
/
background.cpp
diff --git
a/src/background.cpp
b/src/background.cpp
index
5ebb6c5
..
975bff9
100644
(file)
--- a/
src/background.cpp
+++ b/
src/background.cpp
@@
-19,7
+19,7
@@
#include "background.h"
#include "globals.h"
#include "background.h"
#include "globals.h"
-#include "
viewport
.h"
+#include "
camera
.h"
#include "display_manager.h"
Background::Background(DisplayManager& displaymanager)
#include "display_manager.h"
Background::Background(DisplayManager& displaymanager)
@@
-53,7
+53,7
@@
Background::set_gradient(Color top, Color bottom)
}
void
}
void
-Background::draw(
ViewPort
& viewport, int )
+Background::draw(
Camera
& viewport, int )
{
if(bgtype == BACKGROUND_GRADIENT) {
drawgradient(gradient_top, gradient_bottom);
{
if(bgtype == BACKGROUND_GRADIENT) {
drawgradient(gradient_top, gradient_bottom);