- beginnings of a wingling
[supertux.git] / src / background.cpp
index 3bbfe41..975bff9 100644 (file)
@@ -1,7 +1,25 @@
+//  $Id$
+//
+//  SuperTux -  A Jump'n Run
+//  Copyright (C) 2004 Matthias Braun <matze@braunis.de
+//
+//  This program is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU General Public License
+//  as published by the Free Software Foundation; either version 2
+//  of the License, or (at your option) any later version.
+//
+//  This program is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+//  GNU General Public License for more details.
+//
+//  You should have received a copy of the GNU General Public License
+//  along with this program; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "background.h"
 
 #include "globals.h"
-#include "viewport.h"
+#include "camera.h"
 #include "display_manager.h"
 
 Background::Background(DisplayManager& displaymanager)
@@ -35,7 +53,7 @@ Background::set_gradient(Color top, Color bottom)
 }
 
 void
-Background::draw(ViewPort& viewport, int )
+Background::draw(Camera& viewport, int )
 {
   if(bgtype == BACKGROUND_GRADIENT) {
     drawgradient(gradient_top, gradient_bottom);