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

Function DoEndMission

Descent3/Mission.cpp:1590–1598  ·  view source on GitHub ↗

this functions performs the end mission code */

Source from the content-addressed store, hash-verified

1588/* this functions performs the end mission code
1589 */
1590void DoEndMission() {
1591 if (Game_mode & GM_MULTI) // If multiplayer, just loop
1592 {
1593 if (Dedicated_server)
1594 PrintDedicatedMessage(TXT_DS_MISSIONDONE);
1595 SetCurrentLevel(1);
1596 return;
1597 }
1598}
1599// Shows some text on a background, useful for telling the player what is going on
1600// ie "Loading level...", "Receiving data...", etc
1601void ShowProgressScreen(const char *str, const char *str2, bool flip) {

Callers 1

SetNextLevelFunction · 0.85

Calls 2

PrintDedicatedMessageFunction · 0.85
SetCurrentLevelFunction · 0.85

Tested by

no test coverage detected