diff options
author | Martin Kiewitz | 2010-07-30 08:44:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-30 08:44:40 +0000 |
commit | 2fc1461f2bee59da2517a2373005deaae3dd6e0b (patch) | |
tree | 3eb2ce8abe53dc74135e31cacf82ebfb7b6ed8fb /engines/sci/engine | |
parent | 034fb5343fcc71b095d8d29c3d3c4586c38ac9c9 (diff) | |
download | scummvm-rg350-2fc1461f2bee59da2517a2373005deaae3dd6e0b.tar.gz scummvm-rg350-2fc1461f2bee59da2517a2373005deaae3dd6e0b.tar.bz2 scummvm-rg350-2fc1461f2bee59da2517a2373005deaae3dd6e0b.zip |
SCI: arguments of mag-kSetCursor documented
adding primitive support to just set the cursor to the required view resource, nothing else implemented yet
svn-id: r51501
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 954c306e0c..6df26b04cc 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -185,6 +185,13 @@ static reg_t kSetCursorSci11(EngineState *s, int argc, reg_t *argv) { // 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); |