MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / StartGameMenu

Function StartGameMenu

Descent3/GameLoop.cpp:3183–3196  ·  view source on GitHub ↗

game menu functions

Source from the content-addressed store, hash-verified

3181
3182// game menu functions
3183void StartGameMenu() {
3184 SetUICallback(GameFrame);
3185 SuspendControls();
3186 Menu_interface_mode = true;
3187
3188 // reset bail flag.
3189 Multi_bail_ui_menu = false;
3190
3191 if (!(Game_mode & GM_MULTI)) {
3192 PauseGame();
3193 }
3194
3195 ui_ShowCursor();
3196}
3197
3198void EndGameMenu() {
3199 ui_HideCursor();

Callers 1

ProcessNormalKeyFunction · 0.85

Calls 4

SetUICallbackFunction · 0.85
SuspendControlsFunction · 0.85
PauseGameFunction · 0.85
ui_ShowCursorFunction · 0.85

Tested by

no test coverage detected