mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 11:46:54 +00:00
SHERLOCK: Fix regression in intro sequence display
This commit is contained in:
parent
20d859377d
commit
9c56d616b0
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user