summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
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/mapreader.cpp
parent4638f969d4206ba8dd857eb6d2758106cc5268df (diff)
downloadmanaverse-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz
manaverse-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2
manaverse-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz
manaverse-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip
Remove useless includes from cpp files
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 5f95565ec..49e3ced2d 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -23,11 +23,11 @@
#include "resources/mapreader.h"
#include "configuration.h"
+#ifdef USE_OPENGL
#include "graphicsmanager.h"
+#endif
#include "logger.h"
-#include "main.h"
-#include "resources/map/blocktype.h"
#include "resources/map/map.h"
#include "resources/map/mapconsts.h"
#include "resources/map/mapheights.h"
@@ -39,7 +39,9 @@
#include "resources/mapitemtype.h"
#include "resources/resourcemanager.h"
+#ifdef USE_OPENGL
#include "resources/db/mapdb.h"
+#endif
#include "resources/map/tileanimation.h"
@@ -47,7 +49,6 @@
#include "utils/delete2.h"
#include "utils/stringmap.h"
-#include <iostream>
#include <zlib.h>
#include "debug.h"