ScummVM API documentation
room603.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 M4_RIDDLE_ROOMS_SECTION6_ROOM603_H
23#define M4_RIDDLE_ROOMS_SECTION6_ROOM603_H
24
25#include "m4/riddle/rooms/room.h"
26
27namespace M4 {
28namespace Riddle {
29namespace Rooms {
30
31class Room603 : public Room {
32private:
33 int _val2 = 0;
34 int _val3 = 0;
35 int _val4 = 0;
36 int _val5 = 0;
37 int _val9 = 0;
38 int _val10 = 0;
39 bool _showingNoteCloseup = false;
40 int _ripleyMode = 0;
41 int _ripleyShould = 0;
42 int _ttMode = 0;
43 int _ttShould = 0;
44 int _trigger1 = 0;
45 machine *_shed = nullptr;
46 machine *_shenWalker = nullptr;
47 machine *_kuangWalker = nullptr;
48 machine *_note = nullptr;
49 machine *_pole = nullptr;
50 machine *_shirt = nullptr;
51 machine *_sleeve = nullptr;
52 machine *_door = nullptr;
53 machine *_tt = nullptr;
54 machine *_ttShadow = nullptr;
55 machine *_pu01 = nullptr;
56 machine *_ripley = nullptr;
57 machine *_shadow = nullptr;
58 machine *_ttNote = nullptr;
59 machine *_explosion = nullptr;
60 int _rp01 = 0;
61 int _rp02 = 0;
62 int _ttDigShirtOff = 0;
63 int _ttDigShirtOn = 0;
64 int _tt03 = 0;
65 int _ttD01 = 0;
66 int _rp04 = 0;
67 int _ripHandsBehindBack = 0;
68 int _ripTalk = 0;
69 int _ripHandsHips = 0;
70 int _ripHandChin = 0;
71 int _ripTwoHandTalk = 0;
72 int _ripAction = 0;
73
74 void conv603a();
75 void conv603b();
76 void unloadSeries();
77 bool takeSleeve();
78 bool takeNote();
79 bool takePole();
80 void enter();
81 void playRandomDigi(int max);
82
83public:
84 Room603() : Room() {}
85 ~Room603() override {}
86
87 void preload() override;
88 void init() override;
89 void daemon() override;
90 void pre_parser() override;
91 void parser() override;
92 void syncGame(Common::Serializer &s) override;
93};
94
95} // namespace Rooms
96} // namespace Riddle
97} // namespace M4
98
99#endif
Definition: serializer.h:80
Definition: room603.h:31
Definition: room.h:39
Definition: database.h:28
Definition: ws_machine.h:156