diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-11-01 20:04:43 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-11-01 20:04:43 +0100 |
commit | 38f7cd9a9a49dc91b1c2e69b48308bd16d4b5aad (patch) | |
tree | 81d0e898790264114683cca9cfd3355bea114415 /src/localplayer.h | |
parent | c5e341f7b5f5e4efcabd09e00e177bb873db8097 (diff) | |
parent | 1f69108501c4bf51f3adac9ffbf7a7631fb12b9a (diff) | |
download | mana-38f7cd9a9a49dc91b1c2e69b48308bd16d4b5aad.tar.gz mana-38f7cd9a9a49dc91b1c2e69b48308bd16d4b5aad.tar.bz2 mana-38f7cd9a9a49dc91b1c2e69b48308bd16d4b5aad.tar.xz mana-38f7cd9a9a49dc91b1c2e69b48308bd16d4b5aad.zip |
Merge branch '0.5' of gitorious.org:mana/mana
Conflicts:
src/being.cpp
src/client.cpp
src/commandhandler.cpp
src/gui/setup_video.cpp
src/gui/socialwindow.cpp
src/gui/viewport.cpp
src/gui/widgets/browserbox.cpp
src/gui/widgets/itemcontainer.cpp
src/imageparticle.cpp
src/localplayer.cpp
src/localplayer.h
src/map.cpp
src/net/tmwa/beinghandler.cpp
src/particle.cpp
src/particle.h
src/player.cpp
src/player.h
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 41fc84a8..0580ef89 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -164,6 +164,12 @@ class LocalPlayer : public Being */ void pickedUp(const ItemInfo &itemInfo, int amount); + void setShowIp(bool show) + { mShowIp = show; } + + bool getShowIp() const + { return mShowIp; } + /** Tells that the path has been set by mouse. */ void pathSetByMouse() { mPathSetByMouse = true; } @@ -183,7 +189,7 @@ class LocalPlayer : public Being void event(const std::string &channel, const Mana::Event &event); /** - * Tells the engine whether to check + * Tells the engine wether to check * if the Player Name is to be displayed. */ void setCheckNameSetting(bool checked) { mUpdateName = checked; } @@ -224,6 +230,8 @@ class LocalPlayer : public Being /** Queued messages*/ std::list<MessagePair> mMessages; int mMessageTime; + + bool mShowIp; }; extern LocalPlayer *player_node; |