aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-25 04:45:28 +0000
committerMartin Kiewitz2010-07-25 04:45:28 +0000
commit3090ee6ee710bf7c2c43a69e36740a829852f65d (patch)
tree9bb83387e9a0a3037eeb44842da7607a92907072 /engines/sci/engine
parentb90493bba0f860608ee32834774e56def66eafaf (diff)
downloadscummvm-rg350-3090ee6ee710bf7c2c43a69e36740a829852f65d.tar.gz
scummvm-rg350-3090ee6ee710bf7c2c43a69e36740a829852f65d.tar.bz2
scummvm-rg350-3090ee6ee710bf7c2c43a69e36740a829852f65d.zip
SCI: sci32 changes
- mouse position now gets adjusted inside kGetEvent - priority is read out during kFrameout - check planeRect - check if plane picture resource actually exists fixes sq6 svn-id: r51270
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kevent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index e752f1e8bb..93bdb5ccf3 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -50,6 +50,7 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
// Limit the mouse cursor position, if necessary
g_sci->_gfxCursor->refreshPosition();
mousePos = g_sci->_gfxCursor->getPosition();
+ g_sci->_gfxCoordAdjuster->getEvent(mousePos);
// If there's a simkey pending, and the game wants a keyboard event, use the
// simkey instead of a normal event