From 2eea7dc9615b665ffcae881f8cf921a295399453 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Fri, 4 Nov 2016 20:45:45 -0500 Subject: SCI32: Implement kPlayVMDIgnorePalettes Used in Shivers room 35170 when pressing the play button. --- engines/sci/graphics/video32.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'engines/sci/graphics/video32.h') diff --git a/engines/sci/graphics/video32.h b/engines/sci/graphics/video32.h index c3ae891c2e..4fc627e674 100644 --- a/engines/sci/graphics/video32.h +++ b/engines/sci/graphics/video32.h @@ -353,6 +353,13 @@ private: #pragma mark - #pragma mark VMDPlayer - Rendering +public: + /** + * Causes the VMD player to ignore all palettes in + * the currently playing video. + */ + void ignorePalettes() { _ignorePalettes = true; } + private: /** * The location of the VMD plane, in game script @@ -413,6 +420,11 @@ private: */ bool _leaveLastFrame; + /** + * Whether or not palettes from the VMD should be ignored. + */ + bool _ignorePalettes; + /** * Renders a frame of video to the output bitmap. */ -- cgit v1.2.3