diff options
author | Paul Gilbert | 2016-10-21 20:01:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-21 20:01:14 -0400 |
commit | 41d1e0a415c7c5647f2f05e7025c68cbf84a8b91 (patch) | |
tree | 17e010f186aff336bd0caaf0960ad78dd516766d /engines/sherlock/scalpel/3do/scalpel_3do_screen.h | |
parent | bbd5b89c13d67811506d70fe55f7007ca63c7213 (diff) | |
download | scummvm-rg350-41d1e0a415c7c5647f2f05e7025c68cbf84a8b91.tar.gz scummvm-rg350-41d1e0a415c7c5647f2f05e7025c68cbf84a8b91.tar.bz2 scummvm-rg350-41d1e0a415c7c5647f2f05e7025c68cbf84a8b91.zip |
SHERLOCK: 3DO: Fixes to allow game to start
Diffstat (limited to 'engines/sherlock/scalpel/3do/scalpel_3do_screen.h')
-rw-r--r-- | engines/sherlock/scalpel/3do/scalpel_3do_screen.h | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/engines/sherlock/scalpel/3do/scalpel_3do_screen.h b/engines/sherlock/scalpel/3do/scalpel_3do_screen.h index 71674803ba..dc27c10908 100644 --- a/engines/sherlock/scalpel/3do/scalpel_3do_screen.h +++ b/engines/sherlock/scalpel/3do/scalpel_3do_screen.h @@ -34,12 +34,6 @@ namespace Scalpel { class Scalpel3DOScreen : public ScalpelScreen { protected: /** - * Draws a sub-section of a surface at a given position within this surface - * Overriden for the 3DO to automatically double the size of everything to the underlying 640x400 surface - */ - virtual void SHblitFrom(const Graphics::Surface &src, const Common::Point &pt, const Common::Rect &srcBounds); - - /** * Draws a surface at a given position within this surface with transparency */ virtual void transBlitFromUnscaled(const Graphics::Surface &src, const Common::Point &pt, bool flipped, @@ -61,9 +55,36 @@ public: void blitFrom3DOcolorLimit(uint16 color); /** + * Draws a surface on this surface + */ + virtual void SHblitFrom(const Graphics::Surface &src); + + /** + * Draws a surface at a given position within this surface + */ + virtual void SHblitFrom(const Graphics::Surface &src, const Common::Point &destPos); + + /** + * Draws a sub-section of a surface at a given position within this surface + */ + virtual void SHblitFrom(const Graphics::Surface &src, const Common::Point &destPos, const Common::Rect &srcBounds); + + /** + * Draws an image frame at a given position within this surface with transparency + */ + virtual void SHtransBlitFrom(const ImageFrame &src, const Common::Point &pt, + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); + + /** + * Draws an image frame at a given position within this surface with transparency + */ + virtual void SHtransBlitFrom(const Graphics::Surface &src, const Common::Point &pt, + bool flipped = false, int overrideColor = 0, int scaleVal = SCALE_THRESHOLD); + + /** * Fill a given area of the surface with a given color */ - virtual void fillRect(const Common::Rect &r, uint color); + virtual void SHfillRect(const Common::Rect &r, uint color); virtual uint16 width() const; virtual uint16 height() const; |