diff options
| author | Max Horn | 2002-12-21 01:11:42 +0000 |
|---|---|---|
| committer | Max Horn | 2002-12-21 01:11:42 +0000 |
| commit | 50f7ffbeb6109eb92461b45678a7514b84ea54a4 (patch) | |
| tree | 961fafa6f44d7a1b63d9f61b42ff520e94d9c853 /scumm/object.cpp | |
| parent | f2fe67fbdb535b43ddee032a1a322dc2631f530b (diff) | |
| download | scummvm-rg350-50f7ffbeb6109eb92461b45678a7514b84ea54a4.tar.gz scummvm-rg350-50f7ffbeb6109eb92461b45678a7514b84ea54a4.tar.bz2 scummvm-rg350-50f7ffbeb6109eb92461b45678a7514b84ea54a4.zip | |
got rid of _curVirtScreen and VirtScreen::unk1; added some comments to gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default)
svn-id: r6037
Diffstat (limited to 'scumm/object.cpp')
| -rw-r--r-- | scumm/object.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 621221f1b9..e4c15dd380 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -336,8 +336,6 @@ void Scumm::drawObject(int obj, int arg) if (_BgNeedsRedraw) arg = 0; - _curVirtScreen = &virtscr[0]; - od = &_objs[obj]; xpos = od->x_pos >> 3; @@ -386,7 +384,7 @@ void Scumm::drawObject(int obj, int arg) // the inventory and conversation icons. if ((_features & GF_AFTER_V7 || _gameId == GID_SAMNMAX) && getClass(od->obj_nr, 22)) flags |= Gdi::dbDrawMaskOnAll; - gdi.drawBitmap(ptr, _curVirtScreen, x, ypos, height, x - xpos, numstrip, flags); + gdi.drawBitmap(ptr, &virtscr[0], x, ypos, height, x - xpos, numstrip, flags); } } |
