From 53473f0498579d456131ec9edc0654ec6ab0dc8d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 Oct 2006 10:04:23 +0000 Subject: Add debug opcode table for PP and other minor changes for PP svn-id: r24050 --- engines/agos/cursor.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/agos/cursor.cpp') diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp index 27db13a019..c431ae490c 100644 --- a/engines/agos/cursor.cpp +++ b/engines/agos/cursor.cpp @@ -321,8 +321,7 @@ void AGOSEngine::handleMouseMoved() { _rightButtonDown = 0; setVerb(NULL); } - } - if (getGameType() == GType_SIMON2) { + } else if (getGameType() == GType_SIMON2) { if (getBitFlag(79)) { if (!_vgaVar9) { if (_mouseX >= 315 || _mouseX < 9) @@ -349,8 +348,14 @@ void AGOSEngine::handleMouseMoved() { x = 0; if (_lastHitArea3 == 0 && _leftButtonDown != 0) { + if (getGameType() == GType_PP) + _verbHitArea = 300; _leftButtonDown = 0; x = 1; + } else if (getGameType() == GType_PP && _rightButtonDown != 0) { + _verbHitArea = 300; + _rightButtonDown = 0; + x = 1; } else { if (_hitarea_unk_3 == 0 && _needHitAreaRecalc == 0) goto get_out; -- cgit v1.2.3