aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BRenderSDL.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-13 20:17:36 +0200
committerEinar Johan Trøan Sømåen2012-06-13 20:17:36 +0200
commitc081d40c961ef61549b4485d79fcb62fc2e2ad73 (patch)
tree232382ae4d313acccd910347b96a619bd4598a86 /engines/wintermute/Base/BRenderSDL.h
parentb8a6dce3988e3599463f56fe401feadc451d5bf0 (diff)
downloadscummvm-rg350-c081d40c961ef61549b4485d79fcb62fc2e2ad73.tar.gz
scummvm-rg350-c081d40c961ef61549b4485d79fcb62fc2e2ad73.tar.bz2
scummvm-rg350-c081d40c961ef61549b4485d79fcb62fc2e2ad73.zip
WINTERMUTE: Move image-loading to BImage, and cleanup some relevant code.
Diffstat (limited to 'engines/wintermute/Base/BRenderSDL.h')
-rw-r--r--engines/wintermute/Base/BRenderSDL.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/wintermute/Base/BRenderSDL.h b/engines/wintermute/Base/BRenderSDL.h
index efcdc5cc4a..2a1910790a 100644
--- a/engines/wintermute/Base/BRenderSDL.h
+++ b/engines/wintermute/Base/BRenderSDL.h
@@ -58,8 +58,10 @@ public:
CBImage *TakeScreenshot();
- void drawFromSurface(Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRest, byte r = 255, byte g = 255, byte b = 255, byte a = 255, bool mirrorX = false, bool mirrorY = false);
- void drawOpaqueFromSurface(Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRest, byte r = 255, byte g = 255, byte b = 255, byte a = 255, bool mirrorX = false, bool mirrorY = false);
+ void setAlphaMod(byte alpha);
+ void setColorMod(byte r, byte g, byte b);
+ void drawFromSurface(Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRest, bool mirrorX = false, bool mirrorY = false);
+ void drawOpaqueFromSurface(Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRest, bool mirrorX = false, bool mirrorY = false);
HRESULT SetViewport(int left, int top, int right, int bottom);
@@ -89,6 +91,7 @@ private:
float _ratioX;
float _ratioY;
+ uint32 _colorMod;
};
} // end of namespace WinterMute