diff options
author | Colin Snover | 2017-04-07 13:33:28 -0500 |
---|---|---|
committer | Colin Snover | 2017-04-23 13:07:25 -0500 |
commit | 4d9b019b18e66f58a7cd88348dfbcd6bf6d93c79 (patch) | |
tree | 7de8e2840e79023f2b4d82313957c0641da5cff9 /engines | |
parent | 09fea5f108f66083899860ae343d2ae25f8036f0 (diff) | |
download | scummvm-rg350-4d9b019b18e66f58a7cd88348dfbcd6bf6d93c79.tar.gz scummvm-rg350-4d9b019b18e66f58a7cd88348dfbcd6bf6d93c79.tar.bz2 scummvm-rg350-4d9b019b18e66f58a7cd88348dfbcd6bf6d93c79.zip |
SCI32: Activate SCI3 draw/erase list calculation algorithm
This code branch, existing since at least SQ6 but apparently never
used by any SCI2/2.1 game, is in fact the algorithm used by SCI3.
This fixes (at least) doubled rendering of transparent surfaces
like the background of the inventory window and conversation
choices panel in LSL7.
Diffstat (limited to 'engines')
-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 aa8cd52d42..a8724dee67 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -435,8 +435,7 @@ void Plane::calcLists(Plane &visiblePlane, const PlaneList &planeList, DrawList DrawList::size_type drawListSizePrimary = drawList.size(); const RectList::size_type eraseListCount = eraseList.size(); - // TODO: Figure out which games need which rendering method - if (/* TODO: dword_C6288 */ false) { // "high resolution pictures" + if (getSciVersion() == SCI_VERSION_3) { _screenItemList.sort(); bool pictureDrawn = false; bool screenItemDrawn = false; |