diff options
Diffstat (limited to 'engines/illusions/scriptopcodes.h')
-rw-r--r-- | engines/illusions/scriptopcodes.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/illusions/scriptopcodes.h b/engines/illusions/scriptopcodes.h index 78b68e5b59..3f79ea5eea 100644 --- a/engines/illusions/scriptopcodes.h +++ b/engines/illusions/scriptopcodes.h @@ -29,7 +29,19 @@ namespace Illusions { class IllusionsEngine; class ScriptThread; -struct OpCall; + +struct OpCall { + byte _op; + byte _opSize; + uint32 _threadId; + int16 _deltaOfs; + byte *_code; + int _result; + void skip(uint size); + byte readByte(); + int16 readSint16(); + uint32 readUint32(); +}; typedef Common::Functor2<ScriptThread*, OpCall&, void> ScriptOpcode; |