aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.h
diff options
context:
space:
mode:
authorColin Snover2017-07-03 20:11:02 -0500
committerColin Snover2017-07-06 19:12:38 -0500
commit8cb35442c073b5ed5a0f3fa7d5e627bdd85af229 (patch)
tree73378e68056f20a3567b2aff8efdca6e55709701 /engines/sci/sci.h
parente9bef896462d6f99c4c89672de90c99e879415a2 (diff)
downloadscummvm-rg350-8cb35442c073b5ed5a0f3fa7d5e627bdd85af229.tar.gz
scummvm-rg350-8cb35442c073b5ed5a0f3fa7d5e627bdd85af229.tar.bz2
scummvm-rg350-8cb35442c073b5ed5a0f3fa7d5e627bdd85af229.zip
SCI32: Improve kShowMovieWin (AVI) rendering
1. Added a new game option for linear interpolation when scaling video in ScummVM builds with USE_RGB_COLOR; 2. 8bpp videos that put black in a palette index other than 0 (KQ7) should now always render correctly without the earlier game-specific workarounds which did not work very well; 3. Data from game scripts regarding video size and position are now ignored, since games always just try to show videos in the middle of the screen, but frequently get this a little bit wrong, causing either bad aspect ratios or off-center videos; 4. Builds without USE_RGB_COLOR support will not crash when attempting to play >8bpp AVIs, like those from KQ7 2.00b. Fixes Trac#9843, Trac#9762.
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r--engines/sci/sci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 8109317cdf..ff3b515dcc 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -56,6 +56,7 @@ namespace Sci {
// HIGH_RESOLUTION_GRAPHICS availability is checked for in SciEngine::run()
#define GAMEOPTION_HIGH_RESOLUTION_GRAPHICS GUIO_GAMEOPTIONS8
#define GAMEOPTION_ENABLE_BLACK_LINED_VIDEO GUIO_GAMEOPTIONS9
+#define GAMEOPTION_HQ_VIDEO GUIO_GAMEOPTIONS10
struct EngineState;
class Vocabulary;