ScummVM API documentation
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_ROOM_H
23 #define M4_BURGER_ROOMS_ROOM_H
24 
25 #include "m4/core/rooms.h"
26 #include "m4/burger/core/play_break.h"
27 #include "m4/burger/core/stream_break.h"
28 #include "m4/adv_r/conv_io.h"
29 #include "m4/graphics/gr_series.h"
30 #include "m4/adv_r/adv_hotspot.h"
31 
32 namespace M4 {
33 namespace Burger {
34 namespace Rooms {
35 
36 class Room : public M4::Room {
37 private:
38  static char _wilburName[16];
39  static char _wilburVerb;
40 
41 protected:
42  static HotSpotRec _wilburHotspot;
43  Series _roomSeries1;
44  Series _general;
45 
46 public:
47  static void setWilburHotspot();
48 
49 public:
50  Room() : M4::Room() {}
51  ~Room() override {}
52 
56  HotSpotRec *custom_hotspot_which(int32 x, int32 y) override;
57 
58  void compact_mem_and_report() {}
59 
60  void npc_say(const char *digiName, int trigger = -1, const char *seriesName = nullptr,
61  int layer = 0, bool shadow = true, int firstFrame = 0, int lastFrame = -1,
62  int digiSlot = 1, int digiVol = 255);
63  void npc_say(int trigger = -1, const char *seriesName = nullptr,
64  int layer = 0, bool shadow = true, int firstFrame = 0, int lastFrame = -1,
65  int digiSlot = 1, int digiVol = 255);
66 };
67 
68 } // namespace Rooms
69 } // namespace Burger
70 } // namespace M4
71 
72 #endif
Definition: gr_series.h:49
HotSpotRec * custom_hotspot_which(int32 x, int32 y) override
Definition: room.h:36
Definition: database.h:28
Definition: rooms.h:31
Definition: adv_hotspot.h:30