MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / HandleSongTimerDisplay

Function HandleSongTimerDisplay

DLL/ModManager.cpp:689–696  ·  view source on GitHub ↗

Shows or hides the song timer based on settings.

Source from the content-addressed store, hash-verified

687 /// Shows or hides the song timer based on settings.
688 /// </summary>
689 void HandleSongTimerDisplay(GameLoopState& state) {
690 if (!state.automatedSongTimer &&
691 Settings::ReturnSettingValue("ShowSongTimerEnabled") == "on" &&
692 Settings::ReturnSettingValue("ShowSongTimerWhen") == "automatic") {
693 state.automatedSongTimer = true;
694 D3DHooks::showSongTimerOnScreen = true;
695 }
696 }
697
698 /// <summary>
699 /// Detects and attempts to enable extended range mode for appropriate songs.

Callers 1

HandleInSongStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected