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) 2020 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 "lmu_reader.h"
14#include "lmu_chunks.h"
15#include "reader_struct_impl.h"
16
17// Read Map.
18
19template <>
20char const* const Struct<RPG::Map>::name = "Map";
21static TypedField<RPG::Map, int32_t> static_chipset_id(
24 "chipset_id",
25 0,
26 0
27);
28static TypedField<RPG::Map, int32_t> static_width(
31 "width",
32 0,
33 0
34);
35static TypedField<RPG::Map, int32_t> static_height(
38 "height",
39 0,
40 0
41);
42static TypedField<RPG::Map, int32_t> static_scroll_type(
45 "scroll_type",
46 1,
47 0
48);
49static TypedField<RPG::Map, bool> static_parallax_flag(
52 "parallax_flag",
53 0,
54 0
55);
56static TypedField<RPG::Map, std::string> static_parallax_name(
59 "parallax_name",
60 0,
61 0
62);
63static TypedField<RPG::Map, bool> static_parallax_loop_x(
66 "parallax_loop_x",
67 0,
68 0
69);
70static TypedField<RPG::Map, bool> static_parallax_loop_y(
73 "parallax_loop_y",
74 0,
75 0
76);
77static TypedField<RPG::Map, bool> static_parallax_auto_loop_x(
80 "parallax_auto_loop_x",
81 0,
82 0
83);
84static TypedField<RPG::Map, int32_t> static_parallax_sx(
87 "parallax_sx",
88 0,
89 0
90);
91static TypedField<RPG::Map, bool> static_parallax_auto_loop_y(
94 "parallax_auto_loop_y",
95 0,
96 0
97);
98static TypedField<RPG::Map, int32_t> static_parallax_sy(
101 "parallax_sy",
102 0,
103 0
104);
105static TypedField<RPG::Map, bool> static_generator_flag(
108 "generator_flag",
109 0,
110 0
111);
112static TypedField<RPG::Map, int32_t> static_generator_mode(
115 "generator_mode",
116 0,
117 0
118);
119static TypedField<RPG::Map, bool> static_top_level(
122 "top_level",
123 0,
124 0
125);
126static TypedField<RPG::Map, int32_t> static_generator_tiles(
129 "generator_tiles",
130 0,
131 0
132);
133static TypedField<RPG::Map, int32_t> static_generator_width(
136 "generator_width",
137 0,
138 0
139);
140static TypedField<RPG::Map, int32_t> static_generator_height(
143 "generator_height",
144 0,
145 0
146);
147static TypedField<RPG::Map, bool> static_generator_surround(
150 "generator_surround",
151 0,
152 0
153);
154static TypedField<RPG::Map, bool> static_generator_upper_wall(
157 "generator_upper_wall",
158 0,
159 0
160);
161static TypedField<RPG::Map, bool> static_generator_floor_b(
164 "generator_floor_b",
165 0,
166 0
167);
168static TypedField<RPG::Map, bool> static_generator_floor_c(
171 "generator_floor_c",
172 0,
173 0
174);
175static TypedField<RPG::Map, bool> static_generator_extra_b(
178 "generator_extra_b",
179 0,
180 0
181);
182static TypedField<RPG::Map, bool> static_generator_extra_c(
185 "generator_extra_c",
186 0,
187 0
188);
189static TypedField<RPG::Map, std::vector<uint32_t>> static_generator_x(
192 "generator_x",
193 0,
194 0
195);
196static TypedField<RPG::Map, std::vector<uint32_t>> static_generator_y(
199 "generator_y",
200 0,
201 0
202);
203static TypedField<RPG::Map, std::vector<int16_t>> static_generator_tile_ids(
206 "generator_tile_ids",
207 0,
208 0
209);
210static TypedField<RPG::Map, std::vector<int16_t>> static_lower_layer(
213 "lower_layer",
214 1,
215 0
216);
217static TypedField<RPG::Map, std::vector<int16_t>> static_upper_layer(
220 "upper_layer",
221 1,
222 0
223);
227 "events",
228 1,
229 0
230);
231static TypedField<RPG::Map, int32_t> static_save_count_2k3e(
234 "save_count_2k3e",
235 0,
236 1
237);
238static TypedField<RPG::Map, int32_t> static_save_count(
241 "save_count",
242 0,
243 0
244);
245
246
247template <>
249 &static_chipset_id,
250 &static_width,
251 &static_height,
252 &static_scroll_type,
253 &static_parallax_flag,
254 &static_parallax_name,
255 &static_parallax_loop_x,
256 &static_parallax_loop_y,
257 &static_parallax_auto_loop_x,
258 &static_parallax_sx,
259 &static_parallax_auto_loop_y,
260 &static_parallax_sy,
261 &static_generator_flag,
262 &static_generator_mode,
263 &static_top_level,
264 &static_generator_tiles,
265 &static_generator_width,
266 &static_generator_height,
267 &static_generator_surround,
268 &static_generator_upper_wall,
269 &static_generator_floor_b,
270 &static_generator_floor_c,
271 &static_generator_extra_b,
272 &static_generator_extra_c,
273 &static_generator_x,
274 &static_generator_y,
275 &static_generator_tile_ids,
276 &static_lower_layer,
277 &static_upper_layer,
278 &static_events,
279 &static_save_count_2k3e,
280 &static_save_count,
281 NULL
282};
283
284template class Struct<RPG::Map>;
int32_t generator_height
Definition: rpg_map.h:79
std::vector< uint32_t > generator_y
Definition: rpg_map.h:87
int32_t parallax_sx
Definition: rpg_map.h:71
bool generator_floor_c
Definition: rpg_map.h:83
bool generator_upper_wall
Definition: rpg_map.h:81
bool generator_floor_b
Definition: rpg_map.h:82
bool parallax_flag
Definition: rpg_map.h:66
int32_t parallax_sy
Definition: rpg_map.h:73
int32_t chipset_id
Definition: rpg_map.h:62
std::vector< Event > events
Definition: rpg_map.h:91
bool generator_surround
Definition: rpg_map.h:80
int32_t height
Definition: rpg_map.h:64
int32_t save_count
Definition: rpg_map.h:93
std::vector< uint32_t > generator_x
Definition: rpg_map.h:86
bool parallax_loop_y
Definition: rpg_map.h:69
bool generator_extra_c
Definition: rpg_map.h:85
std::vector< int16_t > lower_layer
Definition: rpg_map.h:89
int32_t width
Definition: rpg_map.h:63
int32_t generator_mode
Definition: rpg_map.h:75
int32_t generator_width
Definition: rpg_map.h:78
int32_t generator_tiles
Definition: rpg_map.h:77
int32_t save_count_2k3e
Definition: rpg_map.h:92
bool parallax_auto_loop_y
Definition: rpg_map.h:72
bool parallax_auto_loop_x
Definition: rpg_map.h:70
std::string parallax_name
Definition: rpg_map.h:67
std::vector< int16_t > upper_layer
Definition: rpg_map.h:90
bool generator_flag
Definition: rpg_map.h:74
bool top_level
Definition: rpg_map.h:76
int32_t scroll_type
Definition: rpg_map.h:65
std::vector< int16_t > generator_tile_ids
Definition: rpg_map.h:88
bool generator_extra_b
Definition: rpg_map.h:84
bool parallax_loop_x
Definition: rpg_map.h:68