summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 23:50:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 23:50:42 +0300
commit16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1 (patch)
tree1db34fd6c50a1421ac186a3652f1e43494881286 /src/resources/map
parentf5c004a94061cab1685fa063b039dc2eec29cbbe (diff)
downloadplus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.gz
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.bz2
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.tar.xz
plus-16bcb81b0509725e4546bcb3c390ca3c1bb7e7b1.zip
Add vector.h for use different vectors.
Also replace <vector> include into "utils/vector.h"
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.h4
-rw-r--r--src/resources/map/maplayer.h4
-rw-r--r--src/resources/map/mapobjectlist.h2
-rw-r--r--src/resources/map/tileanimation.h3
4 files changed, 7 insertions, 6 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index c952b7ffa..8a2051a60 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -35,12 +35,12 @@
#include "listeners/configlistener.h"
+#include "utils/vector.h"
+
#include "resources/memorycounter.h"
#include "resources/map/properties.h"
-#include <vector>
-
class AmbientLayer;
class MapHeights;
class MapItem;
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index a1c43d205..f5cf36fa9 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -31,9 +31,9 @@
#include "enums/resources/map/maptype.h"
-#include "resources/map/tileinfo.h"
+#include "utils/vector.h"
-#include <vector>
+#include "resources/map/tileinfo.h"
class Image;
class MapRowVertexes;
diff --git a/src/resources/map/mapobjectlist.h b/src/resources/map/mapobjectlist.h
index b205bfd86..139ee08ea 100644
--- a/src/resources/map/mapobjectlist.h
+++ b/src/resources/map/mapobjectlist.h
@@ -25,7 +25,7 @@
#include "resources/map/mapobject.h"
-#include <vector>
+#include "utils/vector.h"
#include "localconsts.h"
diff --git a/src/resources/map/tileanimation.h b/src/resources/map/tileanimation.h
index 953345c1a..bf4e9f232 100644
--- a/src/resources/map/tileanimation.h
+++ b/src/resources/map/tileanimation.h
@@ -23,8 +23,9 @@
#ifndef RESOURCES_MAP_TILEANIMATION_H
#define RESOURCES_MAP_TILEANIMATION_H
+#include "utils/vector.h"
+
#include <map>
-#include <vector>
#include "localconsts.h"