summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-10 14:35:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-10 15:07:44 +0300
commitb77da1aadafb7879e14fdea0c63e5e11b7bf3361 (patch)
tree44f2ff125ed0c4b6d398c734142b6342a4997273 /src/dyetool/client.cpp
parent486fc09eb779c9265299a937486d98f9ab036219 (diff)
downloadmv-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.gz
mv-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.bz2
mv-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.xz
mv-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.zip
Fix code style.
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 85cf216e2..a45054856 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -22,26 +22,14 @@
#include "client.h"
-#include "chatlogger.h"
#include "configmanager.h"
#include "dirs.h"
-#include "dropshortcut.h"
-#include "emoteshortcut.h"
#include "eventsmanager.h"
-#include "game.h"
#include "graphicsmanager.h"
-#include "itemshortcut.h"
-#include "party.h"
#include "settings.h"
#include "soundmanager.h"
-#include "spellshortcut.h"
-#include "statuseffect.h"
-#include "units.h"
#include "touchmanager.h"
-#include "being/playerinfo.h"
-#include "being/playerrelations.h"
-
#include "input/inputmanager.h"
#include "input/joystick.h"
#include "input/keyboardconfig.h"
@@ -56,7 +44,6 @@
#include "gui/widgets/createwidget.h"
#include "gui/widgets/desktop.h"
#include "gui/widgets/windowcontainer.h"
-#include "gui/widgets/window.h"
#include "resources/imagehelper.h"
#include "resources/resourcemanager.h"
@@ -76,8 +63,6 @@
#include "utils/translation/translationmanager.h"
-#include "listeners/errorlistener.h"
-
#include "configuration.h"
#include "net/ipc.h"
@@ -130,9 +115,7 @@ Client::Client() :
mOldState(STATE_START),
mSkin(nullptr),
mButtonPadding(1),
- mButtonSpacing(3),
- mPing(0),
- mConfigAutoSaved(false)
+ mButtonSpacing(3)
{
WindowManager::init();
}
@@ -240,7 +223,7 @@ void Client::gameInit()
ConfigManager::checkConfigVersion();
logVars();
Cpu::detect();
-#if defined(USE_OPENGL)
+#if defined(USE_OPENGL)
#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__)
if (!settings.options.safeMode && settings.options.test.empty()
&& !config.getBoolValue("videodetected"))