aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-30 22:35:24 +0200
committerEugene Sandulenko2016-04-30 22:35:24 +0200
commitb5cf66eb865d579560370c705911994109b5e5a5 (patch)
tree733a6546904f536627ed53886ed9fdd95306bd0e /engines/scumm/he
parent832961808a415ebcac5b74c54efb4cfbca0134e7 (diff)
downloadscummvm-rg350-b5cf66eb865d579560370c705911994109b5e5a5.tar.gz
scummvm-rg350-b5cf66eb865d579560370c705911994109b5e5a5.tar.bz2
scummvm-rg350-b5cf66eb865d579560370c705911994109b5e5a5.zip
SCUMM HE: Fix compilation with disabled 16bit color
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/wiz_he.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 5b844e2a25..60eb859303 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1643,6 +1643,8 @@ void Wiz::drawWizImageEx(uint8 *dst, uint8 *dataPtr, uint8 *maskPtr, int dstPitc
}
}
+#ifdef USE_RGB_COLOR
+
void Wiz::copyCompositeWizImage(uint8 *dst, uint8 *wizPtr, uint8 *compositeInfoBlockPtr, uint8 *maskPtr, int dstPitch, int dstType,
int dstw, int dsth, int srcx, int srcy, int srcw, int srch, int state, const Common::Rect *clipBox,
int flags, const uint8 *palPtr, int transColor, uint8 bitDepth, const uint8 *xmapPtr, uint16 conditionBits) {
@@ -1802,6 +1804,8 @@ void Wiz::copyT14WizImage(uint8 *dst, uint8 *wizd, int dstPitch, int dstType,
warning("T14: params %d", nROPParam);
}
+#endif
+
struct PolygonDrawData {
struct PolygonArea {
int32 xmin;