diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-15 11:55:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-15 11:55:38 +0300 |
commit | be002b5d8b9137011e37df519ddc5d5174179103 (patch) | |
tree | 3b1f1bff7dbce4a73c923e557b8cdffaec96f31c /src/soundmanager.h | |
parent | 54d665ca2ff9244ef4b5a6dc48424d4a3364a40c (diff) | |
download | plus-be002b5d8b9137011e37df519ddc5d5174179103.tar.gz plus-be002b5d8b9137011e37df519ddc5d5174179103.tar.bz2 plus-be002b5d8b9137011e37df519ddc5d5174179103.tar.xz plus-be002b5d8b9137011e37df519ddc5d5174179103.zip |
add option to not unload sounds after using.
It configured by default for not unload sounds/music.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r-- | src/soundmanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h index b66520ab1..e4398029e 100644 --- a/src/soundmanager.h +++ b/src/soundmanager.h @@ -156,11 +156,12 @@ class SoundManager final : public ConfigListener std::string mCurrentMusicFile; SDLMusic *mMusic; + int mGuiChannel; bool mPlayBattle; bool mPlayGui; bool mPlayMusic; bool mFadeoutMusic; - int mGuiChannel; + bool mCacheSounds; }; extern SoundManager soundManager; |