ScummVM API documentation
map04.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 MM1_MAPS_MAP04_H
23 #define MM1_MAPS_MAP04_H
24 
25 #include "mm/mm1/maps/map_town.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 #define MAP04_PASSAGE_OVERRIDE 169
32 #define MAP04_STAIRS_OVERRIDE 196
33 #define MAP04_TREASURE_STOLEN 971
34 
35 class Map04 : public MapTown {
36  typedef void (Map04:: *SpecialFn)();
37 private:
38  void special00();
39  void special01();
40  void special02();
41  void special03();
42  void special04();
43  void special05();
44  void special06();
45  void special07();
46  void special09();
47  void special10();
48  void special11();
49  void special12();
50  void special13();
51  void special18();
52  void special20();
53  void special21();
54 
55  const SpecialFn SPECIAL_FN[22] = {
56  &Map04::special00,
57  &Map04::special01,
58  &Map04::special02,
59  &Map04::special03,
60  &Map04::special04,
61  &Map04::special05,
62  &Map04::special06,
63  &Map04::special07,
64  &Map04::special08,
65  &Map04::special09,
66  &Map04::special10,
67  &Map04::special11,
68  &Map04::special12,
69  &Map04::special13,
70  &Map04::special13,
71  &Map04::special13,
72  &Map04::special13,
73  &Map04::special13,
74  &Map04::special18,
75  &Map04::special13,
76  &Map04::special20,
77  &Map04::special21
78  };
79 public:
80  Map04() : MapTown(4, "erliquin", 0xb1a, 3) {}
81 
85  void special() override;
86 
87  void special08();
88 };
89 
90 } // namespace Maps
91 } // namespace MM1
92 } // namespace MM
93 
94 #endif
void special() override
Definition: map04.h:35
Definition: detection.h:27
Definition: map_town.h:31