From 7057f232d75732c320fb470a8632a4c2f055a47f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 3 Jul 2017 20:12:39 -0500 Subject: SCI32: Improve kPlayVMD rendering 1. Added a new game option for linear interpolation when scaling overlay-mode video in ScummVM builds with USE_RGB_COLOR; 2. Implemented SCI2.1-variant of the VMD player renderer (fixes Trac#9857), which bypasses the engine's normal rendering pipeline; 3. Improved accuracy of the SCI3-variant of the VMD player by writing HunkPalettes into the VMD's CelObjMem instead of submitting palettes directly to GfxPalette32. --- engines/sci/graphics/plane32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/sci/graphics/plane32.cpp') diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index 0a69ab2a98..47d41bc752 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -26,6 +26,7 @@ #include "sci/engine/selector.h" #include "sci/engine/state.h" #include "sci/graphics/frameout.h" +#include "sci/graphics/helpers.h" #include "sci/graphics/lists32.h" #include "sci/graphics/plane32.h" #include "sci/graphics/remap32.h" @@ -262,8 +263,6 @@ void Plane::deleteAllPics() { #pragma mark - #pragma mark Plane - Rendering -extern int splitRects(Common::Rect r, const Common::Rect &other, Common::Rect(&outRects)[4]); - void Plane::breakDrawListByPlanes(DrawList &drawList, const PlaneList &planeList) const { const int nextPlaneIndex = planeList.findIndexByObject(_object) + 1; const PlaneList::size_type planeCount = planeList.size(); -- cgit v1.2.3