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