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

Function HandleInSongState

DLL/ModManager.cpp:572–583  ·  view source on GitHub ↗

Handles all state updates when the player is in a song.

Source from the content-addressed store, hash-verified

570 /// Handles all state updates when the player is in a song.
571 /// </summary>
572 void HandleInSongState(GameLoopState& state) {
573 state.guitarSpeakPresent = false;
574 ERMode::AttemptedERInTuner = false;
575 ERMode::UseERInTuner = false;
576
577 LogSongIDForRiffRepeater();
578 EnableRiffRepeaterFeatures();
579 HandleInSongVisualMods(state);
580 HandleMidiAutoTuningInSong();
581 HandleSongTimerDisplay(state);
582 HandleExtendedRangeInSong(state);
583 }
584
585 /// <summary>
586 /// Handles automatic profile loading (AKA "Fork in the toaster" mod).

Callers 1

HandlePostGameLoadedModsFunction · 0.85

Calls 6

LogSongIDForRiffRepeaterFunction · 0.85
HandleInSongVisualModsFunction · 0.85
HandleSongTimerDisplayFunction · 0.85

Tested by

no test coverage detected