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

Function SetGamemodeScript

Descent3/game.cpp:865–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863///////////////////////////////////////////////////////////////////////////////
864
865void SetGamemodeScript(const char *scrfilename, int num_teams) {
866 if (scrfilename != NULL)
867 strcpy(Gamemode_info.scriptname, scrfilename);
868 else
869 Gamemode_info.scriptname[0] = 0;
870 Gamemode_info.requested_num_teams = num_teams;
871}
872
873void RenderBlankScreen(void);
874bool InitGameScript() {

Callers 3

MultiStartServerFunction · 0.85
MultiStartClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected