summaryrefslogtreecommitdiff
path: root/src/resources/sdlmusic.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-25 22:15:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-25 22:15:32 +0300
commit5ad5c94f789fec341d7103d9853b64ec6213081d (patch)
tree58dfad3cfbb9fdfddd9e06c9d0098cd68a2af747 /src/resources/sdlmusic.h
parent8910645b6941f7295dee704fd47933d9ec6927b6 (diff)
downloadplus-5ad5c94f789fec341d7103d9853b64ec6213081d.tar.gz
plus-5ad5c94f789fec341d7103d9853b64ec6213081d.tar.bz2
plus-5ad5c94f789fec341d7103d9853b64ec6213081d.tar.xz
plus-5ad5c94f789fec341d7103d9853b64ec6213081d.zip
Add memory count function into SDLMusic.
Diffstat (limited to 'src/resources/sdlmusic.h')
-rw-r--r--src/resources/sdlmusic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/sdlmusic.h b/src/resources/sdlmusic.h
index c1a34f7da..b6f8f3150 100644
--- a/src/resources/sdlmusic.h
+++ b/src/resources/sdlmusic.h
@@ -70,6 +70,8 @@ class SDLMusic final : public Resource
*/
bool play(const int loops = -1, const int fadeIn = 0);
+ int calcMemoryLocal() override final;
+
protected:
/**
* Constructor.