fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / tile_manager.hpp
index 1140193..64906cf 100644 (file)
@@ -1,7 +1,8 @@
 //  $Id$
-// 
+//
 //  SuperTux
 //  Copyright (C) 2004 Tobias Glaesser <tobi.web@gmx.de>
+//  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
@@ -12,7 +13,7 @@
 //  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
@@ -52,7 +53,7 @@ private:
   std::set<TileGroup> tilegroups;
 
   std::string tiles_path;
-  
+
   void load_tileset(std::string filename);
 
 public:
@@ -76,7 +77,7 @@ public:
 
     if(tile->images.size() == 0 && tile->imagespecs.size() != 0)
       tile->load_images(tiles_path);
-    
+
     return tile;
   }
 
@@ -96,4 +97,6 @@ public:
   }
 };
 
+extern TileManager* tile_manager;
+
 #endif