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

Function MenuScene

Descent3/mmItem.cpp:469–489  ·  view source on GitHub ↗

display menu scene

Source from the content-addressed store, hash-verified

467
468// display menu scene
469void MenuScene() {
470 extern bool NewUI_wait_dialog; // is wait dialog up?
471
472 if (MM_object) {
473 StartFrame();
474
475 if (static_menu_background) {
476 DrawLargeBitmap(&MM_object->m_art, 0, 0, 1.0f);
477 } else {
478#ifdef MOVIE_MENU
479 FrameMovie(MM_object->m_movie, -1, -1, true);
480#else
481 DrawLargeBitmap(&MM_object->m_art, 0, 0, 1.0f);
482#endif
483 }
484
485 MM_object->CopyrightText();
486
487 EndFrame();
488 }
489}
490
491#define N_MENU_SOUND_SLOTS 4
492

Callers 1

MainMenuFunction · 0.85

Calls 5

StartFrameFunction · 0.85
DrawLargeBitmapFunction · 0.85
FrameMovieFunction · 0.85
EndFrameFunction · 0.85
CopyrightTextMethod · 0.80

Tested by

no test coverage detected