ScummVM API documentation
section6_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_BURGER_ROOMS_SECTION6_ROOM_H
23#define M4_BURGER_ROOMS_SECTION6_ROOM_H
24
25#include "m4/burger/rooms/room.h"
26
27namespace M4 {
28namespace Burger {
29namespace Rooms {
30
31class Section6Room : public Rooms::Room {
32private:
33 char _gerbilsName[16];
34 char _gerbilsVerb[16];
35protected:
36 struct GerbilPoint {
37 int16 _x;
38 int16 _y;
39 };
40 const GerbilPoint *_gerbilTable = nullptr;
41 HotSpotRec _gerbilHotspot;
42 machine *_sectionMachine1 = nullptr;
43 machine *_sectionMachine2 = nullptr;
44 int32 _sectionSeries1 = 0;
45 int32 _sectionSeries2 = 0;
46 int32 _sectionSeries3 = 0;
47
48public:
50 ~Section6Room() override {}
51
52 HotSpotRec *custom_hotspot_which(int32 x, int32 y) override;
53};
54
55} // namespace Rooms
56} // namespace Burger
57} // namespace M4
58
59#endif
Definition: room.h:36
Definition: section6_room.h:31
HotSpotRec * custom_hotspot_which(int32 x, int32 y) override
Definition: database.h:28
Definition: section6_room.h:36
Definition: adv_hotspot.h:30
Definition: ws_machine.h:156