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

Method BGM_PlayedOnce

src/audio.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58bool EmptyAudio::BGM_PlayedOnce() const {
59 // 5 seconds, arbitrary
60 return BGM_GetTicks() > (Game_Clock::GetTargetGameFps() * 5);
61}
62
63EmptyAudio::EmptyAudio(const Game_ConfigAudio& cfg) : AudioInterface(cfg) {
64

Callers 2

BgmPlayedOnceMethod · 0.45
UpdateInnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected