diff options
author | Vladimir Menshakov | 2009-09-05 08:16:35 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-05 08:16:35 +0000 |
commit | 622c4684fe9cc962f2ebb6e9c48facfda0aba35b (patch) | |
tree | 6f01f7cf108988cd7e4a5dec1407b1f0cb95642f /engines/teenagent/callbacks.cpp | |
parent | 6af8ed6bf9a481eeb8d2f16dadfb5b098c1daeb3 (diff) | |
download | scummvm-rg350-622c4684fe9cc962f2ebb6e9c48facfda0aba35b.tar.gz scummvm-rg350-622c4684fe9cc962f2ebb6e9c48facfda0aba35b.tar.bz2 scummvm-rg350-622c4684fe9cc962f2ebb6e9c48facfda0aba35b.zip |
removed magic exe offsets, added teenagent.dat support.
svn-id: r43954
Diffstat (limited to 'engines/teenagent/callbacks.cpp')
-rw-r--r-- | engines/teenagent/callbacks.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp index 7ad369009e..e3a05fff46 100644 --- a/engines/teenagent/callbacks.cpp +++ b/engines/teenagent/callbacks.cpp @@ -1276,6 +1276,25 @@ bool TeenAgentEngine::processCallback(uint16 addr) { } return true; + case 0x60b5: + if (CHECK_FLAG(0xDBAE, 1)) { + processCallback(0x60d9); + Dialog::show(scene, 0x2FDD); + } else { + Dialog::show(scene, 0x2E41); + processCallback(0x60d9); + Dialog::show(scene, 0x2E6d); + } + return true; + + case 0x60d9: { + Object *obj = scene->getObject(3); + moveTo(obj->actor_rect.right, obj->actor_rect.bottom, obj->actor_orientation); + processCallback(0x612b); + moveTo(48, 190, 3); + } + return true; + case 0x6176: if (CHECK_FLAG(0xDBA4, 1)) { displayMessage(0x3801); |