diff options
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index fc6280531f..a686495e6d 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -366,7 +366,7 @@ void Scumm::drawDirtyScreenParts() { byte *src; updateDirtyScreen(2); - if (_features & GF_OLD256) + if (_features & GF_AFTER_V3) updateDirtyScreen(1); if (camera._last.x == camera._cur.x && (camera._last.y == camera._cur.y || !(_features & GF_AFTER_V7))) { @@ -522,7 +522,7 @@ void Scumm::initBGBuffers(int height) { } room = getResourceAddress(rtRoom, _roomResource); - if (_features & GF_OLD256) { + if (_features & GF_AFTER_V3) { // FIXME - maybe this should check for multiple planes like we do // for GF_SMALL_HEADER already. gdi._numZBuffer = 2; @@ -854,7 +854,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h, (ptr[-4] == 'O' && ptr[-3] == 'I' && READ_LE_UINT32(ptr - 8) > READ_LE_UINT32(ptr) + 12)) { zplane_list[1] = smap_ptr + READ_LE_UINT32(ptr); // FIXME - how does GF_OLD256 encode the multiple zplanes? - if (!(_vm->_features & GF_OLD256)) + if (!(_vm->_features & GF_AFTER_V3)) for (i = 2; i < numzbuf; i++) { zplane_list[i] = zplane_list[i-1] + READ_LE_UINT16(zplane_list[i-1]); } @@ -984,7 +984,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h, if (!zplane_list[i]) continue; - if (_vm->_features & GF_OLD256) + if (_vm->_features & GF_AFTER_V3) // GF_OLD256 or GF_AFTER_V3 ? offs = READ_LE_UINT16(zplane_list[i] + stripnr * 2 + 4); else if (_vm->_features & GF_SMALL_HEADER) offs = READ_LE_UINT16(zplane_list[i] + stripnr * 2 + 2); |