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

Function DedicatedServerLex

Descent3/dedicated_server.cpp:305–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305int DedicatedServerLex(const char *command) {
306 for (int i = 0; i < MAX_CVARS; i++)
307 if (stricmp(CVars[i].varname, command) == 0)
308 return i;
309
310 return INFFILE_ERROR;
311}
312
313// Reads in the server config file for a dedicated server
314// Returns true if everything is ok

Callers 2

DoDedicatedServerFrameFunction · 0.85
DedicatedReadTelnetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected