diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-05 03:41:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-05 03:41:13 +0300 |
commit | d0571ca16bb4ef11a718cfa78dc29b57080fcc72 (patch) | |
tree | add362fa6b01bb83c608a78b3a56bf8b52136767 /src/localplayer.h | |
parent | 0202b0b4cdac57a04a3765f6bca893bd3b5c9812 (diff) | |
download | ManaVerse-d0571ca16bb4ef11a718cfa78dc29b57080fcc72.tar.gz ManaVerse-d0571ca16bb4ef11a718cfa78dc29b57080fcc72.tar.bz2 ManaVerse-d0571ca16bb4ef11a718cfa78dc29b57080fcc72.tar.xz ManaVerse-d0571ca16bb4ef11a718cfa78dc29b57080fcc72.zip |
Add ability to send client states to other clients.
Using for this emotes.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index a5d5563cf..d067237e1 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -331,6 +331,9 @@ class LocalPlayer : public Being, public ActorSpriteListener, void setAway(const std::string &message); + void setHalfAway(bool n) + { mHalfAwayMode = n; } + void afkRespond(ChatTab *tab, const std::string &nick); bool navigateTo(int x, int y); @@ -463,6 +466,8 @@ class LocalPlayer : public Being, public ActorSpriteListener, void removeHome(); + void stopAdvert(); + protected: /** Whether or not the name settings have changed */ bool mUpdateName; @@ -563,6 +568,7 @@ class LocalPlayer : public Being, public ActorSpriteListener, int mPingTime; int mAfkTime; bool mAwayMode; + bool mHalfAwayMode; bool mShowNavigePath; bool mIsServerBuggy; @@ -586,6 +592,10 @@ class LocalPlayer : public Being, public ActorSpriteListener, bool mServerAttack; std::string mLastHitFrom; std::string mWaitFor; + int mAdvertTime; + bool mBlockAdvert; + bool mEnableAdvert; + bool mTradebot; }; extern LocalPlayer *player_node; |