ScummVM API documentation
map53.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_MAP53_H
23 #define MM1_MAPS_MAP53_H
24 
25 #include "mm/mm1/maps/map.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 class Map53 : public Map {
32  typedef void (Map53:: *SpecialFn)();
33 private:
34  void special00();
35  void special01();
36  void special03();
37  void special04();
38  void special05();
39  void special06();
40  void special07();
41  void special08();
42  void special09();
43  void special10();
44  void special11();
45  void special12();
46  void special13();
47  void special14();
48 
49  const SpecialFn SPECIAL_FN[15] = {
50  &Map53::special00,
51  &Map53::special01,
52  &Map53::special01,
53  &Map53::special03,
54  &Map53::special04,
55  &Map53::special05,
56  &Map53::special06,
57  &Map53::special07,
58  &Map53::special08,
59  &Map53::special09,
60  &Map53::special10,
61  &Map53::special11,
62  &Map53::special12,
63  &Map53::special13,
64  &Map53::special14
65  };
66 public:
67  Map53() : Map(53, "pp4", 0x201, 3, "Building of Gold 4") {}
68 
72  void special() override;
73 };
74 
75 } // namespace Maps
76 } // namespace MM1
77 } // namespace MM
78 
79 #endif
void special() override
Definition: map53.h:31
Definition: map.h:97
Definition: detection.h:27