ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
room808.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_ROOM808_H
23 #define M4_RIDDLE_ROOMS_SECTION8_ROOM808_H
24 
25 #include "m4/riddle/rooms/section8/section8_room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Room808 : public Section8Room {
32 public:
33  Room808() : Section8Room() {}
34  ~Room808() 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 
43 private:
44  void addMcHotspot(int32 val1);
45  bool getWalkPath(machine *machine, int32 walk_x, int32 walk_y);
46  void setBridgeHotspots(int val1, bool activeFl);
47  void setPosMachInfo();
48 
49  int32 _dword1A195C_facing = 0;
50  int32 _dword1A1958 = 0;
51  int32 _dword1A1960_rand4 = 0;
52  int32 _dword1A1964_facing = 0;
53 
54  const char *_posMachName = nullptr;
55  int32 _posMachFrameNum = 0;
56  int32 _posMachIndex = 0;
57 
58  int32 _807Rp04Series = 0;
59  int32 _808McupSeries = 0;
60  int32 _808Rp01Series = 0;
61  int32 _808Rp02Series = 0;
62  int32 _808RpupSeries = 0;
63  int32 _mctd61Series = 0;
64  int32 _mctd82aSeries = 0;
65  int32 _meiChenHandsBehindBackSeries = 0;
66  int32 _ripLooksAroundInAweSeries = 0;
67  int32 _ripMedReach1HandPos2Series = 0;
68  int32 _ripPos3LookAroundSeries = 0;
69  int32 _ripTalkerPos5Series = 0;
70  int32 _rptmr15Series = 0;
71 
72  machine *_808ChainMach = nullptr;
73  machine *_808HandleSpriteMach = nullptr;
74  machine *_808PosMach = nullptr;
75  machine *_808RipFallShovelNearSideMach = nullptr;
76  machine *_mcTrekMach = nullptr;
77  machine *_safariShadowMach = nullptr;
78 };
79 
80 } // namespace Rooms
81 } // namespace Riddle
82 } // namespace M4
83 
84 #endif
Definition: ws_machine.h:155
Definition: section8_room.h:31
Definition: database.h:28
Definition: room808.h:31