X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile_manager.hpp;h=64906cf09035e4fc55d0a79b83119177c4578d90;hb=5e0bb78e0d7679399eb0f687ecaf93a91cfcb577;hp=1140193905551948d65fd6e9ee3fd55dc5beef26;hpb=e6a940db5904743e8220491ce10b5107e119a44c;p=supertux.git diff --git a/src/tile_manager.hpp b/src/tile_manager.hpp index 114019390..64906cf09 100644 --- a/src/tile_manager.hpp +++ b/src/tile_manager.hpp @@ -1,7 +1,8 @@ // $Id$ -// +// // SuperTux // Copyright (C) 2004 Tobias Glaesser +// Copyright (C) 2006 Matthias Braun // // 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 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