summaryrefslogtreecommitdiff
path: root/src/resources/sprite/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 01:24:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 01:24:16 +0300
commitec6bfe238af2f846a5948e95b1d725cf9abe9afb (patch)
tree0be19bc199cd66bd6949befe86c844dbad62de3b /src/resources/sprite/spritedef.h
parent81dca73da50d8f421a74993de8cd5a9d61ef1e2a (diff)
downloadmanaplus-ec6bfe238af2f846a5948e95b1d725cf9abe9afb.tar.gz
manaplus-ec6bfe238af2f846a5948e95b1d725cf9abe9afb.tar.bz2
manaplus-ec6bfe238af2f846a5948e95b1d725cf9abe9afb.tar.xz
manaplus-ec6bfe238af2f846a5948e95b1d725cf9abe9afb.zip
Add memory count functions into Action and Animation.
Diffstat (limited to 'src/resources/sprite/spritedef.h')
-rw-r--r--src/resources/sprite/spritedef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/sprite/spritedef.h b/src/resources/sprite/spritedef.h
index c7a86f1e6..aea602cee 100644
--- a/src/resources/sprite/spritedef.h
+++ b/src/resources/sprite/spritedef.h
@@ -68,6 +68,10 @@ class SpriteDef final : public Resource
void addAction(const unsigned hp, const std::string &name,
Action *const action);
+ int calcMemoryLocal() override final;
+
+ int calcMemoryChilds(const int level) override final;
+
static bool addSequence(const int start,
const int end,
const int delay,