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

Function InitDedicatedServer

Descent3/init.cpp:1785–1796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1783}
1784
1785void InitDedicatedServer() {
1786 Game_mode |= GM_MULTI;
1787 Netgame.local_role = LR_SERVER;
1788
1789 int ok = LoadServerConfigFile();
1790
1791 if (!ok) {
1792 PrintDedicatedMessage(TXT_SHUTTINGDOWN);
1793 Error("Cannot load Dedicated Server config file.");
1794 exit(0);
1795 }
1796}
1797
1798/*
1799 The D3 Initialization Mess

Callers 1

InitD3Systems2Function · 0.85

Calls 3

LoadServerConfigFileFunction · 0.85
PrintDedicatedMessageFunction · 0.85
ErrorFunction · 0.85

Tested by

no test coverage detected