diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-27 14:11:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-27 14:11:55 +0300 |
commit | 26f817319be3f0c21785cbf079ae2758a362bd63 (patch) | |
tree | 82d7dd54415db580b64f105ae337beabbc2bd346 /src/compoundsprite.h | |
parent | ce1061c80ab7981a25239a36a94d2bd0b560cd8f (diff) | |
download | manaplus-26f817319be3f0c21785cbf079ae2758a362bd63.tar.gz manaplus-26f817319be3f0c21785cbf079ae2758a362bd63.tar.bz2 manaplus-26f817319be3f0c21785cbf079ae2758a362bd63.tar.xz manaplus-26f817319be3f0c21785cbf079ae2758a362bd63.zip |
Revert "improve a bit draw speed."
This reverts commit ffabda4c473711ffa8fdfe37c2a4460fe31347ac.
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r-- | src/compoundsprite.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h index 20f5d371e..6049cdeb9 100644 --- a/src/compoundsprite.h +++ b/src/compoundsprite.h @@ -86,10 +86,7 @@ public: unsigned int getCurrentFrame() const override A_WARN_UNUSED; - unsigned int getActualFrameCount() const A_WARN_UNUSED; - - unsigned int getFrameCount() const override A_WARN_UNUSED - { return mTempFramesCount; } + unsigned int getFrameCount() const override A_WARN_UNUSED; size_t size() const A_WARN_UNUSED { return mSprites.size(); } @@ -158,7 +155,6 @@ private: bool mDisableAdvBeingCaching; bool mDisableBeingCaching; std::vector<Sprite*> mSprites; - mutable int mTempFramesCount; mutable int mNextRedrawTime; static bool mEnableDelay; }; |