summaryrefslogtreecommitdiff
path: root/src/resources/db/mapdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 18:05:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 18:05:14 +0300
commitf3fdd048e6265ab2c6e88ddff21dffd9409c03db (patch)
treea6a564e2ecc3a081aabf140991770765a3d6c1e1 /src/resources/db/mapdb.h
parent0fd434e3102a5aad5e6f24cf384f03c527ce7c04 (diff)
downloadmv-f3fdd048e6265ab2c6e88ddff21dffd9409c03db.tar.gz
mv-f3fdd048e6265ab2c6e88ddff21dffd9409c03db.tar.bz2
mv-f3fdd048e6265ab2c6e88ddff21dffd9409c03db.tar.xz
mv-f3fdd048e6265ab2c6e88ddff21dffd9409c03db.zip
Move mapinfo into separate file.
Diffstat (limited to 'src/resources/db/mapdb.h')
-rw-r--r--src/resources/db/mapdb.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/resources/db/mapdb.h b/src/resources/db/mapdb.h
index c2fbb3137..ae001ccad 100644
--- a/src/resources/db/mapdb.h
+++ b/src/resources/db/mapdb.h
@@ -24,6 +24,8 @@
#include "utils/stringvector.h"
+#include "resources/mapinfo.h"
+
#include <map>
#include "localconsts.h"
@@ -33,18 +35,6 @@
*/
namespace MapDB
{
- struct MapInfo
- {
- MapInfo() :
- atlas(),
- files(nullptr)
- {
- }
-
- std::string atlas;
- const StringVect *files;
- };
-
/**
* Loads the map remap data from <code>maps\remap.xml</code>.
*/