ScummVM API documentation
room709.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_SECTION7_ROOM709_H
23#define M4_RIDDLE_ROOMS_SECTION7_ROOM709_H
24
25#include "m4/riddle/rooms/room.h"
26
27namespace M4 {
28namespace Riddle {
29namespace Rooms {
30
32 byte _left;
33 byte _right;
34 byte _up;
35 byte _down;
36};
37
38class Room709 : public Room {
39public:
40 Room709();
41 ~Room709() override {}
42
43 void preload() override;
44 void init() override;
45 void pre_parser() override;
46 void parser() override;
47 void daemon() override;
48 void syncGame(Common::Serializer &s) override;
49
50private:
51 bool _chiselActiveFl = false;
52 bool _incenseBurnerActiveFl = false;
53 bool _pullCenterFl = false;
54 bool _pullLeftFl = false;
55 bool _pullNearFl = false;
56 bool _pullRightFl = false;
57
58 int32 _mazeCurrentIndex = 0;
59
60 int32 _709NearDoorLiteSeries = 0;
61 int32 _709rpro1Series = 0;
62 int32 _709rpro2Series = 0;
63 int32 _709rpro3Series = 0;
64 int32 _709rpro4Series = 0;
65 int32 _mazeCenterDoorLiteSeries = 0;
66 int32 _mazeLeftDoorLiteSeries = 0;
67 int32 _mazeRightDoorLiteSeries = 0;
68 int32 _ripTrekHeadTurnPos1Series = 0;
69 int32 _ripTrekLowReachPos2Series = 0;
70
71 machine *_709ChiselMach = nullptr;
72 machine *_709IncenseHolderMach = nullptr;
73 machine *_709rpro5Mach = nullptr;
74 machine *_709rpro6Mach = nullptr;
75 machine *_709rpro7Mach = nullptr;
76 machine *_709rpro8Mach = nullptr;
77 machine *_ripPullMach = nullptr;
78 machine *_ripPullMach02 = nullptr;
79 machine *_ripPullMach03 = nullptr;
80 machine *_ripPullMach04 = nullptr;
81 machine *_ripPullMach05 = nullptr;
82 machine *_safariShadow1Mach = nullptr;
83
84 void debugRoomChanged();
85 void addMazeCheatHotkeys();
86 void removeMazeCheatHotkeys();
87
88 static const Maze709Room _rooms[100];
89
90 static void clearPressed(void *, void *);
91 static void stayPressed(void *, void *);
92};
93
94} // namespace Rooms
95} // namespace Riddle
96} // namespace M4
97
98#endif
Definition: serializer.h:80
Definition: room709.h:38
Definition: room.h:39
Definition: database.h:28
Definition: room709.h:31
Definition: ws_machine.h:156