summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-04 17:47:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-04 17:47:46 +0300
commit0a731a66a23061f24f83ce093f8d516497c17144 (patch)
treede10363e2f0f3ddb392e4b8e87f72df67f1c8e3a /src/resources/mapreader.h
parentfa4a9bcbf9a5adb1e288409167eb579b1a68eed8 (diff)
downloadplus-0a731a66a23061f24f83ce093f8d516497c17144.tar.gz
plus-0a731a66a23061f24f83ce093f8d516497c17144.tar.bz2
plus-0a731a66a23061f24f83ce093f8d516497c17144.tar.xz
plus-0a731a66a23061f24f83ce093f8d516497c17144.zip
Move maplayertype into enums directory.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 48a9edd0c..911c295ca 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -23,6 +23,8 @@
#ifndef RESOURCES_MAPREADER_H
#define RESOURCES_MAPREADER_H
+#include "enums/resources/map/maplayertype.h"
+
#include "utils/xml.h"
#include "resources/map/maplayer.h"
@@ -82,7 +84,7 @@ class MapReader final
static bool readBase64Layer(const XmlNodePtrConst childNode,
Map *const map,
MapLayer *const layer,
- const MapLayer::Type &layerType,
+ const MapLayerTypeT &layerType,
MapHeights *const heights,
const std::string &compression,
int &restrict x, int &restrict y,
@@ -91,7 +93,7 @@ class MapReader final
static bool readCsvLayer(const XmlNodePtrConst childNode,
Map *const map,
MapLayer *const layer,
- const MapLayer::Type &layerType,
+ const MapLayerTypeT &layerType,
MapHeights *const heights,
int &restrict x, int &restrict y,
const int w, const int h) A_NONNULL(2);