diff options
author | Paul Gilbert | 2016-06-26 12:39:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:25:09 -0400 |
commit | 6f063c4703e5705edbba7ad39ef9c0656b74bc75 (patch) | |
tree | 64cb04d4e3f3a327f6a080ffef8e7af6c0f12152 /engines/titanic/npcs/deskbot.cpp | |
parent | 0146a3c6b6bdb16eef6f46e116b0d9fe9883858f (diff) | |
download | scummvm-rg350-6f063c4703e5705edbba7ad39ef9c0656b74bc75.tar.gz scummvm-rg350-6f063c4703e5705edbba7ad39ef9c0656b74bc75.tar.bz2 scummvm-rg350-6f063c4703e5705edbba7ad39ef9c0656b74bc75.zip |
TITANIC: Fleshing out CGameObject and CPetControl methods
Diffstat (limited to 'engines/titanic/npcs/deskbot.cpp')
-rw-r--r-- | engines/titanic/npcs/deskbot.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp index eb42a8e21d..3fe92367ce 100644 --- a/engines/titanic/npcs/deskbot.cpp +++ b/engines/titanic/npcs/deskbot.cpp @@ -80,7 +80,7 @@ bool CDeskbot::TurnOn(CTurnOn *msg) { setVisible(true); playClip("BellRinging", 4); playSound("b#69.wav"); - setPetArea(PET_CONVERSATION); + petSetArea(PET_CONVERSATION); _npcFlags |= NPCFLAG_20000; _deskbotActive = true; @@ -110,7 +110,7 @@ bool CDeskbot::MovieEndMsg(CMovieEndMsg *msg) { bool flag = false; if (_npcFlags & NPCFLAG_10000) { if (_classNum) { - setPetArea(PET_ROOMS); + petSetArea(PET_ROOMS); dec54(); unlockMouse(); playSound("z#47.wav", 100, 0, 0); @@ -169,25 +169,25 @@ bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) { case 19: inc54(); lockMouse(); - setPetArea(PET_CONVERSATION); + petSetArea(PET_CONVERSATION); playClip("ReprogramPETInHand", 4); _npcFlags |= NPCFLAG_10000; _classNum = msg->_param1; switch (_classNum) { case 1: - petDisplayMsg("You have been upgraded to 1st Class status. Enjoy hugely."); + petDisplayMessage("You have been upgraded to 1st Class status. Enjoy hugely."); setPassengerClass(_classNum); - reassignRoom(_classNum); + petReassignRoom(_classNum); break; case 2: - petDisplayMsg("You have been upgraded to 2nd Class status. Enjoy."); + petDisplayMessage("You have been upgraded to 2nd Class status. Enjoy."); setPassengerClass(_classNum); - reassignRoom(_classNum); + petReassignRoom(_classNum); break; case 3: setPassengerClass(3); - reassignRoom(_classNum); + petReassignRoom(_classNum); break; default: break; |