aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-22 20:41:50 -0400
committerPaul Gilbert2015-08-22 20:41:50 -0400
commitc6633404c9580aab1c312d8ad1adadcaf4797a8d (patch)
tree24b34b87ef24c91b561e2c61dc44306d7227d950 /engines/sherlock/surface.h
parent1659e357c2aa3f051cb3baa20bbb0a4282948048 (diff)
downloadscummvm-rg350-c6633404c9580aab1c312d8ad1adadcaf4797a8d.tar.gz
scummvm-rg350-c6633404c9580aab1c312d8ad1adadcaf4797a8d.tar.bz2
scummvm-rg350-c6633404c9580aab1c312d8ad1adadcaf4797a8d.zip
SHERLOCK: RT: Simplified implementation of transBlitFrom
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r--engines/sherlock/surface.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h
index 7d8b2819b0..385fb1793e 100644
--- a/engines/sherlock/surface.h
+++ b/engines/sherlock/surface.h
@@ -60,11 +60,6 @@ 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;
@@ -121,19 +116,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 = SCALE_THRESHOLD);
+ bool flipped = false, int overrideColor = 0, int scaleVal = 256);
/**
* 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 = SCALE_THRESHOLD);
+ bool flipped = false, int overrideColor = 0, int scaleVal = 256);
/**
* 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 = SCALE_THRESHOLD);
+ bool flipped = false, int overrideColor = 0, int scaleVal = 256);
/**
* Fill a given area of the surface with a given color