aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cursors.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-06-26 07:20:21 +0200
committerBastien Bouclet2016-06-26 08:37:07 +0200
commit3391c726cf2cdb6a5523765eefdeb124291f5608 (patch)
tree8cba4e240af10ac34d038859614af69a9ed71281 /engines/mohawk/cursors.h
parentcedcdbc48d391537e4bd867d60665f72b1528a67 (diff)
downloadscummvm-rg350-3391c726cf2cdb6a5523765eefdeb124291f5608.tar.gz
scummvm-rg350-3391c726cf2cdb6a5523765eefdeb124291f5608.tar.bz2
scummvm-rg350-3391c726cf2cdb6a5523765eefdeb124291f5608.zip
MOHAWK: Remap bitmaps not to use undefined colors
The Spanish version of Myst has bitmaps that use palette indices in the system reserved range. Affected pixels previously used colors from the Windows system palette instead of the bitmap's own palette, resulting in visual glitches. Bitmaps are now remapped to the screen palette which is made of the Windows reserved palette and part of the bitmap palette. The original engine used GDI's StretchDIBits with DIB_RGB_COLORS to achieve the same result. Fixes #7153.
Diffstat (limited to 'engines/mohawk/cursors.h')
-rw-r--r--engines/mohawk/cursors.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/mohawk/cursors.h b/engines/mohawk/cursors.h
index c41b5c273e..742ae30107 100644
--- a/engines/mohawk/cursors.h
+++ b/engines/mohawk/cursors.h
@@ -102,7 +102,6 @@ enum {
};
class MohawkEngine_Myst;
-class MystBitmap;
// The cursor manager for Myst
// Uses WDIB + CLRC resources
@@ -119,7 +118,6 @@ public:
private:
MohawkEngine_Myst *_vm;
- MystBitmap *_bmpDecoder;
};
#endif // ENABLE_MYST