diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
commit | 1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (patch) | |
tree | 3eea380919dae735fdbeacff314edf1ad06d26ab /src/client.h | |
parent | 0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5 (diff) | |
download | manaverse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.gz manaverse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.bz2 manaverse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.xz manaverse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.zip |
Move many variables from client into settings.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/client.h b/src/client.h index e1faaba90..4e891236f 100644 --- a/src/client.h +++ b/src/client.h @@ -170,27 +170,6 @@ public: State getState() const A_WARN_UNUSED { return mState; } - const std::string &getConfigDirectory() const A_WARN_UNUSED - { return mConfigDir; } - - const std::string &getLocalDataDirectory() const A_WARN_UNUSED - { return mLocalDataDir; } - - const std::string &getTempDirectory() const A_WARN_UNUSED - { return mTempDir; } - - const std::string &getScreenshotDirectory() const A_WARN_UNUSED - { return mScreenshotDir; } - - const std::string getServerConfigDirectory() const A_WARN_UNUSED - { return mServerConfigDir; } - - const std::string getUsersDirectory() const A_WARN_UNUSED - { return mUsersDir; } - - const std::string getNpcsDirectory() const A_WARN_UNUSED - { return mNpcsDir; } - bool getIsMinimized() const A_WARN_UNUSED { return mIsMinimized; } @@ -210,36 +189,9 @@ public: void setMouseFocused(const bool n) { mMouseFocused = n; } - std::string getUpdatesDir() const A_WARN_UNUSED - { return mUpdatesDir; } - - std::string getServerName() const A_WARN_UNUSED - { return mServerName; } - - std::string getOnlineUrl() const A_WARN_UNUSED - { return mOnlineListUrl; } - - std::string getSupportUrl() const A_WARN_UNUSED - { return mCurrentServer.supportUrl; } - - bool getPersistentIp() const A_WARN_UNUSED - { return mCurrentServer.persistentIp; } - - std::string getLogFileName() const A_WARN_UNUSED - { return mLogFileName; } - - std::string getUpdateHost() const A_WARN_UNUSED - { return mUpdateHost; } - - std::string getOldUpdates() const A_WARN_UNUSED - { return mOldUpdates; } - const Options &getOptions() const A_WARN_UNUSED { return mOptions; } - const std::vector<std::string> &getMirrors() const A_WARN_UNUSED - { return mCurrentServer.updateMirrors; } - bool isKeyboardVisible() const; void setGuiAlpha(const float n) @@ -368,18 +320,7 @@ private: Options mOptions; - std::string mConfigDir; - std::string mServerConfigDir; - std::string mLocalDataDir; - std::string mTempDir; - std::string mUpdateHost; - std::string mUpdatesDir; - std::string mScreenshotDir; - std::string mUsersDir; - std::string mNpcsDir; std::string mRootDir; - std::string mServerName; - std::string mOnlineListUrl; std::string mLogFileName; ServerInfo mCurrentServer; @@ -404,7 +345,6 @@ private: SDL_Surface *mIcon; std::string mCaption; - std::string mOldUpdates; FPSmanager mFpsManager; Skin *mSkin; float mGuiAlpha; |