fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / object / gradient.cpp
index 57e530f..d89996b 100644 (file)
@@ -1,7 +1,7 @@
-//  $Id: background.cpp 3144 2006-03-31 10:31:03Z matzebraun $
+//  $Id$
 //
-//  SuperTux -  A Jump'n Run
-//  Copyright (C) 2004 Matthias Braun <matze@braunis.de
+//  SuperTux
+//  Copyright (C) 2006 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
@@ -16,6 +16,7 @@
 //  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 <config.h>
 
 #include <stdexcept>
@@ -67,7 +68,7 @@ Gradient::write(lisp::Writer& writer)
   writer.write_float_vector("bottom_color", bkgd_bottom_color);
 
   writer.write_int("layer", layer);
-  
+
   writer.end_list("gradient");
 }
 
@@ -81,7 +82,7 @@ Gradient::set_gradient(Color top, Color bottom)
 {
   gradient_top = top;
   gradient_bottom = bottom;
-  
+
   if (gradient_top.red > 1.0 || gradient_top.green > 1.0
    || gradient_top.blue > 1.0 || gradient_top.alpha > 1.0)
     log_warning << "top gradient color has values above 1.0" << std::endl;