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

Function CtlConfigUICB

Descent3/ctlconfig.cpp:1324–1338  ·  view source on GitHub ↗

keep multiplayer going!

Source from the content-addressed store, hash-verified

1322}
1323// keep multiplayer going!
1324void CtlConfigUICB() {
1325 if (Game_mode & (GM_MULTI)) {
1326 Skip_render_game_frame = true;
1327 GameFrame();
1328 Skip_render_game_frame = false;
1329 } else if (GetFunctionMode() == GAME_MODE) {
1330 extern void GameProcessMusic();
1331 float saved_frame_time = Frametime;
1332 Frametime = UIFrameTime;
1333 Sound_system.BeginSoundFrame(true);
1334 GameProcessMusic();
1335 Sound_system.EndSoundFrame();
1336 Frametime = saved_frame_time;
1337 }
1338}
1339// the main controller config menu loop
1340void CtlConfig(int mode) {
1341 newuiLargeMenu menu;

Callers

nothing calls this directly

Calls 5

GameFrameFunction · 0.85
GetFunctionModeFunction · 0.85
GameProcessMusicFunction · 0.85
BeginSoundFrameMethod · 0.80
EndSoundFrameMethod · 0.80

Tested by

no test coverage detected