[Scummvm-cvs-logs] scummvm master -> 0211c0b27cff86506ae8e1125693abf204305d5f

sev- sev at scummvm.org
Wed Jun 15 07:34:39 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0211c0b27c SCUMM HE: Plugged Moonbase distortion in


Commit: 0211c0b27cff86506ae8e1125693abf204305d5f
    https://github.com/scummvm/scummvm/commit/0211c0b27cff86506ae8e1125693abf204305d5f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-06-15T07:33:52+02:00

Commit Message:
SCUMM HE: Plugged Moonbase distortion in

Changed paths:
    engines/scumm/he/moonbase/distortion.cpp
    engines/scumm/he/wiz_he.cpp



diff --git a/engines/scumm/he/moonbase/distortion.cpp b/engines/scumm/he/moonbase/distortion.cpp
index 8465771..0bef245 100644
--- a/engines/scumm/he/moonbase/distortion.cpp
+++ b/engines/scumm/he/moonbase/distortion.cpp
@@ -190,6 +190,7 @@ void Moonbase::blitDistortion(byte *bufferData, const int bufferWidth, const int
 		int src_x = (x + xOffset);
 		int src_y = (y + yOffset);
 
+		warning("x1: %d y1: %d x2: %d y2: %d", (src_x - l_reach), (src_y - t_reach), (src_x + r_reach), (src_y + b_reach));
 		Common::Rect srcReach((src_x - l_reach), (src_y - t_reach), (src_x + r_reach), (src_y + b_reach));
 		Common::Rect srcLimits(srcBitmap.w, srcBitmap.h);
 
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index e55c3cb..b152b40 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1817,6 +1817,7 @@ void Wiz::copy555WizImage(uint8 *dst, uint8 *wizd, int dstPitch, int dstType,
 		((ScummEngine_v100he *)_vm)->_moonbase->blitT14WizImage(dst, dstw, dsth, dstPitch, clipBox, wizd, srcx, srcy, rawROP, paramROP);
 	} else if (compID == 0x12340802) {
 		warning("Distortion codec");
+		((ScummEngine_v100he *)_vm)->_moonbase->blitDistortion(dst, dstw, dsth, dstPitch, clipBox, wizd, srcx, srcy, 0);
 	} else if (compID == 0x12340902) {
 		error("Unsupported Distortion");
 	}






More information about the Scummvm-git-logs mailing list