diff options
author | Colin Snover | 2017-07-03 20:12:39 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-06 19:12:38 -0500 |
commit | 7057f232d75732c320fb470a8632a4c2f055a47f (patch) | |
tree | fe9bb0cb48530eee2c6a35fd911240e46efcce21 /engines/sci/graphics/plane32.cpp | |
parent | 8cb35442c073b5ed5a0f3fa7d5e627bdd85af229 (diff) | |
download | scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.tar.gz scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.tar.bz2 scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.zip |
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.
Diffstat (limited to 'engines/sci/graphics/plane32.cpp')
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |