aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/msurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/msurface.h')
-rw-r--r--engines/mads/msurface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h
index 7cf2bbe15b..f590bac2e5 100644
--- a/engines/mads/msurface.h
+++ b/engines/mads/msurface.h
@@ -188,6 +188,14 @@ public:
}
/**
+ * Merges a sub-section of another surface into the current one.
+ * @param src Source surface
+ * @param srcBounds Area to copy/merge from
+ * @param destPos Destination position to draw in current surface
+ */
+ void mergeFrom(MSurface *src, const Common::Rect &srcBounds, const Common::Point &destPos);
+
+ /**
* Scroll the screen horizontally by a given amount
* @param xAmount Horizontal amount
*/