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