New grow and skid sounds from remaxim
[supertux.git] / src / spawn_point.cpp
index 5906232..8cfd13a 100644 (file)
@@ -1,10 +1,30 @@
+//  $Id$
+//
+//  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
+//  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 <config.h>
 
 #include <stdexcept>
 #include <iostream>
-#include "spawn_point.h"
-#include "lisp/lisp.h"
-#include "lisp/list_iterator.h"
+#include "spawn_point.hpp"
+#include "lisp/lisp.hpp"
+#include "lisp/list_iterator.hpp"
+#include "log.hpp"
 
 SpawnPoint::SpawnPoint()
 {}
@@ -27,8 +47,7 @@ SpawnPoint::SpawnPoint(const lisp::Lisp* slisp)
         } else if(token == "y") {
             iter.value()->get(pos.y);
         } else {
-            std::cerr << "Warning: unknown token '" << token 
-                      << "' in SpawnPoint\n";
+            log_warning << "unknown token '" << token << "' in SpawnPoint" << std::endl;
         }
     }