MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / OnKeyboardPress

Method OnKeyboardPress

ogsr_engine/xrGame/GamePersistent.cpp:730–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730bool CGamePersistent::OnKeyboardPress(int dik)
731{
732 if (psActorFlags.test(AF_KEYPRESS_ON_START) && GameAutopaused)
733 {
734 Device.Pause(FALSE, TRUE, TRUE, "AUTOPAUSE_END");
735 load_screen_renderer.stop();
736 GameAutopaused = false;
737 return true;
738 }
739
740 return false;
741}

Callers

nothing calls this directly

Calls 3

testMethod · 0.45
PauseMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected