aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
diff options
context:
space:
mode:
authorMax Horn2010-06-28 11:20:51 +0000
committerMax Horn2010-06-28 11:20:51 +0000
commit7e0240ab14d29401877ff0c4d827be859e13ea58 (patch)
treeb00341ab66488210b3087973bb001b12749f7432 /engines/sci/graphics/cursor.cpp
parent2c01d10a36f50da6c8bdcfe70558f7d9a2e56324 (diff)
downloadscummvm-rg350-7e0240ab14d29401877ff0c4d827be859e13ea58.tar.gz
scummvm-rg350-7e0240ab14d29401877ff0c4d827be859e13ea58.tar.bz2
scummvm-rg350-7e0240ab14d29401877ff0c4d827be859e13ea58.zip
SCI: Comment cleanup
svn-id: r50423
Diffstat (limited to 'engines/sci/graphics/cursor.cpp')
-rw-r--r--engines/sci/graphics/cursor.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index c5f4de9cf5..20472d14c4 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -205,7 +205,7 @@ void GfxCursor::kernelSetMacCursor(GuiResourceId viewNum, int loopNum, int celNu
// See http://developer.apple.com/legacy/mac/library/documentation/mac/QuickDraw/QuickDraw-402.html
// for more information.
- // View 998 seems to be a fake resource used to call for for the Mac CURS resources
+ // View 998 seems to be a fake resource used to call for the Mac CURS resources.
// For other resources, they're still in the views, so use them.
if (viewNum != 998) {
kernelSetView(viewNum, loopNum, celNum, hotspot);
@@ -255,10 +255,12 @@ void GfxCursor::kernelSetMacCursor(GuiResourceId viewNum, int loopNum, int celNu
}
void GfxCursor::setPosition(Common::Point pos) {
- // Don't set position, when cursor is not visible
- // This fixes eco quest 1 (floppy) right at the start, which is setting mouse cursor to 0, 0 all the time during the
- // intro. It's escapeable (now) by moving to the left or top, but it's getting on your nerves.
- // This could theoretically break some things, although sierra normally sets position only when showing the cursor.
+ // Don't set position, when cursor is not visible.
+ // This fixes eco quest 1 (floppy) right at the start, which is setting
+ // mouse cursor to (0,0) all the time during the intro. It's escapeable
+ // (now) by moving to the left or top, but it's getting on your nerves. This
+ // could theoretically break some things, although sierra normally sets
+ // position only when showing the cursor.
if (!_isVisible)
return;