diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-27 17:17:51 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-27 17:24:11 +0100 |
commit | f35dacee58e89528d8a6d638075bc96aa5d5ec0e (patch) | |
tree | 9c4b28669a8db340165239ce257c366d466a6dc3 /src/client.h | |
parent | 26b6a14eac441e6069701b37255e1eafa532d7f6 (diff) | |
download | mana-f35dacee58e89528d8a6d638075bc96aa5d5ec0e.tar.gz mana-f35dacee58e89528d8a6d638075bc96aa5d5ec0e.tar.bz2 mana-f35dacee58e89528d8a6d638075bc96aa5d5ec0e.tar.xz mana-f35dacee58e89528d8a6d638075bc96aa5d5ec0e.zip |
Added m prefix to Client's member variables
Reviewed-by: Jared Adams
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/client.h b/src/client.h index f0fdd508..07910386 100644 --- a/src/client.h +++ b/src/client.h @@ -160,19 +160,19 @@ public: int exec(); static void setState(State state) - { instance()->state = state; } + { instance()->mState = state; } static State getState() - { return instance()->state; } + { return instance()->mState; } static const std::string &getConfigDirectory() - { return instance()->configDir; } + { return instance()->mConfigDir; } static const std::string &getLocalDataDirectory() - { return instance()->localDataDir; } + { return instance()->mLocalDataDir; } static const std::string &getScreenshotDirectory() - { return instance()->screenshotDir; } + { return instance()->mScreenshotDir; } void optionChanged(const std::string &name); void action(const gcn::ActionEvent &event); @@ -187,25 +187,25 @@ private: static Client *mInstance; - Options options; + Options mOptions; - std::string configDir; - std::string localDataDir; - std::string updateHost; - std::string updatesDir; - std::string screenshotDir; + std::string mConfigDir; + std::string mLocalDataDir; + std::string mUpdateHost; + std::string mUpdatesDir; + std::string mScreenshotDir; - ServerInfo currentServer; + ServerInfo mCurrentServer; - Window *currentDialog; - QuitDialog *quitDialog; - Desktop *desktop; - Button *setupButton; + Window *mCurrentDialog; + QuitDialog *mQuitDialog; + Desktop *mDesktop; + Button *mSetupButton; - State state; - State oldstate; + State mState; + State mOldState; - SDL_Surface *icon; + SDL_Surface *mIcon; SDL_TimerID mLogicCounterId; SDL_TimerID mSecondsCounterId; |