ScummVM API documentation
map06.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_MAP06_H
23 #define MM1_MAPS_MAP06_H
24 
25 #include "mm/mm1/maps/map.h"
26 
27 namespace MM {
28 namespace MM1 {
29 namespace Maps {
30 
31 class Map06 : public Map {
32  typedef void (Map06:: *SpecialFn)();
33 private:
34  void special00();
35  void special01();
36  void special02();
37  void special03();
38  void special04();
39  void special06();
40  void special07();
41  void special09();
42  void special10();
43  void special13();
44  void special26();
45  void slide();
46 
47  const SpecialFn SPECIAL_FN[27] = {
48  &Map06::special00,
49  &Map06::special01,
50  &Map06::special02,
51  &Map06::special03,
52  &Map06::special04,
53  &Map06::special04,
54  &Map06::special06,
55  &Map06::special07,
56  &Map06::special07,
57  &Map06::special09,
58  &Map06::special10,
59  &Map06::special10,
60  &Map06::special10,
61  &Map06::special13,
62  &Map06::special13,
63  &Map06::special13,
64  &Map06::special13,
65  &Map06::special13,
66  &Map06::special13,
67  &Map06::special13,
68  &Map06::special13,
69  &Map06::special13,
70  &Map06::special13,
71  &Map06::special13,
72  &Map06::special13,
73  &Map06::special13,
74  &Map06::special26
75  };
76 public:
77  Map06() : Map(6, "cave2", 0x1, 1) {}
78 
82  void special() override;
83 };
84 
85 } // namespace Maps
86 } // namespace MM1
87 } // namespace MM
88 
89 #endif
void special() override
Definition: map06.h:31
Definition: map.h:97
Definition: detection.h:27