From d0571ca16bb4ef11a718cfa78dc29b57080fcc72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Jul 2011 03:41:13 +0300 Subject: Add ability to send client states to other clients. Using for this emotes. --- src/localplayer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/localplayer.h') 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; -- cgit v1.2.3-60-g2f50