aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_eob.h
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_eob.h
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_eob.h')
-rw-r--r--engines/kyra/screen_eob.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/screen_eob.h b/engines/kyra/screen_eob.h
index 2e3cbde452..9de6a58a4a 100644
--- a/engines/kyra/screen_eob.h
+++ b/engines/kyra/screen_eob.h
@@ -82,6 +82,9 @@ public:
const uint8 *getEGADitheringTable();
private:
+ void updateDirtyRects();
+ void ditherRect(const uint8 *src, uint8 *dst, int dstPitch, int srcW, int srcH, int colorKey = -1);
+
void drawShapeSetPixel(uint8 *dst, uint8 col);
void scaleShapeProcessLine2Bit(uint8 *&shpDst, const uint8 *&shpSrc, uint32 transOffsetDst, uint32 transOffsetSrc);
void scaleShapeProcessLine4Bit(uint8 *&dst, const uint8 *&src);
@@ -109,6 +112,7 @@ private:
const uint8 *_cgaMappingDefault;
uint8 *_egaDitheringTable;
+ uint8 *_egaDitheringTempPage;
static const uint8 _egaMatchTable[];
static const ScreenDim _screenDimTable[];