diff options
author | athrxx | 2012-11-17 21:46:12 +0100 |
---|---|---|
committer | athrxx | 2012-11-18 00:03:23 +0100 |
commit | 93eb6ec64aa2ee2e276c7c2ddd57a269b539af28 (patch) | |
tree | 302863ee06372a452a26213a01ae55224ba6b544 /engines/kyra/screen.cpp | |
parent | c8a73d30cf014d8b31822b78877dd8d9fec674f6 (diff) | |
download | scummvm-rg350-93eb6ec64aa2ee2e276c7c2ddd57a269b539af28.tar.gz scummvm-rg350-93eb6ec64aa2ee2e276c7c2ddd57a269b539af28.tar.bz2 scummvm-rg350-93eb6ec64aa2ee2e276c7c2ddd57a269b539af28.zip |
KYRA: (EOB) - implement simplified EGA dithering for EOB II
Diffstat (limited to 'engines/kyra/screen.cpp')
-rw-r--r-- | engines/kyra/screen.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index c400b330b9..6c77870210 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -1074,7 +1074,7 @@ void Screen::fillRect(int x1, int y1, int x2, int y2, uint8 color, int pageNum, color |= (color << 4); } else if (_renderMode == Common::kRenderCGA) { color &= 0x03; - } else if (_renderMode == Common::kRenderEGA) { + } else if (_renderMode == Common::kRenderEGA && !_useHiResEGADithering) { color &= 0x0F; } @@ -1151,7 +1151,7 @@ void Screen::drawLine(bool vertical, int x, int y, int length, int color) { color |= (color << 4); } else if (_renderMode == Common::kRenderCGA) { color &= 0x03; - } else if (_renderMode == Common::kRenderEGA) { + } else if (_renderMode == Common::kRenderEGA && !_useHiResEGADithering) { color &= 0x0F; } @@ -2862,8 +2862,6 @@ void Screen::setShapePages(int page1, int page2, int minY, int maxY) { void Screen::setMouseCursor(int x, int y, const byte *shape) { if (!shape) return; - // if mouseDisabled - // return _mouseShape if (_vm->gameFlags().useAltShapeHeader) shape += 2; |