diff options
author | johndoe123 | 2014-03-18 16:17:38 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 18540a5e385997815f5a7c237328d7bc0b10c174 (patch) | |
tree | 2f34b07441f48e94175e8602beec912719ecf0b8 /engines/illusions/scriptopcodes.h | |
parent | 3fc592df497b957b42aa4eec27f8f77f899e0700 (diff) | |
download | scummvm-rg350-18540a5e385997815f5a7c237328d7bc0b10c174.tar.gz scummvm-rg350-18540a5e385997815f5a7c237328d7bc0b10c174.tar.bz2 scummvm-rg350-18540a5e385997815f5a7c237328d7bc0b10c174.zip |
ILLUSIONS: Add SequenceOpcodes skeleton class
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; |