summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-25 19:32:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-25 19:32:16 +0300
commitefb4b7ff6abee2932fd2a71e269f1d81c75618da (patch)
treee8b61af5bedc8174a720e649675fb6c3e65547c0 /src/soundmanager.h
parent036b55e414e6f25c1187753c3de6ac561c022996 (diff)
downloadmv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.gz
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.bz2
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.xz
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.zip
Add option to enable/disable music fade out (disabled by default).
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 d36cad92b..227b03579 100644
--- a/src/soundmanager.h
+++ b/src/soundmanager.h
@@ -87,7 +87,7 @@ class SoundManager final : public ConfigListener
* @param fileName The name of the music file.
* @param ms Duration of fade-in effect (ms)
*/
- void fadeInMusic(const std::string &fileName, const int ms = 1000);
+// void fadeInMusic(const std::string &fileName, const int ms = 1000);
/**
* Fades out currently running background music track.
@@ -170,6 +170,7 @@ class SoundManager final : public ConfigListener
bool mPlayBattle;
bool mPlayGui;
bool mPlayMusic;
+ bool mFadeoutMusic;
int mGuiChannel;
};