[Scummvm-cvs-logs] SF.net SVN: scummvm:[51501] scummvm/trunk/engines/sci/engine/kgraphics.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Jul 30 10:44:43 CEST 2010


Revision: 51501
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51501&view=rev
Author:   m_kiewitz
Date:     2010-07-30 08:44:40 +0000 (Fri, 30 Jul 2010)

Log Message:
-----------
SCI: arguments of mag-kSetCursor documented

adding primitive support to just set the cursor to the required view resource, nothing else implemented yet

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-07-30 08:21:54 UTC (rev 51500)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-07-30 08:44:40 UTC (rev 51501)
@@ -185,6 +185,13 @@
 		// Freddy pharkas, when using the whiskey glass to read the prescription (bug #3034973)
 		// magnifier support, disabled using argc == 1, argv == -1
 		warning("kSetCursor: unsupported magnifier");
+		// we just set the view cursor currently
+		g_sci->_gfxCursor->kernelSetView(argv[5].toUint16(), argv[6].toUint16(), argv[7].toUint16(), hotspot);
+		// argv[0] -> 1, 2, 4 -> maybe magnification multiplier
+		// argv[1-4] -> rect for magnification
+		// argv[5, 6, 7] -> view resource for cursor
+		// argv[8] -> picture resource for mag
+		// argv[9] -> color for magnifier replacement
 		break;
 	default :
 		error("kSetCursor: Unhandled case: %d arguments given", argc);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list