[Scummvm-cvs-logs] scummvm master -> bd3366c2086e32a569eb15522e0c42dee90d50fb

bluegr md5 at scummvm.org
Wed Jun 20 11:37:13 CEST 2012


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:
bd3366c208 SCI: Add a warning for kRemapColors(RemapByPercent)


Commit: bd3366c2086e32a569eb15522e0c42dee90d50fb
    https://github.com/scummvm/scummvm/commit/bd3366c2086e32a569eb15522e0c42dee90d50fb
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-06-20T02:35:59-07:00

Commit Message:
SCI: Add a warning for kRemapColors(RemapByPercent)

Changed paths:
    engines/sci/engine/kgraphics.cpp



diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 459766c..59dba99 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1237,6 +1237,7 @@ reg_t kRemapColors(EngineState *s, int argc, reg_t *argv) {
 		uint16 percent = argv[2].toUint16(); // 0 - 100
 		if (argc >= 4)
 			warning("RemapByPercent called with 4 parameters, unknown parameter is %d", argv[3].toUint16());
+		warning("kRemapColors: RemapByPercent color %d by %d percent", color, percent);
 		// TODO: It's not correct to set intensity here
 		//g_sci->_gfxPalette->kernelSetIntensity(color, 255, percent, false);
 		}






More information about the Scummvm-git-logs mailing list