ScummVM API documentation
section8_room.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_SECTION8ROOM_H
23 #define M4_RIDDLE_ROOMS_SECTION8_SECTION8ROOM_H
24 
25 #include "m4/riddle/rooms/room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Section8Room : public Room {
32 public:
33  Section8Room() : Room() {}
34  ~Section8Room() override {}
35 
36  void preload() override;
37  void init() override {}
38  void pre_parser() override;
39  void parser() override;
40  void daemon() override;
41 
42 protected:
43  int32 _byte1A19BC = 0;
44  int32 _field68 = 0;
45 
46  // The array seems to be set and never read. Idem for the index
47  int32 _unkArrayIndex = 0;
48  int32 _unkArray[8];
49 
50  int32 _824fire2Serie = 0;
51  int32 _case7RandVal = 0;
52  int32 _coordArrayId = 0;
53  int32 _counter1 = 0;
54  int32 _currentRoom = 0;
55  int32 _dynSerie1 = 0;
56  int32 _guessFacing = 0;
57  int32 _guessIndex = 0;
58  int32 _guessX = 0;
59  int32 _mctdSerie = 0;
60  int32 _meiHandsBehindBack = 0;
61  int32 _ripAttemptsPush = 0;
62  int32 _ripLooksAround = 0;
63  int32 _ripTakerPos5 = 0;
64  int32 _ripTrekLowReach = 0;
65  int32 _rptldSerie = 0;
66  int32 _savedNextRoom = 0;
67  int32 _savedPlayerInfoFacing = 0;
68  int32 _savedPlayerInfoX = 0;
69  int32 _savedPlayerInfoY = 0;
70  int32 _savedRandom = 0;
71 
72  int32 _var1 = 0;
73  int32 _var2 = 0;
74  int32 _var3 = 0;
75  int32 _var4 = 0;
76  int32 _var5 = 0;
77 
78  Common::String _currentSeriesName;
79  Common::String _guessHotspotName;
80 
81  machine *_824fire1Mach = nullptr;
82  machine *_824fire2Mach = nullptr;
83  machine *_844postMach = nullptr;
84  machine *_dynSerie1Mach = nullptr;
85  machine *_machArr[4] = {nullptr, nullptr, nullptr, nullptr};
86  machine *_mcTrekMach = nullptr;
87  machine *_ripPushMach = nullptr;
88 
89  int32 subCE498(int32 val1);
90  void subD7916(machine *machine, int32 trigger);
91  int32 subCE52E(int32 val1);
92  void moveScreen(int32 dx, int32 dy);
93  void getSeriesName(int32 val1, bool true_or_False);
94  int32 daemonSub1(int32 dx, bool ascendingFl);
95 };
96 
97 } // namespace Rooms
98 } // namespace Riddle
99 } // namespace M4
100 
101 #endif
Definition: ws_machine.h:153
Definition: str.h:59
Definition: section8_room.h:31
Definition: database.h:28
Definition: room.h:39