summaryrefslogtreecommitdiff
path: root/src/resources/mapinfo.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/mapinfo.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/mapinfo.h')
-rw-r--r--src/resources/mapinfo.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/resources/mapinfo.h b/src/resources/mapinfo.h
new file mode 100644
index 000000000..ebe7ec66c
--- /dev/null
+++ b/src/resources/mapinfo.h
@@ -0,0 +1,41 @@
+/*
+ * Color database
+ * Copyright (C) 2008 Aethyra Development Team
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef RESOURCES_MAPINFO_H
+#define RESOURCES_MAPINFO_H
+
+#include "utils/stringvector.h"
+
+#include "localconsts.h"
+
+struct MapInfo final
+{
+ MapInfo() :
+ atlas(),
+ files(nullptr)
+ {
+ }
+
+ std::string atlas;
+ const StringVect *files;
+};
+
+#endif // RESOURCES_MAPINFO_H