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.
This commit is contained in:
Colin Snover 2017-04-07 13:33:28 -05:00
parent 09fea5f108
commit 4d9b019b18

View file

@ -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;