From 135c19b4337e1ab45cff40a306eadc52a061ddef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Aug 2012 22:18:03 +0300 Subject: add atlas textures support. --- src/resources/mapdb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resources/mapdb.h') diff --git a/src/resources/mapdb.h b/src/resources/mapdb.h index b8fd954fa..32e9f5695 100644 --- a/src/resources/mapdb.h +++ b/src/resources/mapdb.h @@ -34,6 +34,7 @@ namespace MapDB struct MapInfo { std::string atlas; + StringVect *files; }; /** @@ -52,13 +53,17 @@ namespace MapDB std::string getMapName(const std::string &name); + MapInfo *getMapAtlas(const std::string &name); + // Maps DB typedef std::map Maps; typedef Maps::iterator MapIterator; // map to infos map typedef std::map MapInfos; + typedef MapInfos::iterator MapInfoIter; // atlas to files map typedef std::map Atlases; + typedef Atlases::iterator AtlasIter; } #endif -- cgit v1.2.3-70-g09d2