From 1e9b7c519953c73c6e5ca4ce2169eb674267c115 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 16:40:24 +0300 Subject: fix style in other files. --- src/client.h | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 1a591c428..b383bc0ea 100644 --- a/src/client.h +++ b/src/client.h @@ -163,22 +163,31 @@ public: */ struct Options { - Options(): + Options() : + username(), + password(), + character(), + brandingPath(), + updateHost(), + dataPath(), + homeDir(), + logFileName(), + chatLogDir(), + configDir(), + localDataDir(), + screenshotDir(), + test(), + serverName(), + serverPort(0), printHelp(false), printVersion(false), skipUpdate(false), chooseDefault(false), noOpenGL(false), safeMode(false), - testMode(false), - serverPort(0) + testMode(false) {} - bool printHelp; - bool printVersion; - bool skipUpdate; - bool chooseDefault; - bool noOpenGL; std::string username; std::string password; std::string character; @@ -191,12 +200,16 @@ public: std::string configDir; std::string localDataDir; std::string screenshotDir; - bool safeMode; - bool testMode; std::string test; - std::string serverName; short serverPort; + bool printHelp; + bool printVersion; + bool skipUpdate; + bool chooseDefault; + bool noOpenGL; + bool safeMode; + bool testMode; }; explicit Client(const Options &options); @@ -360,12 +373,12 @@ private: std::string mPackageDir; std::string mConfigDir; + std::string mServerConfigDir; std::string mLocalDataDir; std::string mTempDir; std::string mUpdateHost; std::string mUpdatesDir; std::string mScreenshotDir; - std::string mServerConfigDir; std::string mUsersDir; std::string mNpcsDir; std::string mRootDir; -- cgit v1.2.3-60-g2f50