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

Function MultiEndLevel

Descent3/multi.cpp:3563–3568  ·  view source on GitHub ↗

Some DLL is telling us to end the level!

Source from the content-addressed store, hash-verified

3561
3562// Some DLL is telling us to end the level!
3563void MultiEndLevel() {
3564 MULTI_ASSERT(Netgame.local_role == LR_SERVER, NULL);
3565 SetGameState(GAMESTATE_LVLEND);
3566 PrintDedicatedMessage(TXT_DS_ENDINGLEVEL);
3567 Multi_bail_ui_menu = true;
3568}
3569
3570// server is telling us the level has ended
3571void MultiDoLevelEnded(uint8_t *data) {

Callers 4

msafe_CallFunctionFunction · 0.85
SetCVarNoneFunction · 0.85
SetCVarIntFunction · 0.85

Calls 2

SetGameStateFunction · 0.85
PrintDedicatedMessageFunction · 0.85

Tested by

no test coverage detected