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

Function DoUIFrame

Descent3/newui_core.cpp:613–640  ·  view source on GitHub ↗

does one frame of ui.

Source from the content-addressed store, hash-verified

611
612// does one frame of ui.
613void DoUIFrame() {
614 if (Multi_bail_ui_menu) {
615 UI_frame_result = NEWUIRES_FORCEQUIT;
616 } else {
617 if (UI_callback)
618 (*UI_callback)();
619
620 if (GetFunctionMode() == MENU_MODE) {
621 tMusicSeqInfo music_info;
622
623 Sound_system.BeginSoundFrame(false);
624
625 music_info.frametime = UIFrameTime;
626 music_info.player_dead = false;
627 music_info.started_level = false;
628 D3MusicDoFrame(&music_info);
629
630 Sound_system.EndSoundFrame();
631 }
632
633 UI_frame_result = ui_DoFrame();
634 }
635
636 if (UI_input.printscreen) {
637 UI_input.printscreen = false;
638 DoScreenshot();
639 }
640}
641
642// does one frame of ui.
643void DoUIFrameWithoutInput() {

Callers 9

PostLevelResultsFunction · 0.85
DoUIFunction · 0.85
DoUIMethod · 0.85
DoWaitMessageFunction · 0.85
DoWaitPopupFunction · 0.85
PollUIFunction · 0.85
FDlg_EnableWaitMessageFunction · 0.85
msn_ExtractZipFileFunction · 0.85
DoUIMethod · 0.85

Calls 6

GetFunctionModeFunction · 0.85
D3MusicDoFrameFunction · 0.85
ui_DoFrameFunction · 0.85
DoScreenshotFunction · 0.85
BeginSoundFrameMethod · 0.80
EndSoundFrameMethod · 0.80

Tested by

no test coverage detected