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

Function GenerateScriptListFromFile

editor/ObjCScript.cpp:734–745  ·  view source on GitHub ↗

generates script list from one file

Source from the content-addressed store, hash-verified

732
733// generates script list from one file
734void GenerateScriptListFromFile(const char *fname) {
735 char *script;
736 script = LoadScript(fname);
737 if (script) {
738 if (stricmp(fname, DEFAULT_SCRIPT_NAME) == 0)
739 GenerateScriptWizardInfo(script, false);
740 else
741 GenerateScriptWizardInfo(script, true);
742
743 FreeScript(script);
744 }
745}
746
747//@@
748//@@// ****************************************************************************

Callers 1

Calls 3

LoadScriptFunction · 0.85
GenerateScriptWizardInfoFunction · 0.85
FreeScriptFunction · 0.85

Tested by

no test coverage detected