#ifndef idA52FEA0859494D3FBDF8ED5565091C59 #define idA52FEA0859494D3FBDF8ED5565091C59 #include "doorkeeper/components/tyler.hpp" #include "doorkeeper/components/basemapsource.hpp" #include #include #include #include #include #include #include namespace dkh { template struct MapLoaderPool { typedef std::unique_ptr> BaseMapSourceUPtr; typedef std::map PoolMapType; enum { dimensions = D }; typedef C opener_type; typedef T tile_type; PoolMapType pool; C opener; dk::BaseMapSource* operator() ( const std::string& parName ); }; template dk::Tyler call_map_load ( M& parFileOpener, const std::string& parOpen ); template dk::Tyler call_map_load ( dk::Tyler& parTyler, M& parFileOpener, const std::string& parOpen ); template dk::Tyler map_load ( C& parFileOpener, const std::string& parOpen ); template dk::Tyler& map_load ( dk::Tyler& parTyler, C& parFileOpener, const std::string& parOpen ); } //namespace dkh #include "doorkeeper/implem/maploader.inl" #endif