ScummVM API documentation
map41.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_MAP41_H
23 #define MM1_MAPS_MAP41_H
24 
25 #include "mm/mm1/maps/map.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 class Map41 : public Map {
32  typedef void (Map41:: *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 special16();
50  void special17();
51  void special18();
52  void special19();
53  void special20();
54  void special21();
55  void special22();
56  void special23();
57  void showSign(const Common::String &line);
58 
59  const SpecialFn SPECIAL_FN[25] = {
60  &Map41::special00,
61  &Map41::special01,
62  &Map41::special02,
63  &Map41::special03,
64  &Map41::special04,
65  &Map41::special05,
66  &Map41::special06,
67  &Map41::special07,
68  &Map41::special08,
69  &Map41::special09,
70  &Map41::special10,
71  &Map41::special11,
72  &Map41::special12,
73  &Map41::special13,
74  &Map41::special14,
75  &Map41::special14,
76  &Map41::special16,
77  &Map41::special17,
78  &Map41::special18,
79  &Map41::special19,
80  &Map41::special20,
81  &Map41::special21,
82  &Map41::special22,
83  &Map41::special23,
84  &Map41::special04
85  };
86 public:
87  Map41() : Map(41, "enf1", 0xf04, 3, "Minotaur Stronghold 1") {}
88 
92  void special() override;
93 };
94 
95 } // namespace Maps
96 } // namespace MM1
97 } // namespace MM
98 
99 #endif
Definition: str.h:59
Definition: map41.h:31
Definition: map.h:97
Definition: detection.h:27
void special() override