diff options
author | Travis Howell | 2005-04-02 14:24:43 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-02 14:24:43 +0000 |
commit | b5f281e9d8b0f2d75c03b40c2f04e1df1c0cc94c (patch) | |
tree | 11b8365f76d0173232f63e5fb47c1e156b16fbfa /scumm/gfx.cpp | |
parent | eb4dce05ee864dbd2bacc3be85689532bf9c7761 (diff) | |
download | scummvm-rg350-b5f281e9d8b0f2d75c03b40c2f04e1df1c0cc94c.tar.gz scummvm-rg350-b5f281e9d8b0f2d75c03b40c2f04e1df1c0cc94c.tar.bz2 scummvm-rg350-b5f281e9d8b0f2d75c03b40c2f04e1df1c0cc94c.zip |
Cleanup
svn-id: r17333
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 68cae6b929..b5bdcb312a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -777,21 +777,16 @@ void ScummEngine_v70he::redrawBGAreas() { return; } - int val = 0; if (camera._cur.x != camera._last.x && _charset->_hasMask) stopTalk(); byte *room = getResourceAddress(rtRoomImage, _roomResource) + _IM00_offs; - if (findResource(MKID('BMAP'), room) != NULL) { - if (_fullRedraw) { - _bgNeedsRedraw = false; - gdi.drawBMAPBg(room, &virtscr[0]); - } - } else if (findResource(MKID('SMAP'), room) == NULL) { - warning("redrawBGAreas(): Both SMAP and BMAP are missing..."); + if (_fullRedraw) { + _bgNeedsRedraw = false; + gdi.drawBMAPBg(room, &virtscr[0]); } - drawRoomObjects(val); + drawRoomObjects(0); _bgNeedsRedraw = false; } @@ -1629,7 +1624,7 @@ void Gdi::drawBMAPObject(const byte *ptr, VirtScreen *vs, int obj, int x, int y, } } -void Gdi::copyVirtScreenBuffers(Common::Rect rect) { +void Gdi::copyVirtScreenBuffers(Common::Rect rect, int dirtybit) { byte *src, *dst; VirtScreen *vs = &_vm->virtscr[0]; |