diff options
author | Filippos Karapetis | 2013-04-28 23:29:31 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-04-28 23:31:10 +0300 |
commit | d840aa4dec7c2d03389012c85d295d80e50cd902 (patch) | |
tree | 7260892b002cc66658834ab0320f57c5308204ee /engines/sci/engine | |
parent | 9eb5d23a5e0b9ec5137101ab9c33f329d53341b4 (diff) | |
download | scummvm-rg350-d840aa4dec7c2d03389012c85d295d80e50cd902.tar.gz scummvm-rg350-d840aa4dec7c2d03389012c85d295d80e50cd902.tar.bz2 scummvm-rg350-d840aa4dec7c2d03389012c85d295d80e50cd902.zip |
SCI: Change wording for the cursor position workarounds
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kevent.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index 34477cc23b..11ef18c0c2 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -87,10 +87,11 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) { g_sci->getVocabulary()->parser_event = NULL_REG; // Invalidate parser event if (s->_cursorWorkaroundActive) { - // ffs: GfxCursor::setPosition() - // we check, if actual cursor position is inside given rect - // if that's the case, we switch ourself off. Otherwise - // we simulate the original set position to the scripts + // We check if the actual cursor position is inside specific rectangles + // where the cursor itself should be moved to. If this is the case, we + // set the mouse cursor's position to be within the rectangle in + // question. Check GfxCursor::setPosition(), for a more detailed + // explanation and a list of cursor position workarounds. if (s->_cursorWorkaroundRect.contains(mousePos.x, mousePos.y)) { s->_cursorWorkaroundActive = false; } else { |