aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-14 14:06:37 +0000
committerTravis Howell2005-05-14 14:06:37 +0000
commit93be3e16d8f9e6f8edec316ec749e189b2f33cc8 (patch)
tree002e60c05c198e3588243d5b46b50356615b8d6a /scumm/gfx.cpp
parent30d4f8634137787033d3a6be96673a96f0863b4f (diff)
downloadscummvm-rg350-93be3e16d8f9e6f8edec316ec749e189b2f33cc8.tar.gz
scummvm-rg350-93be3e16d8f9e6f8edec316ec749e189b2f33cc8.tar.bz2
scummvm-rg350-93be3e16d8f9e6f8edec316ec749e189b2f33cc8.zip
Add configure option to disable HE 70+ games.
svn-id: r18091
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 1283f17c43..182a90915b 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -799,6 +799,7 @@ void ScummEngine::redrawBGAreas() {
_bgNeedsRedraw = false;
}
+#ifndef DISABLE_HE
void ScummEngine_v71he::redrawBGAreas() {
if (camera._cur.x != camera._last.x && _charset->_hasMask)
stopTalk();
@@ -817,6 +818,7 @@ void ScummEngine_v72he::redrawBGAreas() {
ScummEngine_v71he::redrawBGAreas();
flushWizBuffer();
}
+#endif
void ScummEngine::redrawBGStrip(int start, int num) {
byte *room;
@@ -1622,6 +1624,7 @@ void Gdi::drawBMAPBg(const byte *ptr, VirtScreen *vs) {
}
void Gdi::drawBMAPObject(const byte *ptr, VirtScreen *vs, int obj, int x, int y, int w, int h) {
+#ifndef DISABLE_HE
const byte *bmap_ptr = _vm->findResourceData(MKID('BMAP'), ptr);
assert(bmap_ptr);
@@ -1646,6 +1649,7 @@ void Gdi::drawBMAPObject(const byte *ptr, VirtScreen *vs, int obj, int x, int y,
copyVirtScreenBuffers(rect1);
}
+#endif
}
void Gdi::copyVirtScreenBuffers(Common::Rect rect, int dirtybit) {