summaryrefslogtreecommitdiff
path: root/src/resources/mapdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapdb.h')
-rw-r--r--src/resources/mapdb.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/resources/mapdb.h b/src/resources/mapdb.h
index 0d13428ee..b8fd954fa 100644
--- a/src/resources/mapdb.h
+++ b/src/resources/mapdb.h
@@ -22,19 +22,29 @@
#ifndef MAPDB_H
#define MAPDB_H
+#include "utils/stringvector.h"
+
#include <map>
-#include <string>
/**
* Color information database.
*/
namespace MapDB
{
+ struct MapInfo
+ {
+ std::string atlas;
+ };
+
/**
* Loads the map remap data from <code>maps\remap.xml</code>.
*/
void load();
+ void loadRemap();
+
+ void loadInfo();
+
/**
* Clear the remap data
*/
@@ -45,6 +55,10 @@ namespace MapDB
// 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;
+ // atlas to files map
+ typedef std::map<std::string, StringVect> Atlases;
}
#endif