summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-15 22:03:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-16 13:50:43 +0300
commit23034a47937c109590eb60e4ee0efa32a8c9e45e (patch)
tree844c716da20752dcbb0aead649011f54d8062635 /src/resources/map
parent4638f969d4206ba8dd857eb6d2758106cc5268df (diff)
downloadplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz
plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2
plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz
plus-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip
Remove useless includes from cpp files
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.cpp4
-rw-r--r--src/resources/map/maplayer.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 0152daff5..a1a9d446b 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -40,7 +40,6 @@
#include "particle/particle.h"
#include "resources/ambientlayer.h"
-#include "resources/image.h"
#include "resources/mapitemtype.h"
#include "resources/notifytypes.h"
#include "resources/resourcemanager.h"
@@ -50,7 +49,9 @@
#include "resources/map/mapobjectlist.h"
#include "resources/map/tileanimation.h"
+#ifdef USE_OPENGL
#include "render/renderers.h"
+#endif
#include "utils/delete2.h"
#include "utils/dtor.h"
@@ -58,7 +59,6 @@
#include "utils/physfstools.h"
#include "utils/timer.h"
-#include <climits>
#include <queue>
#include <sys/stat.h>
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index ed9c1a766..2c0f050b5 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -23,7 +23,6 @@
#include "resources/map/maplayer.h"
#include "configuration.h"
-#include "graphicsvertexes.h"
#ifndef USE_OPENGL
#include "render/graphics.h"
@@ -33,7 +32,6 @@
#include "render/graphics.h"
-#include "resources/image.h"
#include "resources/mapitemtype.h"
#include "resources/map/mapitem.h"
@@ -41,8 +39,6 @@
#include "resources/map/maptype.h"
#include "resources/map/speciallayer.h"
-#include "utils/dtor.h"
-
#include "debug.h"
MapLayer::MapLayer(const int x, const int y,