From 06b7eb220e6f7a98007f6eb011a23b04812506b1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 23 Jan 2015 23:47:05 -0500 Subject: XEEN: Implemented If script opcode --- engines/xeen/scripts.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/xeen/scripts.h') 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; -- cgit v1.2.3