MCPcopy Create free account
hub / github.com/arx/ArxLibertatis / InitScript

Function InitScript

Sources/DANAE/ARX_Script.cpp:13550–13574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13548}
13549
13550void InitScript(EERIE_SCRIPT * es)
13551{
13552 for (long i = 0; i < MAX_GOSUB; i++)
13553 {
13554 es->sub[i] = -1;
13555 }
13556
13557 es->allowevents = 0;
13558 es->nblvar = 0;
13559
13560 if (es->lvar)
13561 {
13562 free(es->lvar);
13563 es->lvar = NULL;
13564 }
13565
13566 es->master = NULL;
13567
13568 for (long j = 0; j < MAX_SCRIPTTIMERS; j++)
13569 es->timers[j] = 0;
13570
13571
13572
13573 ARX_SCRIPT_ComputeShortcuts(es);
13574}
13575
13576LRESULT CALLBACK ShowTextDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
13577{

Callers 4

LoadInter_ExFunction · 0.85
GetIOScriptFunction · 0.85
ReloadScriptFunction · 0.85

Calls 1

Tested by

no test coverage detected