ScummVM API documentation
map10.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_MAP10_H
23 #define MM1_MAPS_MAP10_H
24 
25 #include "mm/mm1/maps/map.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 class Map10 : public Map {
32  typedef void (Map10:: *SpecialFn)();
33 private:
34  void special00();
35  void special01();
36  void special02();
37  void special17();
38  void special18();
39  void special19();
40  void special20();
41  void special23();
42  void special29();
43  void special30();
44  void special31();
45  void special32();
46  void special33();
47 
48  const SpecialFn SPECIAL_FN[34] = {
49  &Map10::special00,
50  &Map10::special01,
51  &Map10::special02,
52  &Map10::special02,
53  &Map10::special02,
54  &Map10::special02,
55  &Map10::special02,
56  &Map10::special02,
57  &Map10::special02,
58  &Map10::special02,
59  &Map10::special02,
60  &Map10::special02,
61  &Map10::special02,
62  &Map10::special02,
63  &Map10::special02,
64  &Map10::special02,
65  &Map10::special02,
66  &Map10::special17,
67  &Map10::special18,
68  &Map10::special19,
69  &Map10::special20,
70  &Map10::special20,
71  &Map10::special20,
72  &Map10::special23,
73  &Map10::special23,
74  &Map10::special23,
75  &Map10::special23,
76  &Map10::special23,
77  &Map10::special23,
78  &Map10::special29,
79  &Map10::special30,
80  &Map10::special31,
81  &Map10::special32,
82  &Map10::special33
83  };
84 public:
85  Map10() : Map(10, "cave6", 0x51b, 1) {}
86 
90  void special() override;
91 };
92 
93 } // namespace Maps
94 } // namespace MM1
95 } // namespace MM
96 
97 #endif
void special() override
Definition: map10.h:31
Definition: map.h:97
Definition: detection.h:27