From 93eb6ec64aa2ee2e276c7c2ddd57a269b539af28 Mon Sep 17 00:00:00 2001 From: athrxx Date: Sat, 17 Nov 2012 21:46:12 +0100 Subject: KYRA: (EOB) - implement simplified EGA dithering for EOB II --- engines/kyra/screen_eob.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/kyra/screen_eob.h') 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[]; -- cgit v1.2.3