From 96723838c6559a2885cdbeaf1a207ee608ed9ce6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 22 Oct 2010 21:08:27 +0000 Subject: TINSEL: Added new opcode set for the DW2 Demo svn-id: r53708 --- engines/tinsel/scene.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/tinsel/scene.h') diff --git a/engines/tinsel/scene.h b/engines/tinsel/scene.h index e17a6ab7a0..2ef7da1289 100644 --- a/engines/tinsel/scene.h +++ b/engines/tinsel/scene.h @@ -78,9 +78,9 @@ enum REEL { typedef enum { TRANS_DEF, TRANS_CUT, TRANS_FADE } TRANSITS; // amount to shift scene handles by -#define SCNHANDLE_SHIFT (TinselV2 ? 25 : 23) -#define OFFSETMASK (TinselV2 ? 0x01ffffffL : 0x007fffffL) -#define HANDLEMASK (TinselV2 ? 0xFE000000L : 0xFF800000L) +#define SCNHANDLE_SHIFT ((TinselV2 && !IsDemo) ? 25 : 23) +#define OFFSETMASK ((TinselV2 && !IsDemo) ? 0x01ffffffL : 0x007fffffL) +#define HANDLEMASK ((TinselV2 && !IsDemo) ? 0xFE000000L : 0xFF800000L) void DoHailScene(SCNHANDLE scene); -- cgit v1.2.3