MCPcopy Create free account
hub / github.com/diasurgical/devilution / diablo_pause_game

Function diablo_pause_game

Source/diablo.cpp:1029–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void diablo_pause_game()
1030{
1031 if (gbMaxPlayers <= 1) {
1032 if (PauseMode) {
1033 PauseMode = 0;
1034 } else {
1035 PauseMode = 2;
1036 FreeMonsterSnd();
1037 track_repeat_walk(FALSE);
1038 }
1039 force_redraw = 255;
1040 }
1041}
1042
1043/* NOTE: `return` must be used instead of `break` to be bin exact as C++ */
1044void PressChar(int vkey)

Callers 3

TESTFunction · 0.85
PressKeyFunction · 0.85
PressCharFunction · 0.85

Calls 2

FreeMonsterSndFunction · 0.85
track_repeat_walkFunction · 0.85

Tested by 1

TESTFunction · 0.68