diff options
author | lukaslw | 2014-06-06 22:21:39 +0200 |
---|---|---|
committer | lukaslw | 2014-06-22 20:08:44 +0200 |
commit | dcd9c48906f9039d05c9545a4f90418f10aeef2a (patch) | |
tree | 77dd7bec7cdc93edeb1931664f8f3ebb93e5fc5d /engines/prince/graphics.h | |
parent | aeea3302d537d66d3f144f72bcfa9d083e8b512c (diff) | |
download | scummvm-rg350-dcd9c48906f9039d05c9545a4f90418f10aeef2a.tar.gz scummvm-rg350-dcd9c48906f9039d05c9545a4f90418f10aeef2a.tar.bz2 scummvm-rg350-dcd9c48906f9039d05c9545a4f90418f10aeef2a.zip |
PRINCE: getBlendTableColor(), drawTransparentWithBlend()
Diffstat (limited to 'engines/prince/graphics.h')
-rw-r--r-- | engines/prince/graphics.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |