aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/msurface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-08 22:07:42 -0500
committerPaul Gilbert2015-02-08 22:07:42 -0500
commit5e00b39caec66e1c5626a89f207c26c577fd30d8 (patch)
treed8d81eb6a19754c031fd603b4f6af5810fd38878 /engines/mads/msurface.h
parentcbbd1a92192ad118897f645f1aa6e968bff01466 (diff)
downloadscummvm-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.h7
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 {