aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-22 12:10:01 -0400
committerPaul Gilbert2015-08-22 12:10:01 -0400
commitc0915e95a0112a64c85f909afc8b717357c1c94a (patch)
tree0870766ce68a2faa17cc4458467d479829235711 /engines/sherlock/surface.h
parentb21991098c28e002aaa5a91d8c3fafede2ece18d (diff)
downloadscummvm-rg350-c0915e95a0112a64c85f909afc8b717357c1c94a.tar.gz
scummvm-rg350-c0915e95a0112a64c85f909afc8b717357c1c94a.tar.bz2
scummvm-rg350-c0915e95a0112a64c85f909afc8b717357c1c94a.zip
SHERLOCK: RT: Fix Sherlock being drawn behind desk at Hospital
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r--engines/sherlock/surface.h11
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