summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-29 02:06:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-29 02:07:25 +0300
commitf612e40c96f370282971d3a5795da4fb8d99bea1 (patch)
treee8741515ff407b510f15477da39eb13c356467d6 /src/being/being.h
parent0de50d314ca7705024d1035802eaea2c43eb2848 (diff)
downloadManaVerse-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.gz
ManaVerse-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.bz2
ManaVerse-f612e40c96f370282971d3a5795da4fb8d99bea1.tar.xz
ManaVerse-f612e40c96f370282971d3a5795da4fb8d99bea1.zip
Add bages db. Add badges support for parties.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
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;