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