diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-16 16:40:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-16 16:40:49 +0300 |
commit | bb58d4020ff5d8ade0fec58d3e311ac211c262ef (patch) | |
tree | d7ce1aa93672c87901680282951a86b30f281f12 /src/being/being.h | |
parent | 93a94dba623aa1f04107d23c96082ba9e2990469 (diff) | |
download | manaplus-bb58d4020ff5d8ade0fec58d3e311ac211c262ef.tar.gz manaplus-bb58d4020ff5d8ade0fec58d3e311ac211c262ef.tar.bz2 manaplus-bb58d4020ff5d8ade0fec58d3e311ac211c262ef.tar.xz manaplus-bb58d4020ff5d8ade0fec58d3e311ac211c262ef.zip |
Allow set team color to being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index ebce57c41..521a554cf 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -925,6 +925,11 @@ class Being notfinal : public ActorSprite, void setAreaSize(const int areaSize) { mAreaSize = areaSize; } + void setTeamId(const uint16_t teamId); + + uint16_t getTeamId() const + { return mTeamId; } + protected: /** * Updates name's location. @@ -941,6 +946,8 @@ class Being notfinal : public ActorSprite, void createSpeechBubble(); + void setDefaultNameColor(const UserColorIdT defaultColor); + static int getDefaultEffectId(const AttackTypeT &type); BeingInfo *mInfo; @@ -1105,6 +1112,7 @@ class Being notfinal : public ActorSprite, int mKarma; int mManner; int mAreaSize; + uint16_t mTeamId; uint16_t mLook; unsigned char mHairColor; bool mErased; |