aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/scripts.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-23 23:47:05 -0500
committerPaul Gilbert2015-01-23 23:47:05 -0500
commit06b7eb220e6f7a98007f6eb011a23b04812506b1 (patch)
tree336d011171072470236609e7e5f439fdfda6ff67 /engines/xeen/scripts.h
parent7bfc0344210cf1ea85ccbe784ea54d172ebadc40 (diff)
downloadscummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.tar.gz
scummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.tar.bz2
scummvm-rg350-06b7eb220e6f7a98007f6eb011a23b04812506b1.zip
XEEN: Implemented If script opcode
Diffstat (limited to 'engines/xeen/scripts.h')
-rw-r--r--engines/xeen/scripts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/xeen/scripts.h b/engines/xeen/scripts.h
index 862c54d229..fb415cac8d 100644
--- a/engines/xeen/scripts.h
+++ b/engines/xeen/scripts.h
@@ -41,8 +41,8 @@ enum Opcode {
OP_NPC = 0x05,
OP_PlayFX = 0x06,
OP_TeleportAndExit = 0x07,
- OP_If_1 = 0x08,
- OP_If_2 = 0x09,
+ OP_If1 = 0x08,
+ OP_If2 = 0x09,
OP_If3 = 0x0A,
OP_MoveObj = 0x0B,
OP_TakeOrGive = 0x0C,
@@ -207,6 +207,8 @@ private:
void doWorldEnd();
void doEnding(const Common::String &endStr, int v2);
+
+ bool ifProc(int action, uint32 mask, int mode, int charIndex);
public:
int _animCounter;
bool _eventSkipped;