ScummVM API documentation
doorbot.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef TITANIC_DOORBOT_H
23#define TITANIC_DOORBOT_H
24
25#include "titanic/npcs/true_talk_npc.h"
26
27namespace Titanic {
28
29class CDoorbot : public CTrueTalkNPC {
30 DECLARE_MESSAGE_MAP;
31 bool MovieEndMsg(CMovieEndMsg *msg);
32 bool OnSummonBotMsg(COnSummonBotMsg *msg);
33 bool TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg);
34 bool DoorbotNeededInHomeMsg(CDoorbotNeededInHomeMsg *msg);
35 bool DoorbotNeededInElevatorMsg(CDoorbotNeededInElevatorMsg *msg);
36 bool LeaveViewMsg(CLeaveViewMsg *msg);
37 bool TimerMsg(CTimerMsg *msg);
38 bool NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg);
39 bool NPCPlayIdleAnimationMsg(CNPCPlayIdleAnimationMsg *msg);
40 bool PutBotBackInHisBoxMsg(CPutBotBackInHisBoxMsg *msg);
41 bool DismissBotMsg(CDismissBotMsg *msg);
42 bool MovieFrameMsg(CMovieFrameMsg *msg);
43 bool TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg);
44 bool TextInputMsg(CTextInputMsg *msg);
45 bool EnterViewMsg(CEnterViewMsg *msg);
46 bool ActMsg(CActMsg *msg);
47private:
48 static int _v1;
49 static int _v2;
50private:
51 int _introMovieNum;
52 int _timerId;
53 int _field110;
54 int _field114;
55public:
56 CLASSDEF;
57 CDoorbot();
58
62 void save(SimpleFile *file, int indent) override;
63
67 void load(SimpleFile *file) override;
68};
69
70} // End of namespace Titanic
71
72#endif /* TITANIC_DOORBOT_H */
Definition: messages.h:256
Definition: messages.h:277
Definition: doorbot.h:29
void load(SimpleFile *file) override
void save(SimpleFile *file, int indent) override
Definition: messages.h:280
Definition: messages.h:281
Definition: messages.h:291
Definition: messages.h:312
Definition: messages.h:321
Definition: messages.h:322
Definition: messages.h:327
Definition: messages.h:328
Definition: messages.h:331
Definition: messages.h:345
Definition: messages.h:389
Definition: messages.h:190
Definition: true_talk_npc.h:43
Definition: messages.h:400
Definition: messages.h:404
Definition: simple_file.h:49