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

Function StartDedicatedServer

Descent3/dedicated_server.cpp:369–376  ·  view source on GitHub ↗

Starts a dedicated server and loads the server config file

Source from the content-addressed store, hash-verified

367
368// Starts a dedicated server and loads the server config file
369void StartDedicatedServer() {
370 int t = FindArgChar("-dedicated", 'd');
371 // int t=FindArg ("-dedicated");
372 if (!t)
373 return;
374
375 Dedicated_server = true;
376}
377
378// Sets the value for a cvar NONE type
379void SetCVarNone(int index) {

Callers 1

mainFunction · 0.85

Calls 1

FindArgCharFunction · 0.85

Tested by

no test coverage detected