diff options
author | Paul Gilbert | 2016-05-28 21:42:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:16:43 -0400 |
commit | 421812f27c59e53e68dfbaa777284c74a8fb7938 (patch) | |
tree | 0ca956f0212727260a7edb41272f1bbaa1bcf704 /engines/titanic/npcs/deskbot.cpp | |
parent | a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9 (diff) | |
download | scummvm-rg350-421812f27c59e53e68dfbaa777284c74a8fb7938.tar.gz scummvm-rg350-421812f27c59e53e68dfbaa777284c74a8fb7938.tar.bz2 scummvm-rg350-421812f27c59e53e68dfbaa777284c74a8fb7938.zip |
TITANIC: More implementing deskbot message handlers
Diffstat (limited to 'engines/titanic/npcs/deskbot.cpp')
-rw-r--r-- | engines/titanic/npcs/deskbot.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp index dcd27466db..548738d930 100644 --- a/engines/titanic/npcs/deskbot.cpp +++ b/engines/titanic/npcs/deskbot.cpp @@ -110,7 +110,6 @@ bool CDeskbot::MovieEndMsg(CMovieEndMsg *msg) { flag = true; } - bool flag = false; if (_npcFlags & NPCFLAG_40000) { _deskbotActive = false; _npcFlags &= ~(NPCFLAG_40000 | NPCFLAG_20000); @@ -155,7 +154,26 @@ bool CDeskbot::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) { - // TODO + switch (msg->_action) { + case 19: + inc54(); + lockMouse(); + setPetArea(PET_CONVERSATION); + playClip("ReprogramPETInHand", 4); + _npcFlags |= NPCFLAG_10000; + _field10C = msg->_param1; + + switch (_field10C) { + case 1: + petDisplayMsg("You have been upgraded to 1st Class status. Enjoy hugely."); + + break; + case 2: + petDisplayMsg("You have been upgraded to 2nd Class status. Enjoy."); + break; + } + } + return true; } |