aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-28 18:50:54 -0400
committerPaul Gilbert2016-07-15 19:16:36 -0400
commit1f4eca3d061d85cdc11a8e20834c14de082baedc (patch)
tree9c2941371a70de9c5bc9295084c2e93bd50aaddc
parent66a2500928dffba83622d274c37bf26ceda00caf (diff)
downloadscummvm-rg350-1f4eca3d061d85cdc11a8e20834c14de082baedc.tar.gz
scummvm-rg350-1f4eca3d061d85cdc11a8e20834c14de082baedc.tar.bz2
scummvm-rg350-1f4eca3d061d85cdc11a8e20834c14de082baedc.zip
TITANIC: Message handler stubs for CDeskbot
-rw-r--r--engines/titanic/npcs/deskbot.cpp69
-rw-r--r--engines/titanic/npcs/deskbot.h12
2 files changed, 81 insertions, 0 deletions
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp
index c4745ae8d6..e0e147fabf 100644
--- a/engines/titanic/npcs/deskbot.cpp
+++ b/engines/titanic/npcs/deskbot.cpp
@@ -24,6 +24,20 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CDeskbot, CTrueTalkNPC)
+ ON_MESSAGE(TurnOn)
+ ON_MESSAGE(EnterViewMsg)
+ ON_MESSAGE(ActMsg)
+ ON_MESSAGE(MovieEndMsg)
+ ON_MESSAGE(LeaveViewMsg)
+ ON_MESSAGE(TrueTalkTriggerActionMsg)
+ ON_MESSAGE(NPCPlayTalkingAnimationMsg)
+ ON_MESSAGE(NPCPlayIdleAnimationMsg)
+ ON_MESSAGE(TrueTalkNotifySpeechStartedMsg)
+ ON_MESSAGE(TrueTalkNotifySpeechEndedMsg)
+ ON_MESSAGE(TurnOff)
+END_MESSAGE_MAP()
+
int CDeskbot::_v1;
int CDeskbot::_v2;
@@ -50,4 +64,59 @@ void CDeskbot::load(SimpleFile *file) {
CTrueTalkNPC::load(file);
}
+bool CDeskbot::TurnOn(CTurnOn *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::EnterViewMsg(CEnterViewMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::ActMsg(CActMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::MovieEndMsg(CMovieEndMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::LeaveViewMsg(CLeaveViewMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::NPCPlayIdleAnimationMsg(CNPCPlayIdleAnimationMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::TrueTalkNotifySpeechStartedMsg(CTrueTalkNotifySpeechStartedMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg) {
+ // TODO
+ return true;
+}
+
+bool CDeskbot::TurnOff(CTurnOff *msg) {
+ // TODO
+ return true;
+}
+
} // End of namespace Titanic
diff --git a/engines/titanic/npcs/deskbot.h b/engines/titanic/npcs/deskbot.h
index 50c3e3fb46..2711e9cc43 100644
--- a/engines/titanic/npcs/deskbot.h
+++ b/engines/titanic/npcs/deskbot.h
@@ -28,6 +28,18 @@
namespace Titanic {
class CDeskbot : public CTrueTalkNPC {
+ DECLARE_MESSAGE_MAP
+ bool TurnOn(CTurnOn *msg);
+ bool EnterViewMsg(CEnterViewMsg *msg);
+ bool ActMsg(CActMsg *msg);
+ bool MovieEndMsg(CMovieEndMsg *msg);
+ bool LeaveViewMsg(CLeaveViewMsg *msg);
+ bool TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg);
+ bool NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg);
+ bool NPCPlayIdleAnimationMsg(CNPCPlayIdleAnimationMsg *msg);
+ bool TrueTalkNotifySpeechStartedMsg(CTrueTalkNotifySpeechStartedMsg *msg);
+ bool TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg);
+ bool TurnOff(CTurnOff *msg);
private:
static int _v1;
static int _v2;