SHERLOCK: Fix regression in intro sequence display

This commit is contained in:
Paul Gilbert 2015-05-19 19:08:48 -04:00
parent 20d859377d
commit 9c56d616b0
2 changed files with 7 additions and 7 deletions

View File

@ -88,7 +88,7 @@ bool Animation::play(const Common::String &filename, int minDelay, int fade,
// Draw the sprite. Note that we explicitly use the raw frame below, rather than the ImageFrame,
// since we don't want the offsets in the image file to be used, just the explicit position we specify
screen.transBlitFrom(images[imageFrame], pt);
screen.transBlitFrom(images[imageFrame]._frame, pt);
} else {
// At this point, either the sprites for the frame has been complete, or there weren't any sprites
// at all to draw for the frame

View File

@ -53,12 +53,6 @@ private:
* Draws a sub-section of a surface at a given position within this surface
*/
void blitFrom(const Graphics::Surface &src, const Common::Point &pt, const Common::Rect &srcBounds);
/**
* 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);
protected:
Graphics::Surface _surface;
@ -116,6 +110,12 @@ public:
void transBlitFrom(const Surface &src, const Common::Point &pt,
bool flipped = false, int overrideColor = 0);
/**
* 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);
/**
* Fill a given area of the surface with a given color
*/