ScummVM API documentation
room207.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_SECTION2_ROOM207_H
23#define M4_RIDDLE_ROOMS_SECTION2_ROOM207_H
24
25#include "m4/adv_r/adv_trigger.h"
26#include "m4/riddle/rooms/room.h"
27
28namespace M4 {
29namespace Riddle {
30namespace Rooms {
31
32class Room207 : public Room {
33public:
34 Room207() : Room() {}
35 ~Room207() override {}
36
37 void preload() override;
38 void init() override;
39 void pre_parser() override;
40 void parser() override;
41 void daemon() override;
42 void syncGame(Common::Serializer &s) override;
43
44private:
45 int32 _field88 = 0; // unused?
46 int32 _field8A = 0;
47 int32 _peasantMode = 0;
48 int32 _peasantShould = 0;
49 bool _fieldA4 = false; // always false??
50 int32 _fieldA8 = 0; // unused ?
51 bool _pipeFlag = false;
52 int32 _fieldAE_rnd = 0;
53 bool _peasantShoutingFl = false;
54 int32 _guardComingDelay = 0;
55 int32 _fieldC2 = 0;
56 bool _fieldC6 = false; // always false??
57
58 bool _commandNotAllowedFl = false;
59 bool _digi207r04PlayedFl = false;
60 const char *_digiName = nullptr;
61 int32 _digiTriggerNum = 0;
62 int32 _dispatchTriggerNum = 0;
63 bool _dollarFl = false;
64 bool _hiddenWalkerFl = false; // Always false??
65 KernelTriggerType _nextTriggerMode = KT_PARSE;
66 bool _node1Entry2Fl = false;
67 bool _ripForegroundFl = false;
68
69 int32 _leadPipeSeries = 0;
70 int32 _metalRimSeries = 0;
71 int32 _oneFrameMoneySpriteSeries = 0;
72 int32 _peasant3ToSquatSeries = 0;
73 int32 _peasantSquatTo9Series = 0;
74 int32 _peskyBegLoopSeries = 0;
75 int32 _peskyPointsRipBackgroundSeries = 0;
76 int32 _peskyPointsRipForegroundSeries = 0;
77 int32 _peskyRockLoopSeries = 0;
78 int32 _ppShowsAmuletTakesMoneySeries = 0;
79 int32 _rebusAmuletSeries = 0;
80 int32 _ripHeadDownTalkOffTd33Series = 0;
81 int32 _ripHeadDownTalkOffTd33Series2 = 0;
82 int32 _ripTrekArmsXPos3Series = 0;
83 int32 _ripTrekLowReacherPos1Series = 0;
84 int32 _sevenSpokesSeries = 0;
85 int32 _shadowPeskyFrom9ToSquatSeries = 0;
86 int32 _wheelSeries = 0;
87 int32 _withoutAmuletSeries = 0;
88 int32 _woodenRimSeries = 0;
89
90 machine *_dropsWheelMach = nullptr;
91 machine *_leadPipeMach = nullptr;
92 machine *_leadPipeMach2 = nullptr;
93 machine *_metalRimMach = nullptr;
94 machine *_oneFrameMoneySpriteMach = nullptr;
95 machine *_ppSquatMach = nullptr;
96 machine *_ppWalkerMach = nullptr;
97 machine *_rebusAmuletMach = nullptr;
98 machine *_ripInConvMach = nullptr;
99 machine *_ripTrekLowReachMach = nullptr;
100 machine *_ripTrekLowReacherPos5Mach = nullptr;
101 machine *_safariShadow3Mach = nullptr;
102 machine *_sevenSpokesMach = nullptr;
103 machine *_wheelMach = nullptr;
104
105 void convHandler();
106};
107
108} // namespace Rooms
109} // namespace Riddle
110} // namespace M4
111
112#endif
Definition: serializer.h:80
Definition: room207.h:32
Definition: room.h:39
Definition: database.h:28
Definition: ws_machine.h:156