From dcd9c48906f9039d05c9545a4f90418f10aeef2a Mon Sep 17 00:00:00 2001 From: lukaslw Date: Fri, 6 Jun 2014 22:21:39 +0200 Subject: PRINCE: getBlendTableColor(), drawTransparentWithBlend() --- engines/prince/graphics.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/prince/graphics.h') diff --git a/engines/prince/graphics.h b/engines/prince/graphics.h index cd3d8b4f35..7651dae7a1 100644 --- a/engines/prince/graphics.h +++ b/engines/prince/graphics.h @@ -30,6 +30,7 @@ namespace Prince { class PrinceEngine; struct DrawNode; +class MhwanhDecoder; class GraphicsMan { @@ -46,11 +47,14 @@ public: void draw(uint16 x, uint16 y, const Graphics::Surface *s); void drawTransparentSurface(int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); + void drawTransparentWithBlend(int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); static void drawTransparent(Graphics::Surface *frontScreen, DrawNode *drawNode); static void drawAsShadow(Graphics::Surface *frontScreen, DrawNode *drawNode); static void drawMask(Graphics::Surface *frontScreen, DrawNode *drawNode); + byte getBlendTableColor(byte pixelColor, byte backgroundPixelColor); + Graphics::Surface *_frontScreen; Graphics::Surface *_backScreen; const Graphics::Surface *_roomBackground; @@ -60,6 +64,8 @@ public: static const byte kShadowColor = 191; + byte *_blendTable; + private: PrinceEngine *_vm; -- cgit v1.2.3