summaryrefslogtreecommitdiff
path: root/src/resources/mapdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-13 22:18:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:13 +0300
commit135c19b4337e1ab45cff40a306eadc52a061ddef (patch)
tree0a163ca1edd542aec5570b7e451034aafb4089dd /src/resources/mapdb.h
parent3a2bab265768c219b0c077eef10b69dfe8158131 (diff)
downloadplus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.gz
plus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.bz2
plus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.xz
plus-135c19b4337e1ab45cff40a306eadc52a061ddef.zip
add atlas textures support.
Diffstat (limited to 'src/resources/mapdb.h')
-rw-r--r--src/resources/mapdb.h5
1 files changed, 5 insertions, 0 deletions
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<std::string, std::string> Maps;
typedef Maps::iterator MapIterator;
// map to infos map
typedef std::map<std::string, MapInfo> MapInfos;
+ typedef MapInfos::iterator MapInfoIter;
// atlas to files map
typedef std::map<std::string, StringVect> Atlases;
+ typedef Atlases::iterator AtlasIter;
}
#endif