aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/cursor.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-01 10:04:23 +0000
committerTravis Howell2006-10-01 10:04:23 +0000
commit53473f0498579d456131ec9edc0654ec6ab0dc8d (patch)
tree13773dfa9db09c2d83efbdd8b014e414ab0968da /engines/agos/cursor.cpp
parentf59bc6f4a17d70c2fd704305cf7ead0d983110c6 (diff)
downloadscummvm-rg350-53473f0498579d456131ec9edc0654ec6ab0dc8d.tar.gz
scummvm-rg350-53473f0498579d456131ec9edc0654ec6ab0dc8d.tar.bz2
scummvm-rg350-53473f0498579d456131ec9edc0654ec6ab0dc8d.zip
Add debug opcode table for PP and other minor changes for PP
svn-id: r24050
Diffstat (limited to 'engines/agos/cursor.cpp')
-rw-r--r--engines/agos/cursor.cpp9
1 files changed, 7 insertions, 2 deletions
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;