diff options
author | Max Horn | 2006-09-18 19:22:40 +0000 |
---|---|---|
committer | Max Horn | 2006-09-18 19:22:40 +0000 |
commit | 06ddd876a5b1d76641740a0fadd4c1a5e88c3627 (patch) | |
tree | 0f17ecb519d400c38c3ce954309f4c1ee6619ae2 /engines/scumm/gfx.cpp | |
parent | d9f16b8a4ad24fdc6dfc9551cdb929814d26c1b6 (diff) | |
download | scummvm-rg350-06ddd876a5b1d76641740a0fadd4c1a5e88c3627.tar.gz scummvm-rg350-06ddd876a5b1d76641740a0fadd4c1a5e88c3627.tar.bz2 scummvm-rg350-06ddd876a5b1d76641740a0fadd4c1a5e88c3627.zip |
Fix --disable-he
svn-id: r23932
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r-- | engines/scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 4330d75beb..1de8a7ad08 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1711,6 +1711,7 @@ void Gdi::decodeMask(int x, int y, const int width, const int height, } } +#ifndef DISABLE_HE /** * Draw a bitmap onto a virtual screen. This is main drawing method for room backgrounds * used throughout HE71+ versions. @@ -1803,7 +1804,6 @@ 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_BE('BMAP'), ptr); assert(bmap_ptr); @@ -1828,7 +1828,6 @@ void Gdi::drawBMAPObject(const byte *ptr, VirtScreen *vs, int obj, int x, int y, ((ScummEngine_v71he *)_vm)->restoreBackgroundHE(rect1); } -#endif } void ScummEngine_v70he::restoreBackgroundHE(Common::Rect rect, int dirtybit) { @@ -1867,6 +1866,7 @@ void ScummEngine_v70he::restoreBackgroundHE(Common::Rect rect, int dirtybit) { blit(dst, virtscr[0].pitch, src, virtscr[0].pitch, rw, rh); markRectAsDirty(kMainVirtScreen, rect, dirtybit); } +#endif /** * Reset the background behind an actor or blast object. |