summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-30 03:23:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-30 03:35:27 +0300
commit0b20c8cb3c0b4831349e0b76495ad207630292aa (patch)
treed3c00514cd5c95bf4899db90e62ba7918baa234e /src/resources
parent201dc96af656196a24e6ce4bbcc3e22fc960a972 (diff)
downloadmv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.gz
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.bz2
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.xz
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.zip
Remove extra includes from headers.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/beingcommon.cpp2
-rw-r--r--src/resources/beinginfo.cpp1
-rw-r--r--src/resources/db/colordb.cpp1
-rw-r--r--src/resources/db/npcdb.cpp1
-rw-r--r--src/resources/db/unitsdb.cpp1
-rw-r--r--src/resources/image/image.cpp1
-rw-r--r--src/resources/imageset.cpp1
-rw-r--r--src/resources/imagewriter.cpp1
-rw-r--r--src/resources/inventory/complexinventory.cpp2
-rw-r--r--src/resources/map/map.h2
-rw-r--r--src/resources/resource.cpp2
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp1
-rw-r--r--src/resources/sdlgfxblitfunc.cpp1
13 files changed, 15 insertions, 2 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp
index 7401933a6..6d244960f 100644
--- a/src/resources/beingcommon.cpp
+++ b/src/resources/beingcommon.cpp
@@ -25,6 +25,8 @@
#include "enums/resources/map/blockmask.h"
+#include "utils/cast.h"
+
#include "resources/beinginfo.h"
#include "resources/sprite/spritereference.h"
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 4093a95b8..d0511e872 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -35,6 +35,7 @@
#include "resources/db/colordb.h"
+#include "utils/cast.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/db/colordb.cpp b/src/resources/db/colordb.cpp
index 92d06ce40..0fe990fed 100644
--- a/src/resources/db/colordb.cpp
+++ b/src/resources/db/colordb.cpp
@@ -23,6 +23,7 @@
#include "configuration.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp
index 08038d796..eafb9745e 100644
--- a/src/resources/db/npcdb.cpp
+++ b/src/resources/db/npcdb.cpp
@@ -31,6 +31,7 @@
#include "resources/sprite/spritereference.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/db/unitsdb.cpp b/src/resources/db/unitsdb.cpp
index e9b310c6d..998dd7230 100644
--- a/src/resources/db/unitsdb.cpp
+++ b/src/resources/db/unitsdb.cpp
@@ -26,6 +26,7 @@
#include "const/resources/currency.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/stdmove.h"
diff --git a/src/resources/image/image.cpp b/src/resources/image/image.cpp
index 353f09fec..03f35a77c 100644
--- a/src/resources/image/image.cpp
+++ b/src/resources/image/image.cpp
@@ -35,6 +35,7 @@
#include "resources/resourcemanager/resourcemanager.h"
+#include "utils/cast.h"
#include "utils/sdlcheckutils.h"
PRAGMA48(GCC diagnostic push)
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp
index 59a44c87f..9f6bb2ecc 100644
--- a/src/resources/imageset.cpp
+++ b/src/resources/imageset.cpp
@@ -26,6 +26,7 @@
#include "resources/image/image.h"
+#include "utils/cast.h"
#include "utils/dtor.h"
#include "debug.h"
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp
index b1d5baf7d..d9485a52c 100644
--- a/src/resources/imagewriter.cpp
+++ b/src/resources/imagewriter.cpp
@@ -22,6 +22,7 @@
#include "resources/imagewriter.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include <png.h>
diff --git a/src/resources/inventory/complexinventory.cpp b/src/resources/inventory/complexinventory.cpp
index 065b77e49..4d77cfdde 100644
--- a/src/resources/inventory/complexinventory.cpp
+++ b/src/resources/inventory/complexinventory.cpp
@@ -26,6 +26,8 @@
#include "being/playerinfo.h"
+#include "utils/cast.h"
+
#include "resources/item/complexitem.h"
#include "debug.h"
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 3ae809058..c952b7ffa 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -33,8 +33,6 @@
#include "enums/resources/map/maplayerposition.h"
#include "enums/resources/map/maptype.h"
-#include "utils/cast.h"
-
#include "listeners/configlistener.h"
#include "resources/memorycounter.h"
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp
index e75df7b44..256618e66 100644
--- a/src/resources/resource.cpp
+++ b/src/resources/resource.cpp
@@ -24,6 +24,8 @@
#include "logger.h"
+#include "utils/cast.h"
+
#include "resources/resourcemanager/resourcemanager.h"
#include "debug.h"
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index c599dd165..cdbc7f5cd 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -34,6 +34,7 @@
#include "resources/sprite/spritedef.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
diff --git a/src/resources/sdlgfxblitfunc.cpp b/src/resources/sdlgfxblitfunc.cpp
index 97a6e7bc4..6efce719a 100644
--- a/src/resources/sdlgfxblitfunc.cpp
+++ b/src/resources/sdlgfxblitfunc.cpp
@@ -29,6 +29,7 @@ LGPL (c) A. Schiffler
#ifndef USE_SDL2
#include "resources/sdlgfxblitfunc.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
PRAGMA48(GCC diagnostic push)