does one frame of ui.
| 641 | |
| 642 | // does one frame of ui. |
| 643 | void DoUIFrameWithoutInput() { |
| 644 | if (Multi_bail_ui_menu) { |
| 645 | UI_frame_result = NEWUIRES_FORCEQUIT; |
| 646 | } else { |
| 647 | if (UI_callback) |
| 648 | (*UI_callback)(); |
| 649 | |
| 650 | if (GetFunctionMode() == MENU_MODE) { |
| 651 | tMusicSeqInfo music_info; |
| 652 | |
| 653 | Sound_system.BeginSoundFrame(false); |
| 654 | |
| 655 | music_info.frametime = UIFrameTime; |
| 656 | music_info.player_dead = false; |
| 657 | music_info.started_level = false; |
| 658 | D3MusicDoFrame(&music_info); |
| 659 | |
| 660 | Sound_system.EndSoundFrame(); |
| 661 | } |
| 662 | |
| 663 | UI_frame_result = ui_DoFrame(false); |
| 664 | } |
| 665 | } |
| 666 | |
| 667 | int GetUIFrameResult() { return UI_frame_result; } |
| 668 |
no test coverage detected