summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
commit1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch)
tree5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/client.h
parentc63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff)
downloadmanaplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz
manaplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2
manaplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz
manaplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip
fix style in other files.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h37
1 files changed, 25 insertions, 12 deletions
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;