aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorD G Turner2012-07-31 14:40:47 +0100
committerD G Turner2012-07-31 14:40:47 +0100
commitd62bb98659356a9c292d759c62bafbb07babbaf8 (patch)
tree1c4bbdcb2d9c616659e8b0836529a3e50ccbf1bf /engines/teenagent
parentb01fdfeec64ff2753aff28c109e6cedaf9b85e02 (diff)
downloadscummvm-rg350-d62bb98659356a9c292d759c62bafbb07babbaf8.tar.gz
scummvm-rg350-d62bb98659356a9c292d759c62bafbb07babbaf8.tar.bz2
scummvm-rg350-d62bb98659356a9c292d759c62bafbb07babbaf8.zip
TEENAGENT: Resolve two FIXMEs by adding missing callbacks.
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/callbacks.cpp12
-rw-r--r--engines/teenagent/resources.h7
2 files changed, 13 insertions, 6 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp
index 8963ac52fd..6cd9e46f97 100644
--- a/engines/teenagent/callbacks.cpp
+++ b/engines/teenagent/callbacks.cpp
@@ -599,6 +599,10 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
inventory->add(0x5c);
break;
+ case 0x41c3:
+ displayMessage(dsAddr_pullObjMsg2); // "I can't reach it"
+ break;
+
case 0x41ca:
rejectMessage();
break;
@@ -2078,6 +2082,14 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
displayMessage(dsAddr_throwCrumbsToBirdQMsg); // "Should I throw the crumbs to the bird?"
break;
+ case 0x7cd7:
+ displayMessage(dsAddr_dontWasteCrumbs); // "I don't want to waste these tasty crumbs"
+ break;
+
+ case 0x7cde:
+ displayMessage(dsAddr_mightSlipFallInMsg); // "Better not... I might slip and fall in..."
+ break;
+
case 0x7ce5: // put spring on the solid ground
playSound(5, 2);
playSound(19, 11);
diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h
index ed22383f52..71eaebe1ef 100644
--- a/engines/teenagent/resources.h
+++ b/engines/teenagent/resources.h
@@ -769,21 +769,16 @@ const uint16 dsAddr_firstBusinessMsg = 0x5e25; // "First I've got some business
// No Digging Knife Message : 0x5e54 to 0x5e8e
const uint16 dsAddr_noDiggingKnifeMsg = 0x5e54; // "Digging it out with the knife could take a hundred years"
-// FIXME - Where is this message used?!
+// FIXME - Where is this message used?! Unused?
// No Mess On Table Message : 0x5e8f to 0x5ebd
const uint16 dsAddr_noMessOnTableMsg = 0x5e8f; // "I don't want to make more mess on this table"
// Throw Crumbs To Bird Question Message : 0x5ebe to 0x5ee5
const uint16 dsAddr_throwCrumbsToBirdQMsg = 0x5ebe; // "Should I throw the crumbs to the bird?"
-
-// FIXME - Where is this message used?!
// Don't Waste Crumbs Message : 0x5ee6 to 0x5f10
const uint16 dsAddr_dontWasteCrumbs = 0x5ee6; // "I don't want to waste these tasty crumbs"
-
-// FIXME - Where is this message used?!
// Might Slip Fall In Message : 0x5f11 to 0x5f3b
const uint16 dsAddr_mightSlipFallInMsg = 0x5f11; // "Better not... I might slip and fall in..."
-
// Book Color Message Address Pointers : (6 * 2-byte) = 0x5f3c to 0x5f47
const uint16 dsAddr_bookColorMsgPtr = 0x5f3c;
// Book Color Message #0 : 0x5f48 to 0x5f60