summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-31 21:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-31 21:37:07 +0300
commita1a404408a790623f518bcb2966b472622f39116 (patch)
tree03edd8016f4efe6d46082fcbe0936f5abd659056 /src/being/being.h
parent6a64f7e58501280751d6cbe4f3a474cdb1a93f46 (diff)
downloadmv-a1a404408a790623f518bcb2966b472622f39116.tar.gz
mv-a1a404408a790623f518bcb2966b472622f39116.tar.bz2
mv-a1a404408a790623f518bcb2966b472622f39116.tar.xz
mv-a1a404408a790623f518bcb2966b472622f39116.zip
Precalculate badges position on each change time.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h4
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;