diff options
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r-- | engines/sherlock/surface.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h index 385fb1793e..7d8b2819b0 100644 --- a/engines/sherlock/surface.h +++ b/engines/sherlock/surface.h @@ -60,6 +60,11 @@ private: void transBlitFromUnscaled(const Graphics::Surface &src, const Common::Point &pt, bool flipped, int overrideColor); + /** + * Draws a surface at a given position within this surface with transparency + */ + void transBlitFrom(const Graphics::Surface &src, const Common::Point &destPos, const Common::Rect &srcBounds, + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); protected: Graphics::Surface _surface; @@ -116,19 +121,19 @@ public: * Draws an image frame at a given position within this surface with transparency */ void transBlitFrom(const ImageFrame &src, const Common::Point &pt, - bool flipped = false, int overrideColor = 0, int scaleVal = 256); + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); /** * Draws a surface at a given position within this surface with transparency */ void transBlitFrom(const Surface &src, const Common::Point &pt, - bool flipped = false, int overrideColor = 0, int scaleVal = 256); + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); /** * Draws a surface at a given position within this surface with transparency */ void transBlitFrom(const Graphics::Surface &src, const Common::Point &pt, - bool flipped = false, int overrideColor = 0, int scaleVal = 256); + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); /** * Fill a given area of the surface with a given color |