MCPcopy Create free account
hub / github.com/EasyRPG/Player / BgmFade

Method BgmFade

src/game_system.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void Game_System::BgmFade(int duration, bool clear_current_music) {
131 Audio().BGM_Fade(duration);
132 if (clear_current_music) {
133 data.current_music.name = "(OFF)";
134 }
135 data.music_stopping = true;
136}
137
138bool Game_System::BgmPlayedOnce() {
139 if (Audio().BGM_PlayedOnce()) {

Callers 6

CommandFadeOutBGMMethod · 0.80
OnAsyncSuspendMethod · 0.80
vUpdateMethod · 0.80
UpdateMethod · 0.80
LoadSavegameMethod · 0.80
SetupNewGameMethod · 0.80

Calls 1

BGM_FadeMethod · 0.45

Tested by

no test coverage detected