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

Method SetMusicRegion

Descent3/mmItem.cpp:458–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void mmInterface::SetMusicRegion(int region) {
459 if (region == -1) {
460 D3MusicStop();
461 D3MusicStart("mainmenu.omf");
462 SetMusicRegion(MM_MUSIC_REGION);
463 } else {
464 D3MusicSetRegion(region, true);
465 }
466}
467
468// display menu scene
469void MenuScene() {

Callers 1

MainMenuFunction · 0.80

Calls 3

D3MusicStopFunction · 0.85
D3MusicStartFunction · 0.85
D3MusicSetRegionFunction · 0.85

Tested by

no test coverage detected