mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Smooth login music start and lower auth-screen volume
Add configurable fade-in support to MusicManager playback paths and use it for auth/login intro tracks to avoid abrupt starts. Apply a login-only 20% music attenuation while the auth screen is active, then restore the previous music volume when leaving login so in-game volume remains unchanged.
This commit is contained in:
parent
3368dbb9ec
commit
44a947163d
4 changed files with 90 additions and 20 deletions
|
|
@ -109,6 +109,8 @@ private:
|
|||
|
||||
bool musicInitAttempted = false;
|
||||
bool musicPlaying = false;
|
||||
bool loginMusicVolumeAdjusted_ = false;
|
||||
int savedMusicVolume_ = 30;
|
||||
};
|
||||
|
||||
}} // namespace wowee::ui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue