liblcf
Loading...
Searching...
No Matches
lmu_map.cpp
Go to the documentation of this file.
1/* !!!! GENERATED FILE - DO NOT EDIT !!!!
2 * --------------------------------------
3 *
4 * This file is part of liblcf. Copyright (c) liblcf authors.
5 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6 *
7 * liblcf is Free/Libre Open Source Software, released under the MIT License.
8 * For the full copyright and license information, please view the COPYING
9 * file that was distributed with this source code.
10 */
11
12// Headers
13#include "lcf/lmu/reader.h"
14#include "lcf/lmu/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read Map.
20
21template <>
22char const* const Struct<rpg::Map>::name = "Map";
24 &rpg::Map::chipset_id,
25 LMU_Reader::ChunkMap::chipset_id,
26 "chipset_id",
27 0,
28 0
29);
31 &rpg::Map::width,
32 LMU_Reader::ChunkMap::width,
33 "width",
34 0,
35 0
36);
38 &rpg::Map::height,
39 LMU_Reader::ChunkMap::height,
40 "height",
41 0,
42 0
43);
45 &rpg::Map::scroll_type,
46 LMU_Reader::ChunkMap::scroll_type,
47 "scroll_type",
48 1,
49 0
50);
52 &rpg::Map::parallax_flag,
53 LMU_Reader::ChunkMap::parallax_flag,
54 "parallax_flag",
55 0,
56 0
57);
59 &rpg::Map::parallax_name,
60 LMU_Reader::ChunkMap::parallax_name,
61 "parallax_name",
62 0,
63 0
64);
66 &rpg::Map::parallax_loop_x,
67 LMU_Reader::ChunkMap::parallax_loop_x,
68 "parallax_loop_x",
69 0,
70 0
71);
73 &rpg::Map::parallax_loop_y,
74 LMU_Reader::ChunkMap::parallax_loop_y,
75 "parallax_loop_y",
76 0,
77 0
78);
80 &rpg::Map::parallax_auto_loop_x,
81 LMU_Reader::ChunkMap::parallax_auto_loop_x,
82 "parallax_auto_loop_x",
83 0,
84 0
85);
87 &rpg::Map::parallax_sx,
88 LMU_Reader::ChunkMap::parallax_sx,
89 "parallax_sx",
90 0,
91 0
92);
94 &rpg::Map::parallax_auto_loop_y,
95 LMU_Reader::ChunkMap::parallax_auto_loop_y,
96 "parallax_auto_loop_y",
97 0,
98 0
99);
101 &rpg::Map::parallax_sy,
102 LMU_Reader::ChunkMap::parallax_sy,
103 "parallax_sy",
104 0,
105 0
106);
108 &rpg::Map::generator_flag,
109 LMU_Reader::ChunkMap::generator_flag,
110 "generator_flag",
111 0,
112 0
113);
115 &rpg::Map::generator_mode,
116 LMU_Reader::ChunkMap::generator_mode,
117 "generator_mode",
118 0,
119 0
120);
122 &rpg::Map::top_level,
123 LMU_Reader::ChunkMap::top_level,
124 "top_level",
125 0,
126 0
127);
129 &rpg::Map::generator_tiles,
130 LMU_Reader::ChunkMap::generator_tiles,
131 "generator_tiles",
132 0,
133 0
134);
136 &rpg::Map::generator_width,
137 LMU_Reader::ChunkMap::generator_width,
138 "generator_width",
139 0,
140 0
141);
143 &rpg::Map::generator_height,
144 LMU_Reader::ChunkMap::generator_height,
145 "generator_height",
146 0,
147 0
148);
150 &rpg::Map::generator_surround,
151 LMU_Reader::ChunkMap::generator_surround,
152 "generator_surround",
153 0,
154 0
155);
157 &rpg::Map::generator_upper_wall,
158 LMU_Reader::ChunkMap::generator_upper_wall,
159 "generator_upper_wall",
160 0,
161 0
162);
164 &rpg::Map::generator_floor_b,
165 LMU_Reader::ChunkMap::generator_floor_b,
166 "generator_floor_b",
167 0,
168 0
169);
171 &rpg::Map::generator_floor_c,
172 LMU_Reader::ChunkMap::generator_floor_c,
173 "generator_floor_c",
174 0,
175 0
176);
178 &rpg::Map::generator_extra_b,
179 LMU_Reader::ChunkMap::generator_extra_b,
180 "generator_extra_b",
181 0,
182 0
183);
185 &rpg::Map::generator_extra_c,
186 LMU_Reader::ChunkMap::generator_extra_c,
187 "generator_extra_c",
188 0,
189 0
190);
192 &rpg::Map::generator_x,
193 LMU_Reader::ChunkMap::generator_x,
194 "generator_x",
195 0,
196 0
197);
199 &rpg::Map::generator_y,
200 LMU_Reader::ChunkMap::generator_y,
201 "generator_y",
202 0,
203 0
204);
206 &rpg::Map::generator_tile_ids,
207 LMU_Reader::ChunkMap::generator_tile_ids,
208 "generator_tile_ids",
209 0,
210 0
211);
213 &rpg::Map::lower_layer,
214 LMU_Reader::ChunkMap::lower_layer,
215 "lower_layer",
216 1,
217 0
218);
220 &rpg::Map::upper_layer,
221 LMU_Reader::ChunkMap::upper_layer,
222 "upper_layer",
223 1,
224 0
225);
227 &rpg::Map::events,
228 LMU_Reader::ChunkMap::events,
229 "events",
230 1,
231 0
232);
234 &rpg::Map::save_count_2k3e,
235 LMU_Reader::ChunkMap::save_count_2k3e,
236 "save_count_2k3e",
237 0,
238 1
239);
241 &rpg::Map::save_count,
242 LMU_Reader::ChunkMap::save_count,
243 "save_count",
244 0,
245 0
246);
247
248
249template <>
285
286template class Struct<rpg::Map>;
287
288} //namespace lcf