diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-31 21:37:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-31 21:37:07 +0300 |
commit | a1a404408a790623f518bcb2966b472622f39116 (patch) | |
tree | 03edd8016f4efe6d46082fcbe0936f5abd659056 /src/being/being.h | |
parent | 6a64f7e58501280751d6cbe4f3a474cdb1a93f46 (diff) | |
download | manaverse-a1a404408a790623f518bcb2966b472622f39116.tar.gz manaverse-a1a404408a790623f518bcb2966b472622f39116.tar.bz2 manaverse-a1a404408a790623f518bcb2966b472622f39116.tar.xz manaverse-a1a404408a790623f518bcb2966b472622f39116.zip |
Precalculate badges position on each change time.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index 0f652139d..cd5b0efff 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1222,6 +1222,8 @@ class Being notfinal : public ActorSprite, void postInit(const BeingTypeId subType, Map *const map); + void updateBadgesPosition(); + /** * Calculates the offset in the given directions. * If walking in direction 'neg' the value is negated. @@ -1349,6 +1351,8 @@ class Being notfinal : public ActorSprite, int mAreaSize; int mCastEndTime; int mLanguageId; + int mBadgesX; + int mBadgesY; BeingId mCreatorId; uint16_t mTeamId; uint16_t mLook; |