summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-01 21:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-02 18:38:14 +0300
commitaac238cec9cab9efe7319d8397b95e7a77bdb5cd (patch)
tree3298f3b604d4d45cc6d04f871f6a1abb29cdd554 /src/animatedsprite.h
parent4e7096f15eba73e6ea28066df6ab389aab3f052c (diff)
downloadManaVerse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.gz
ManaVerse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.bz2
ManaVerse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.tar.xz
ManaVerse-aac238cec9cab9efe7319d8397b95e7a77bdb5cd.zip
Fix perfomance issue with caching complex sprites.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index e10e0f338..2a2cfb8d8 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -82,6 +82,8 @@ class AnimatedSprite : public Sprite
virtual void setAlpha(float alpha);
+ virtual void *getHash();
+
private:
bool updateCurrentAnimation(unsigned int dt);