diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-10 14:35:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-10 15:07:44 +0300 |
commit | b77da1aadafb7879e14fdea0c63e5e11b7bf3361 (patch) | |
tree | 44f2ff125ed0c4b6d398c734142b6342a4997273 /src/dyetool/client.cpp | |
parent | 486fc09eb779c9265299a937486d98f9ab036219 (diff) | |
download | manaplus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.gz manaplus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.bz2 manaplus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.xz manaplus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.zip |
Fix code style.
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r-- | src/dyetool/client.cpp | 21 |
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")) |