aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BRenderSDL.h
diff options
context:
space:
mode:
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