TEENAGENT: Added missing callback for pushing House #2 doorbell.

This is incomplete, but an improvement. It also shows where one of the
missing messages is used.
This commit is contained in:
D G Turner 2012-08-02 08:44:14 +01:00
parent 4c395c9da9
commit 21d7db6578
2 changed files with 8 additions and 7 deletions

View File

@ -1596,6 +1596,14 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
displayMessage(dsAddr_dontNeedToOpenMsg); // "I don't need to open it"
break;
case 0x5b44:
// FIXME - This is the doorbell use callback on House #2
// i.e. Granny and Anne's House. Need to analyse cseg data properly.
// Current code inferred from behaviour.
// FIXME - Add animation call for Ego pushing doorbell.
displayMessage(dsAddr_ItsOpenMsg);
break;
case 0x5c72:
displayMessage(dsAddr_notTiredMsg); // "Thanks, I'm not tired"
break;
@ -4912,10 +4920,6 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
default:
warning("unknown callback %04x called", addr);
// FIXME - unknown non-trivial callback 0x5b44 called!
// This is the doorbell use callback on House #2 i.e.
// Granny and Anne's House. Need to analyse cseg data.
// FIXME - unknown non-trivial callback 0x4056 called!
// This is the bird use callback in the first act at
// the mudpool. Need to analyse cseg data.

View File

@ -756,11 +756,8 @@ const uint16 dsAddr_nothingToPlayMsg = 0x5d6e; // "I have nothing to play"
const uint16 dsAddr_notMineMsg = 0x5d87; // "I can't take it. It's not mine."
// Hey What's The Matter Message : 0x5da8 to 0x5dc1
const uint16 dsAddr_HeyWtmQMsg = 0x5da8; // "Hey! What's the matter?!"
// FIXME - Where is this used?!
// Its Open Message : 0x5dc2 to 0x5dcd
const uint16 dsAddr_ItsOpenMsg = 0x5dc2; // "It's Open!"
// Out Of Order Message : 0x5dce to 0x5de1
const uint16 dsAddr_outOfOrderMsg = 0x5dce; // "It's out of order"
// Captain Watching Message : 0x5de2 to 0x5e0a