summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 20:13:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:57 +0300
commit36c45ae7d8d2577a900ec266b64448d4b488013d (patch)
tree419024ce46e507c2abb0578d15d787093556b246 /src/resources/map
parent864e023e0faeca5aa662023a54af7e4f9797fafa (diff)
downloadplus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.gz
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.bz2
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.xz
plus-36c45ae7d8d2577a900ec266b64448d4b488013d.zip
Move cast macroses into separate file.
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.h6
-rw-r--r--src/resources/map/mapheights.h2
-rw-r--r--src/resources/map/objectslayer.cpp2
3 files changed, 8 insertions, 2 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 1d5ccefdc..3ae809058 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -33,12 +33,14 @@
#include "enums/resources/map/maplayerposition.h"
#include "enums/resources/map/maptype.h"
+#include "utils/cast.h"
+
+#include "listeners/configlistener.h"
+
#include "resources/memorycounter.h"
#include "resources/map/properties.h"
-#include "listeners/configlistener.h"
-
#include <vector>
class AmbientLayer;
diff --git a/src/resources/map/mapheights.h b/src/resources/map/mapheights.h
index 43721e817..ef8c4151b 100644
--- a/src/resources/map/mapheights.h
+++ b/src/resources/map/mapheights.h
@@ -23,6 +23,8 @@
#include "resources/memorycounter.h"
+#include "utils/cast.h"
+
#include "localconsts.h"
class MapHeights final : public MemoryCounter
diff --git a/src/resources/map/objectslayer.cpp b/src/resources/map/objectslayer.cpp
index 3224da0e6..05d00c61e 100644
--- a/src/resources/map/objectslayer.cpp
+++ b/src/resources/map/objectslayer.cpp
@@ -20,6 +20,8 @@
#include "resources/map/objectslayer.h"
+#include "utils/cast.h"
+
#include "resources/map/mapobjectlist.h"
#include "debug.h"