aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2005-03-28 20:18:36 +0000
committerMax Horn2005-03-28 20:18:36 +0000
commitc5a77afb01dcb4dc9329cecbb603beb73cfed592 (patch)
tree5883e06e7a263e66ada8af8a8035136b366c549a /scumm/verbs.cpp
parent6d62b11af70a5ed41c8f3b054314466d9337421a (diff)
downloadscummvm-rg350-c5a77afb01dcb4dc9329cecbb603beb73cfed592.tar.gz
scummvm-rg350-c5a77afb01dcb4dc9329cecbb603beb73cfed592.tar.bz2
scummvm-rg350-c5a77afb01dcb4dc9329cecbb603beb73cfed592.zip
Cleaned up the object mode code; removed the friend class ScummEngine from class Gdi; moved dither code to ScummEngine
svn-id: r17277
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 154e6d9093..80b4517159 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -578,13 +578,9 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
imptr = getObjectImage(obim, 1);
}
assert(imptr);
- if (_version == 1) {
- gdi._objectMode = true;
- gdi.decodeC64Gfx(imptr, gdi._C64.objectMap, imgw * imgh * 3);
- }
for (i = 0; i < imgw; i++) {
tmp = xstrip + i;
- gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
+ gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr | Gdi::dbObjectMode);
}
vst = &_verbs[verb];