diff options
author | Paul Gilbert | 2015-02-08 22:07:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-08 22:07:42 -0500 |
commit | 5e00b39caec66e1c5626a89f207c26c577fd30d8 (patch) | |
tree | d8d81eb6a19754c031fd603b4f6af5810fd38878 /engines/mads/msurface.h | |
parent | cbbd1a92192ad118897f645f1aa6e968bff01466 (diff) | |
download | scummvm-rg350-5e00b39caec66e1c5626a89f207c26c577fd30d8.tar.gz scummvm-rg350-5e00b39caec66e1c5626a89f207c26c577fd30d8.tar.bz2 scummvm-rg350-5e00b39caec66e1c5626a89f207c26c577fd30d8.zip |
MADS: Implementing code for panning screen transitions
Diffstat (limited to 'engines/mads/msurface.h')
-rw-r--r-- | engines/mads/msurface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h index 650d7fdaee..754e70bf7f 100644 --- a/engines/mads/msurface.h +++ b/engines/mads/msurface.h @@ -220,6 +220,13 @@ public: * Create a new surface which is a flipped horizontal copy of the current one */ MSurface *flipHorizontal() const; + + /** + * Copy an area from one surface to another, translating it using a palette + * map as it's done + */ + void copyRectTranslate(MSurface &srcSurface, const byte *paletteMap, + const Common::Point &destPos, const Common::Rect &srcRect); }; class DepthSurface : public MSurface { |