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

Function ResetScriptList

editor/ObjCScript.cpp:318–322  ·  view source on GitHub ↗

Resets all entries in script list to null.

Source from the content-addressed store, hash-verified

316
317// Resets all entries in script list to null.
318void ResetScriptList() {
319 int i;
320 for (i = 0; i < MAX_SCRIPTS; i++)
321 Script_names[i].used = false;
322}
323
324// This function generates ScriptWizard comment header information for script files
325// if it doesn't already have it. This should be called whenever a script file is loaded and compiled

Callers 5

OnInitDialogMethod · 0.85
OnDestroyMethod · 0.85
OnEditScriptMethod · 0.85
LoadCurrentModuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected