aboutsummaryrefslogtreecommitdiff
path: root/engines/composer
diff options
context:
space:
mode:
authorAlyssa Milburn2011-07-19 16:11:49 +0200
committerAlyssa Milburn2011-07-19 16:11:49 +0200
commit6dfbf74a745246c3dd5503c7999b51d076cd574c (patch)
treefdb3d78b324482312f720d265622e59dc15d8654 /engines/composer
parent2fc49ba2b958f664165b9a0b16789696c30a8a3c (diff)
downloadscummvm-rg350-6dfbf74a745246c3dd5503c7999b51d076cd574c.tar.gz
scummvm-rg350-6dfbf74a745246c3dd5503c7999b51d076cd574c.tar.bz2
scummvm-rg350-6dfbf74a745246c3dd5503c7999b51d076cd574c.zip
COMPOSER: Implement kFuncGetMousePos.
Diffstat (limited to 'engines/composer')
-rw-r--r--engines/composer/scripting.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/composer/scripting.cpp b/engines/composer/scripting.cpp
index 5df83e4f8e..ba1cdd7c74 100644
--- a/engines/composer/scripting.cpp
+++ b/engines/composer/scripting.cpp
@@ -647,8 +647,9 @@ int16 ComposerEngine::scriptFuncCall(uint16 id, int16 param1, int16 param2, int1
_queuedScripts[param1]._scriptId = param3;
return 0;
case kFuncGetMousePos:
- // TODO
- warning("ignoring kFuncGetMousePos(%d, %d)", param1, param2);
+ debug(3, "kFuncGetMousePos(%d, %d)", param1, param2);
+ _vars[param1] = _lastMousePos.x;
+ _vars[param2] = _lastMousePos.y;
return 0;
case kFuncChangeBackground:
// TODO