summaryrefslogtreecommitdiff
path: root/src/client.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/client.cpp
parent4638f969d4206ba8dd857eb6d2758106cc5268df (diff)
downloadmanaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip
Remove useless includes from cpp files
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 0d44fcbff..3fe4424b4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -20,20 +20,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "main.h"
-
#include "client.h"
#include "chatlogger.h"
-#include "configmanager.h"
#include "configuration.h"
+#include "configmanager.h"
+#include "defaults.h"
#include "dirs.h"
#include "dropshortcut.h"
#include "emoteshortcut.h"
#include "eventsmanager.h"
#include "game.h"
-#include "guild.h"
+#ifdef TMWA_SUPPORT
#include "guildmanager.h"
+#endif
#include "graphicsmanager.h"
#include "itemshortcut.h"
#include "party.h"
@@ -57,7 +57,6 @@
#include "gui/gui.h"
#include "gui/skin.h"
#include "gui/popupmanager.h"
-#include "gui/theme.h"
#include "gui/windowmanager.h"
#include "gui/windows/changeemaildialog.h"
@@ -106,7 +105,6 @@
#include "resources/db/homunculusdb.h"
#include "resources/db/horsedb.h"
#include "resources/db/sounddb.h"
-#include "resources/db/itemdb.h"
#include "resources/db/mapdb.h"
#include "resources/db/mercenarydb.h"
#include "resources/db/moddb.h"
@@ -132,8 +130,10 @@
#include "listeners/errorlistener.h"
+#ifdef USE_OPENGL
#include "test/testlauncher.h"
#include "test/testmain.h"
+#endif
#ifdef __APPLE__
#include <CoreFoundation/CFBundle.h>
@@ -148,14 +148,12 @@
#ifdef ANDROID
#ifndef USE_SDL2
#include <SDL_screenkeyboard.h>
+#include <fstream>
#endif
#endif
#include <sys/stat.h>
-#include <climits>
-#include <fstream>
-
#ifdef USE_MUMBLE
#include "mumblemanager.h"
#endif