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

Method BgmPlayedOnce

src/game_system.cpp:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138bool Game_System::BgmPlayedOnce() {
139 if (Audio().BGM_PlayedOnce()) {
140 if (Audio().BGM_GetType() == "wav") {
141 // RPG_RT does not report looping for WAV
142 return false;
143 }
144 return true;
145 }
146
147 return false;
148}
149
150void Game_System::SePlay(const lcf::rpg::Sound& se, bool stop_sounds) {
151 if (se.name.empty()) {

Callers 1

Calls 2

BGM_PlayedOnceMethod · 0.45
BGM_GetTypeMethod · 0.45

Tested by

no test coverage detected