summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-31 21:25:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-31 21:51:44 +0300
commit1dfc22f53967ad7e39d42ba8aabe0afa7445476e (patch)
treed6a2bda66d2e50646162a15220063a360730ff5b /src/being/being.h
parentd6f42c15612b9d40d0a496b2b34efe66df0b74f9 (diff)
downloadmanaverse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.gz
manaverse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.bz2
manaverse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.xz
manaverse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.zip
Improve drawing player sprites performance.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 606db0a35..f4c03af37 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -1136,6 +1136,8 @@ class Being notfinal : public ActorSprite,
const int offsetX,
const int offsetY) const A_NONNULL(2);
+ void updateDrawSprites() override final;
+
const ActorTypeT mType;
/** Speech Bubble components */
@@ -1160,6 +1162,7 @@ class Being notfinal : public ActorSprite,
std::vector<Being*> mPets;
Being *restrict mOwner;
Particle *restrict mSpecialParticle;
+ std::vector<Sprite*> mDrawSprites;
#ifdef EATHENA_SUPPORT
ChatObject *restrict mChat;
HorseInfo *restrict mHorseInfo;