diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-28 21:00:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-28 21:00:12 +0300 |
commit | a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1 (patch) | |
tree | b4ade374e591f520ae49b1dcb3317b19d503f089 /src/being.h | |
parent | e5695ad6c41d4deb79504998b2bc5caeb1e61285 (diff) | |
download | mv-a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1.tar.gz mv-a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1.tar.bz2 mv-a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1.tar.xz mv-a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1.zip |
Add support for processing player statuses in evol server.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 6052644c9..f34c192cb 100644 --- a/src/being.h +++ b/src/being.h @@ -102,6 +102,7 @@ class Being : public ActorSprite, public ConfigListener FLAG_SHOP = 1, FLAG_AWAY = 2, FLAG_INACTIVE = 4, + FLAG_GENDER = 128, FLAG_SPECIAL = 128 + 64 }; @@ -546,6 +547,8 @@ class Being : public ActorSprite, public ConfigListener */ void setEmote(Uint8 emotion, int emote_time); + void setState(Uint8 state); + /** * Get the current Emoticon type displayed above * the being. @@ -749,6 +752,9 @@ class Being : public ActorSprite, public ConfigListener bool isShopEnabled() { return mShop; } + void enableShop(bool b) + { mShop = b; } + /** * Sets the attack range. */ |