aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/video32.h
diff options
context:
space:
mode:
authorColin Snover2016-11-04 20:45:45 -0500
committerColin Snover2016-11-04 20:45:45 -0500
commit2eea7dc9615b665ffcae881f8cf921a295399453 (patch)
treec4e01b54c1cf882d602deb6f037fbcdf7cd9a80c /engines/sci/graphics/video32.h
parent4bfd005c78b4093c01f08ab3e9a3ecf9189c8c84 (diff)
downloadscummvm-rg350-2eea7dc9615b665ffcae881f8cf921a295399453.tar.gz
scummvm-rg350-2eea7dc9615b665ffcae881f8cf921a295399453.tar.bz2
scummvm-rg350-2eea7dc9615b665ffcae881f8cf921a295399453.zip
SCI32: Implement kPlayVMDIgnorePalettes
Used in Shivers room 35170 when pressing the play button.
Diffstat (limited to 'engines/sci/graphics/video32.h')
-rw-r--r--engines/sci/graphics/video32.h12
1 files changed, 12 insertions, 0 deletions
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
@@ -414,6 +421,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.
*/
void renderFrame() const;