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

Function DoUI

Descent3/newui_core.cpp:594–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592//
593
594int DoUI() {
595 // this should poll UI_frame_result.
596 UI_frame_result = -1;
597 ui_ShowCursor();
598 ui_Flush();
599
600 while (UI_frame_result == -1) {
601 Descent->defer();
602 DoUIFrame();
603 rend_Flip();
604 }
605
606 ui_HideCursor();
607 ui_Flush();
608
609 return UI_frame_result;
610}
611
612// does one frame of ui.
613void DoUIFrame() {

Callers 6

DoMultiAllowedFunction · 0.85
MultiGameOptionsMenuFunction · 0.85
DoUIMethod · 0.85
DoModalMethod · 0.85
msn_ShowDownloadChoicesFunction · 0.85
DemoPostPlaybackMenuFunction · 0.85

Calls 6

ui_ShowCursorFunction · 0.85
ui_FlushFunction · 0.85
DoUIFrameFunction · 0.85
ui_HideCursorFunction · 0.85
rend_FlipFunction · 0.50
deferMethod · 0.45

Tested by

no test coverage detected