aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.cpp
diff options
context:
space:
mode:
authorathrxx2012-11-17 21:46:12 +0100
committerathrxx2012-11-18 00:03:23 +0100
commit93eb6ec64aa2ee2e276c7c2ddd57a269b539af28 (patch)
tree302863ee06372a452a26213a01ae55224ba6b544 /engines/kyra/screen.cpp
parentc8a73d30cf014d8b31822b78877dd8d9fec674f6 (diff)
downloadscummvm-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.cpp6
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;