Public Member Functions | |
ScriptOpcodes (DragonsEngine *vm, DragonFLG *dragonFLG) | |
void | runScript (ScriptOpCall &scriptOpCall) |
void | runScript3 (ScriptOpCall &scriptOpCall) |
bool | runScript4 (ScriptOpCall &scriptOpCall) |
void | execOpcode (ScriptOpCall &scriptOpCall) |
void | executeScriptLoop (ScriptOpCall &scriptOpCall) |
void | loadTalkDialogEntries (ScriptOpCall &scriptOpCall) |
Public Attributes | |
int16 | _numDialogStackFramesToPop |
int16 | _scriptTargetINI |
SpecialOpcodes * | _specialOpCodes |
Protected Member Functions | |
void | initOpcodes () |
void | freeOpcodes () |
void | updateReturn (ScriptOpCall &scriptOpCall, uint16 size) |
void | opUnk1 (ScriptOpCall &scriptOpCall) |
void | opAddDialogChoice (ScriptOpCall &scriptOpCall) |
void | opPopDialogStack (ScriptOpCall &scriptOpCall) |
void | opExecuteScript (ScriptOpCall &scriptOpCall) |
void | opSetActorDirection (ScriptOpCall &scriptOpCall) |
void | opPerformActionOnObject (ScriptOpCall &scriptOpCall) |
void | opMoveObjectToScene (ScriptOpCall &scriptOpCall) |
void | opActorLoadSequence (ScriptOpCall &scriptOpCall) |
void | opSetVariable (ScriptOpCall &scriptOpCall) |
void | opRunSpecialOpCode (ScriptOpCall &scriptOpCall) |
void | opPlayOrStopSound (ScriptOpCall &scriptOpCall) |
void | opDelay (ScriptOpCall &scriptOpCall) |
void | opMoveActorToPoint (ScriptOpCall &scriptOpCall) |
void | opMoveActorToXY (ScriptOpCall &scriptOpCall) |
void | opMoveActorToObject (ScriptOpCall &scriptOpCall) |
void | opUnk11FlickerTalk (ScriptOpCall &scriptOpCall) |
void | opLoadScene (ScriptOpCall &scriptOpCall) |
void | opIfStatement (ScriptOpCall &scriptOpCall) |
void | opIfElseStatement (ScriptOpCall &scriptOpCall) |
void | opUnk15PropertiesRelated (ScriptOpCall &scriptOpCall) |
void | opUnk16 (ScriptOpCall &scriptOpCall) |
void | opWaitForActorSequenceToFinish (ScriptOpCall &scriptOpCall) |
void | opDialogAtPoint (ScriptOpCall &scriptOpCall) |
void | opExecuteObjectSceneScript (ScriptOpCall &scriptOpCall) |
void | opUpdatePaletteCycling (ScriptOpCall &scriptOpCall) |
void | opWaitForActorToFinishWalking (ScriptOpCall &scriptOpCall) |
void | opShowActor (ScriptOpCall &scriptOpCall) |
void | opHideActor (ScriptOpCall &scriptOpCall) |
void | opSetActorFlag0x1000 (ScriptOpCall &scriptOpCall) |
void | opPlayMusic (ScriptOpCall &scriptOpCall) |
void | opPreLoadSceneData (ScriptOpCall &scriptOpCall) |
void | opPauseCurrentSpeechAndFetchNextDialog (ScriptOpCall &scriptOpCall) |
bool | evaluateExpression (ScriptOpCall &scriptOpCall) |
void | setVariable (ScriptOpCall &scriptOpCall) |
void | opCode_Unk7 (ScriptOpCall &scriptOpCall) |
void | opCodeActorTalk (ScriptOpCall &scriptOpCall) |
uint16 | getINIField (uint32 iniIndex, uint16 fieldOffset) |
void | setINIField (uint32 iniIndex, uint16 fieldOffset, uint16 value) |
Protected Attributes | |
DragonsEngine * | _vm |
DragonFLG * | _dragonFLG |
ScriptOpcode * | _opcodes [0x23] |
Common::String | _opcodeNames [0x23] |