summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-15 11:55:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-15 11:55:38 +0300
commitbe002b5d8b9137011e37df519ddc5d5174179103 (patch)
tree3b1f1bff7dbce4a73c923e557b8cdffaec96f31c /src/soundmanager.h
parent54d665ca2ff9244ef4b5a6dc48424d4a3364a40c (diff)
downloadplus-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.h3
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;