Let IHNM run again. It has 105 script functions.

svn-id: r16653
This commit is contained in:
Eugene Sandulenko 2005-01-28 03:47:12 +00:00
parent ad53c8c9a4
commit 285f6a6a2b
3 changed files with 37 additions and 3 deletions

View file

@ -126,7 +126,33 @@ void Script::setupScriptFuncList(void) {
OPCODE(SF_protectResult),
OPCODE(sfRand),
OPCODE(SF_fadeMusic),
OPCODE(SF_playVoice)
OPCODE(SF_playVoice),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub)
};
_scriptFunctionsList = scriptFunctionsList;
}
@ -1561,4 +1587,11 @@ void Script::finishDialog(int replyID, int flags, int bitOffset) {
wakeUpThreads(kWaitTypeDialogBegin);
}
void Script::SF_stub(SCRIPTFUNC_PARAMS) {
for (int i = 0; i < nArgs; i++)
thread->pop();
debug(1, "stub: SF_stub(), %d args", nArgs);
}
} // End of namespace Saga