LILLIPUT: Last opcodes1 + first step of script decompiler

This commit is contained in:
sylvaintv 2012-04-28 18:52:15 +02:00 committed by Eugene Sandulenko
parent 2462b8d340
commit 6dfec1f58e
3 changed files with 235 additions and 13 deletions

View file

@ -68,6 +68,7 @@ public:
LilliputScript(LilliputEngine *vm);
~LilliputScript();
void disasmScript(ScriptStream script);
void runScript(ScriptStream script);
void runMenuScript(ScriptStream script);
private:
@ -93,6 +94,8 @@ private:
int handleOpcode(ScriptStream *script);
byte handleOpcodeType1(int curWord);
void handleOpcodeType2(int curWord);
void sub1863B();
void sub185ED(byte index, byte subIndex);