ScummVM API documentation
room608.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_ROOM608_H
23 #define M4_RIDDLE_ROOMS_SECTION6_ROOM608_H
24 
25 #include "m4/riddle/rooms/room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Room608 : public Room {
32 private:
33  int _rp01 = 0;
34  int _rp09 = 0;
35  int _ripHandChin = 0;
36  int _ripLowReach = 0;
37  int _ripLowReach2 = 0;
38  int _ripTalker = 0;
39  int _ripLHandTalk = 0;
40  int _ripHandTalk3 = 0;
41  int _tt01 = 0;
42  int _tt02 = 0;
43  int _tt03 = 0;
44  int _tt05 = 0;
45  int _old1 = 0;
46  int _old2 = 0;
47  int _old5 = 0;
48  int _old8 = 0;
49  int _old5a = 0;
50  int _old5b = 0;
51  int _old5c = 0;
52  int _old5d = 0;
53  int _old5f = 0;
54  int _all5a = 0;
55  int _loop0 = 0;
56  int _loop1 = 0;
57  int _horn = 0;
58  machine *_ripley = nullptr;
59  machine *_shadow = nullptr;
60  machine *_shadow5 = nullptr;
61  machine *_tt = nullptr;
62  machine *_ttShadow = nullptr;
63  machine *_ttTalker = nullptr;
64  machine *_ol = nullptr;
65  machine *_ol2 = nullptr;
66  machine *_stump = nullptr;
67  machine *_lighter = nullptr;
68  machine *_pole = nullptr;
69  machine *_puffin = nullptr;
70  machine *_end1 = nullptr;
71  machine *_end2 = nullptr;
72  int _ripleyShould = 0;
73  int _ripleyMode = 0;
74  int _oldMode = 0;
75  int _oldShould = 0;
76  int _ctr1 = 0;
77 
78  void conv608a();
79  bool takeStump1();
80  bool takePuffin();
81  bool stumpHole();
82  bool takeStump2();
83  bool takeLighter();
84  bool hornCordWater();
85  bool lookPuffin();
86  void usePole();
87 
88 public:
89  Room608() : Room() {}
90  ~Room608() override {}
91 
92  void init() override;
93  void daemon() override;
94  void pre_parser() override;
95  void parser() override;
96  void syncGame(Common::Serializer &s) override;
97 };
98 
99 } // namespace Rooms
100 } // namespace Riddle
101 } // namespace M4
102 
103 #endif
Definition: ws_machine.h:153
Definition: serializer.h:79
Definition: database.h:28
Definition: room608.h:31
Definition: room.h:39