ScummVM API documentation
room801.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_SECTION8_ROOM801_H
23 #define M4_RIDDLE_ROOMS_SECTION8_ROOM801_H
24 
25 #include "m4/riddle/rooms/room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Room801 : public Room {
32 public:
33  Room801() : Room() {}
34  ~Room801() 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  void room801_conv801a();
45 
46  int32 _cellarDoorClosedSeries = 0;
47  int32 _cellarDoorOpenSeries = 0;
48  int32 _farmerDisplacementSeries = 0;
49  int32 _farmerEarthquakeGestureSeries = 0;
50  int32 _farmerGiveTakeBowSeries = 0;
51  int32 _farmerLooksToZeroSeries = 0;
52  int32 _farmerTalkLoopSeries = 0;
53  int32 _meiLookToZeroSeries = 0;
54  int32 _meiPrattleLoopSeries = 0;
55  int32 _mtcsh1Series = 0;
56  int32 _planeShadowSeries = 0;
57  int32 _ripClosesCellarSeries = 0;
58  int32 _ripEntersRootCellarSeries = 0;
59  int32 _ripKneelPotterySeries = 0;
60  int32 _ripLooksLRDownSeries = 0;
61  int32 _ripLooksToZeroSeries = 0;
62  int32 _ripOpensCellarSeries = 0;
63  int32 _ripReturnsFromRootCellarSeries = 0;
64  int32 _ripTrekHandOnChinSeries = 0;
65  int32 _ripTrekHandsBehBackSeries = 0;
66  int32 _ripTrekHandsHipPos5Series = 0;
67  int32 _ripTrekHatTipPos5Series = 0;
68  int32 _ripTrekHeadTurnSeries = 0;
69  int32 _ripTrekNodPos4Series = 0;
70  int32 _rptmr15Series = 0;
71  int32 _shovelSeries = 0;
72 
73  int32 _cellarDoorOpened = 0;
74  int32 _counter = 0;
75  int32 _unkVal2 = 0;
76  int32 _unkVal3 = 0;
77  int32 _unkVal5 = 0;
78  int32 _unkVal6 = 0;
79  int32 _unkVal7 = 0;
80 
81  bool _unkFlag1 = false;
82  bool _unkFlag2 = false;
83  bool _cellarOpenFl = false;
84 
85  machine *_cellarDoorClosedMach = nullptr;
86  machine *_cellarDoorOpenMach = nullptr;
87  machine *_farmerDisplacementMach = nullptr;
88  machine *_farmerShadowMach = nullptr;
89  machine *_mcTrekMach = nullptr;
90  machine *_planeShadowMach = nullptr;
91  machine *_ripAnimationMach = nullptr;
92  machine *_safariShadow5Mach = nullptr;
93  machine *_safariShadow5Mach2 = nullptr;
94  machine *_shovelMach = nullptr;
95 };
96 
97 } // namespace Rooms
98 } // namespace Riddle
99 } // namespace M4
100 
101 #endif
Definition: ws_machine.h:153
Definition: serializer.h:79
Definition: database.h:28
Definition: room.h:39
Definition: room801.h:31