ScummVM API documentation
map03.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_MAP03_H
23 #define MM1_MAPS_MAP03_H
24 
25 #include "mm/mm1/maps/map_town.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 class Map03 : public MapTown {
32  typedef void (Map03:: *SpecialFn)();
33 private:
34  void special00();
35  void special01();
36  void special02();
37  void special03();
38  void special04();
39  void special05();
40  void special06();
41  void special07();
42  void special08();
43  void special09();
44  void special10();
45  void special11();
46  void special12();
47  void special13();
48  void special14();
49  void special15();
50  void special18();
51  void special20();
52  void special21();
53  void special27();
54  void special28();
55 
56  const SpecialFn SPECIAL_FN[29] = {
57  &Map03::special00,
58  &Map03::special01,
59  &Map03::special02,
60  &Map03::special03,
61  &Map03::special04,
62  &Map03::special05,
63  &Map03::special06,
64  &Map03::special07,
65  &Map03::special08,
66  &Map03::special09,
67  &Map03::special10,
68  &Map03::special11,
69  &Map03::special12,
70  &Map03::special13,
71  &Map03::special14,
72  &Map03::special15,
73  &Map03::special15,
74  &Map03::special15,
75  &Map03::special18,
76  &Map03::special15,
77  &Map03::special20,
78  &Map03::special21,
79  &Map03::special15,
80  &Map03::special15,
81  &Map03::special15,
82  &Map03::special15,
83  &Map03::special15,
84  &Map03::special27,
85  &Map03::special28
86  };
87 public:
88  Map03() : MapTown(3, "dusk", 0x802, 1) {}
89 
93  void special() override;
94 };
95 
96 } // namespace Maps
97 } // namespace MM1
98 } // namespace MM
99 
100 #endif
Definition: map03.h:31
void special() override
Definition: detection.h:27
Definition: map_town.h:31