ScummVM API documentation
room701.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_ROOM701_H
23#define M4_RIDDLE_ROOMS_SECTION7_ROOM701_H
24
25#include "m4/riddle/rooms/room.h"
26
27namespace M4 {
28namespace Riddle {
29namespace Rooms {
30
31class Room701 : public Room {
32public:
33 Room701() : Room() {}
34 ~Room701() 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
43private:
44 void conv701a();
45 void updateCounter();
46 int32 inventoryCheck();
47
48 const char *_field58_digiName = nullptr;
49 const char *_field5C_digiName = nullptr;
50 const char *_field60_digiName = nullptr; // Useless: Never set
51 const char *_field64_digiName = nullptr; // Useless: Never set
52
53 const char *_itemDigiName = nullptr;
54 Common::String _convDigiName_1 = ""; // Useless: Assigned but not used?
55 Common::String _convDigiName_2 = "";
56
57 bool _field88 = false;
58 bool _field8C_unusedFl = false; // Set but never used
59 bool _field90 = false;
60 bool _fieldBC_unusedFl = false;
61 bool _field130 = false;
62 bool _alreadyBeenHereFl = false;
63
64 int32 _field50_counter = 0;
65 int32 _agentMode = 0;
66 int32 _agentShould = 0;
67 int32 _field72_triggerNum = -1; // Useless : always -1
68 int32 _ripleyMode = 0;
69 int32 _ripleyShould = 0;
70 int32 _field9E_triggerNum = -1; // Useless : always -1
71 int32 _conv701aNode = 0;
72 int32 _travelDest = 0;
73 int32 _lastInventoryCheck = 0;
74 int32 _fieldC8 = 0; // Useless: Set but never used
75 int32 _inventoryCheckArray[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // Useless: Most likely a residual of debug trace
76 int32 _inventoryCheckCounter = 0;
77 int32 _hasCrystalSkull = 0;
78 int32 _hasStickAnsShellMap = 0;
79 int32 _hasWheeledToy = 0;
80 int32 _hasRebusAmulet = 0;
81 int32 _hasShrunkenHead = 0;
82 int32 _hasSilverButterfly = 0;
83 int32 _hasPostageStamp = 0;
84 int32 _hasGermanBankNote = 0;
85 int32 _hasWhaleBoneHorn = 0;
86 int32 _hasChisel = 0;
87 int32 _hasIncenseBurner = 0;
88 int32 _hasRomanovEmerald = 0;
89
90 int32 _701rp01Series = 0;
91 int32 _701rp99Series = 0;
92 int32 _agentExchangeMoneySeries = 0;
93 int32 _agentGetTelegramSeries = 0;
94 int32 _agentGiveParcelSeries = 0;
95 int32 _agentShowMapSeries = 0;
96 int32 _agentSignsForMoneySeries = 0;
97 int32 _agentTalkLoopTjSeries = 0;
98 int32 _ripSketchingInNotebookPos3Series = 0;
99 int32 _ripTrekHandTalkPos3Series = 0;
100 int32 _ripTrekMedReachPos3Series = 0;
101 int32 _ripTrekTalkerPos3Series = 0;
102
103 machine *_agentPoshExpressMach = nullptr;
104 machine *_agentPoshExpressMach02 = nullptr;
105 machine *_agentPoshExpressMach03 = nullptr;
106 machine *_ripTalksAgentMach = nullptr;
107 machine *_safariShadow3Mach = nullptr;
108};
109
110
111} // namespace Rooms
112} // namespace Riddle
113} // namespace M4
114
115#endif
Definition: serializer.h:80
Definition: str.h:59
Definition: room701.h:31
Definition: room.h:39
Definition: database.h:28
Definition: ws_machine.h:156