MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zGamePause

Function zGamePause

src/SB/Game/zGame.cpp:509–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509void zGamePause()
510{
511 if (!zGameIsPaused())
512 {
513 if ((globals.sceneCur)->sceneID == 'PG12')
514 {
515 zGameStall();
516 }
517 else
518 {
519 zEntEvent("techbutton6_click", 24);
520 zEntEvent("SAVING GAME ICON UI", 4);
521 zEntEvent("MNU4 AUTO SAVE FAILED", 4);
522 zEntEvent("MNU4 SAVE COMPLETED", 4);
523 iPadStopRumble(globals.pad0);
524 zGameModeSwitch(eGameMode_Pause);
525 zGameStateSwitch(0);
526 }
527 }
528}
529
530void zGameStall()
531{

Callers 1

zGameUpdateModeFunction · 0.85

Calls 6

zGameIsPausedFunction · 0.85
zGameStallFunction · 0.85
iPadStopRumbleFunction · 0.85
zGameModeSwitchFunction · 0.70
zGameStateSwitchFunction · 0.70
zEntEventFunction · 0.50

Tested by

no test coverage detected