aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/gfx.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-03 02:19:22 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitf01a03e91865a4cec1119bb83a5682d8f5f25553 (patch)
tree68c5ccfbc0a7d62bc4f5330bc4e7bd008f286de6 /engines/dm/gfx.h
parentc756d1755670ed26c0171b6207279e4c321293be (diff)
downloadscummvm-rg350-f01a03e91865a4cec1119bb83a5682d8f5f25553.tar.gz
scummvm-rg350-f01a03e91865a4cec1119bb83a5682d8f5f25553.tar.bz2
scummvm-rg350-f01a03e91865a4cec1119bb83a5682d8f5f25553.zip
DM: Add default parameters to DipslayMan::f132_blitToBitmap
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r--engines/dm/gfx.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h
index 72f9fa6cff..1515229d7d 100644
--- a/engines/dm/gfx.h
+++ b/engines/dm/gfx.h
@@ -547,8 +547,11 @@ public:
void f99_copyBitmapAndFlipHorizontal(byte *srcBitmap, byte *destBitmap, uint16 byteWidth, uint16 height);
+ /* srcHeight and destHeight are not necessary for blitting, only error checking, thus they are defaulted for existing code which
+ does not pass anything, newly imported calls do pass srcHeght and srcWidth, so this is a ceonvenience change so the the parameters
+ match the original exatcly, if need arises for heights then we'll have to retrospectively add them in old function calls*/
void f132_blitToBitmap(byte *srcBitmap, byte *destBitmap, Box &box, uint16 srcX, uint16 srcY, uint16 srcWidth,
- uint16 destWidth, Color transparent = k255_ColorNoTransparency); // @ F0132_VIDEO_Blit
+ uint16 destWidth, Color transparent = k255_ColorNoTransparency, int16 srcHeight = -1, int16 destHight = -1); // @ F0132_VIDEO_Blit
void f133_blitBoxFilledWithMaskedBitmap(byte *src, byte *dest, byte *mask, byte *tmp, Box &box, int16 lastUnitIndex,
int16 firstUnitIndex, int16 destPixelWidth, Color transparent,