diff options
author | Paul Gilbert | 2016-10-31 08:25:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-31 08:25:22 -0400 |
commit | 22126a90d04c68ca4b058fd70aa12741a29383c3 (patch) | |
tree | a6d098ea12fce7e8c0019c8c34ac148cd28397e3 /engines/titanic/npcs/doorbot.cpp | |
parent | b34e784c8a6f76f034ebfa62d1c95c809e5414b4 (diff) | |
download | scummvm-rg350-22126a90d04c68ca4b058fd70aa12741a29383c3.tar.gz scummvm-rg350-22126a90d04c68ca4b058fd70aa12741a29383c3.tar.bz2 scummvm-rg350-22126a90d04c68ca4b058fd70aa12741a29383c3.zip |
TITANIC: Implement manual mouse control used during intro
Diffstat (limited to 'engines/titanic/npcs/doorbot.cpp')
-rw-r--r-- | engines/titanic/npcs/doorbot.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp index 096b433873..a3d5a669bf 100644 --- a/engines/titanic/npcs/doorbot.cpp +++ b/engines/titanic/npcs/doorbot.cpp @@ -293,13 +293,15 @@ bool CDoorbot::TimerMsg(CTimerMsg *msg) { break; case 6: + // Start dragging photograph to PET CMouseButtonDownMsg::generate(); mouseSetPosition(Point(200, 430), 2500); _timerId = addTimer(7, 2500, 0); break; case 7: - CMouseButtonDownMsg::generate(); + // Drop photograph in PET + CMouseButtonUpMsg::generate(); startTalking(this, 221486); mouseEnableControl(); unlockInputHandler(); @@ -490,6 +492,7 @@ bool CDoorbot::TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg) } case 10568: + // Start moving cursor to photograph mouseDisableControl(); mouseSetPosition(Point(600, 250), 2500); _timerId = addTimer(6, 2500, 0); |