diff options
author | Andrew Kurushin | 2005-01-22 14:43:49 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-01-22 14:43:49 +0000 |
commit | 4e7d58c843680463b3c4d2cf39aa415dcfe024e5 (patch) | |
tree | 25ae7fb57ae469ae4d48d1ed925ac9eb0e5c6f62 /saga/script.h | |
parent | f3b62a9ed70c3161ec6af307d5b87b6df1013550 (diff) | |
download | scummvm-rg350-4e7d58c843680463b3c4d2cf39aa415dcfe024e5.tar.gz scummvm-rg350-4e7d58c843680463b3c4d2cf39aa415dcfe024e5.tar.bz2 scummvm-rg350-4e7d58c843680463b3c4d2cf39aa415dcfe024e5.zip |
rewritten 15 opcodes
svn-id: r16615
Diffstat (limited to 'saga/script.h')
-rw-r--r-- | saga/script.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/saga/script.h b/saga/script.h index 7ab7fa3d99..ed58dffaf5 100644 --- a/saga/script.h +++ b/saga/script.h @@ -137,6 +137,22 @@ enum OpCodes { opEnter = 0x1A, opReturn = 0x1B, opReturnV = 0x1C, + opJmp = 0x1D, + opJmpTrueV = 0x1E, + opJmpFalseV = 0x1F, + opJmpTrue = 0x20, + opJmpFalse = 0x21, + opJmpSwitch = 0x22, +//... + opJmpRandom = 0x24, + opNegate = 0x25, + opNot = 0x26, + opCompl = 0x27, + opIncV = 0x28, + opDecV = 0x29, + opPostInc = 0x2A, + opPostDec = 0x2B, + //... opSpeak = 0x53, opDialogBegin = 0x54, @@ -226,7 +242,7 @@ public: uint _sleepTime; void *_threadObj; // which object we're handling - uint16 _returnValue; + int16 _returnValue; uint16 _instructionOffset; // Instruction offset |