diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-29 02:06:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-29 02:07:25 +0300 |
commit | f612e40c96f370282971d3a5795da4fb8d99bea1 (patch) | |
tree | e8741515ff407b510f15477da39eb13c356467d6 /src/being/being.h | |
parent | 0de50d314ca7705024d1035802eaea2c43eb2848 (diff) | |
download | plus-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.gz plus-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.bz2 plus-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.xz plus-f612e40c96f370282971d3a5795da4fb8d99bea1.zip |
Add bages db. Add badges support for parties.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h index e58cbcb90..2f8796ba7 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -227,8 +227,7 @@ class Being notfinal : public ActorSprite, /** * Sets the name of the party the being is in. Shown in BeingPopup. */ - void setPartyName(const std::string &name) - { mPartyName = name; } + void setPartyName(const std::string &name); const std::string &getPartyName() const A_WARN_UNUSED { return mPartyName; } @@ -955,11 +954,14 @@ class Being notfinal : public ActorSprite, void setDefaultNameColor(const UserColorIdT defaultColor); + void updateBadgesCount(); + static int getDefaultEffectId(const AttackTypeT &type); BeingInfo *mInfo; AnimatedSprite *mEmotionSprite; AnimatedSprite *mAnimationEffect; + AnimatedSprite *mPartyBadge; AnimatedSprite *mTeamBadge; std::string mSpriteAction; @@ -1124,6 +1126,7 @@ class Being notfinal : public ActorSprite, int mAreaSize; uint16_t mTeamId; uint16_t mLook; + uint16_t mBadgesCount; unsigned char mHairColor; bool mErased; bool mEnemy; |