[Scummvm-git-logs] scummvm master -> 30ed738a7f206424854d69b05d1f0c2031131881

bonki bonki at users.noreply.github.com
Thu Mar 15 00:16:19 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
30ed738a7f TUCKER: Comment out dead code, match disassembly


Commit: 30ed738a7f206424854d69b05d1f0c2031131881
    https://github.com/scummvm/scummvm/commit/30ed738a7f206424854d69b05d1f0c2031131881
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-03-15T00:11:11+01:00

Commit Message:
TUCKER: Comment out dead code, match disassembly

Setting _mousePosY is only necessary if we actually set the cursor
position which we currently don't do. I don't plan on enabling it
but for the sake of matching disassembly let's add the required
warpMouse() call and disable the whole code block for now.

Changed paths:
    engines/tucker/tucker.cpp


diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 3df3d43..309e0f2 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -829,9 +829,13 @@ void TuckerEngine::updateMouseState() {
 		if (_panelType == kPanelTypeEmpty) {
 			setCursorStyle(kCursorTalk);
 		}
+#if 0
+		// confine cursor to dialog area
 		if (_mousePosY < 140) {
 			_mousePosY = 140;
+			_system->warpMouse(_mousePosX, _mousePosY);
 		}
+#endif
 	}
 }
 





More information about the Scummvm-git-logs mailing list