aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-15 11:19:32 +0000
committerPaul Gilbert2010-06-15 11:19:32 +0000
commitdeb907de637b963af91aa530251fad5ad6b45025 (patch)
treeb3d8d7e8fdfc8aabf4fc89d089f763e96bca07e7 /engines/m4/graphics.h
parentab901bccd06ea88fdd7c16f77e8f7e437092e9eb (diff)
downloadscummvm-rg350-deb907de637b963af91aa530251fad5ad6b45025.tar.gz
scummvm-rg350-deb907de637b963af91aa530251fad5ad6b45025.tar.bz2
scummvm-rg350-deb907de637b963af91aa530251fad5ad6b45025.zip
Bugfixes to depth processing that was causing the 'Microprose Design Group' message not to appear in the first intro scene
svn-id: r49801
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r--engines/m4/graphics.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h
index 6901b72e87..24c0edf223 100644
--- a/engines/m4/graphics.h
+++ b/engines/m4/graphics.h
@@ -157,10 +157,9 @@ public:
void reset();
void frameRect(const Common::Rect &r, uint8 color);
void fillRect(const Common::Rect &r, uint8 color);
- void copyFrom(M4Surface *src, const Common::Rect &srcBounds, int destX, int destY,
- int transparentColour = -1);
- void copyFrom(M4Surface *src, int destX, int destY, int depth, M4Surface *depthSurface, int scale,
- int transparentColour = -1);
+ void copyFrom(M4Surface *src, const Common::Rect &srcBounds, int destX, int destY, int transparentColour = -1);
+ void copyFrom(M4Surface *src, int destX, int destY, Common::Point destAdjust, int depth, M4Surface *depthSurface,
+ int scale, int transparentColour = -1);
void update() {
if (_isScreen) {
@@ -182,7 +181,7 @@ public:
}
inline void copyTo(M4Surface *dest, int destX, int destY, int depth, M4Surface *depthsSurface, int scale,
int transparentColour = -1) {
- dest->copyFrom(this, destX, destY, depth, depthsSurface, scale, transparentColour);
+ dest->copyFrom(this, destX, destY, Common::Point(0, 0), depth, depthsSurface, scale, transparentColour);
}
void scrollX(int xAmount);