diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-25 19:32:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-25 19:32:16 +0300 |
commit | efb4b7ff6abee2932fd2a71e269f1d81c75618da (patch) | |
tree | e8b61af5bedc8174a720e649675fb6c3e65547c0 /src/soundmanager.h | |
parent | 036b55e414e6f25c1187753c3de6ac561c022996 (diff) | |
download | plus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.gz plus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.bz2 plus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.xz plus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.zip |
Add option to enable/disable music fade out (disabled by default).
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 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; }; |