MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ControlPhase

Function ControlPhase

TombEngine/Game/control/control.cpp:351–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351GameStatus ControlPhase(bool insideMenu)
352{
353 // For safety, only allow to break game loop in non-title levels.
354 if (g_GameFlow->CurrentFreezeMode == FreezeMode::None || CurrentLevel == 0)
355 {
356 return GamePhase(insideMenu);
357 }
358 else
359 {
360 return FreezePhase();
361 }
362}
363
364unsigned CALLBACK GameMain(void *)
365{

Callers 2

DoGameLoopFunction · 0.85

Calls 2

GamePhaseFunction · 0.85
FreezePhaseFunction · 0.85

Tested by

no test coverage detected