liblcf
Loading...
Searching...
No Matches
lsd_savemapeventbase.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/lsd/reader.h"
14#include "lcf/lsd/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read SaveMapEventBase.
20
21template <>
22char const* const Struct<rpg::SaveMapEventBase>::name = "SaveMapEventBase";
24 &rpg::SaveMapEventBase::active,
25 LSD_Reader::ChunkSaveMapEventBase::active,
26 "active",
27 0,
28 0
29);
31 &rpg::SaveMapEventBase::map_id,
32 LSD_Reader::ChunkSaveMapEventBase::map_id,
33 "map_id",
34 1,
35 0
36);
37static TypedField<rpg::SaveMapEventBase, int32_t> static_position_x(
38 &rpg::SaveMapEventBase::position_x,
39 LSD_Reader::ChunkSaveMapEventBase::position_x,
40 "position_x",
41 1,
42 0
43);
44static TypedField<rpg::SaveMapEventBase, int32_t> static_position_y(
45 &rpg::SaveMapEventBase::position_y,
46 LSD_Reader::ChunkSaveMapEventBase::position_y,
47 "position_y",
48 1,
49 0
50);
51static TypedField<rpg::SaveMapEventBase, int32_t> static_direction(
52 &rpg::SaveMapEventBase::direction,
53 LSD_Reader::ChunkSaveMapEventBase::direction,
54 "direction",
55 1,
56 0
57);
59 &rpg::SaveMapEventBase::facing,
60 LSD_Reader::ChunkSaveMapEventBase::facing,
61 "facing",
62 1,
63 0
64);
65static TypedField<rpg::SaveMapEventBase, int32_t> static_anim_frame(
66 &rpg::SaveMapEventBase::anim_frame,
67 LSD_Reader::ChunkSaveMapEventBase::anim_frame,
68 "anim_frame",
69 0,
70 0
71);
72static TypedField<rpg::SaveMapEventBase, int32_t> static_transparency(
73 &rpg::SaveMapEventBase::transparency,
74 LSD_Reader::ChunkSaveMapEventBase::transparency,
75 "transparency",
76 0,
77 0
78);
79static TypedField<rpg::SaveMapEventBase, int32_t> static_remaining_step(
80 &rpg::SaveMapEventBase::remaining_step,
81 LSD_Reader::ChunkSaveMapEventBase::remaining_step,
82 "remaining_step",
83 0,
84 0
85);
86static TypedField<rpg::SaveMapEventBase, int32_t> static_move_frequency(
87 &rpg::SaveMapEventBase::move_frequency,
88 LSD_Reader::ChunkSaveMapEventBase::move_frequency,
89 "move_frequency",
90 0,
91 0
92);
94 &rpg::SaveMapEventBase::layer,
95 LSD_Reader::ChunkSaveMapEventBase::layer,
96 "layer",
97 1,
98 0
99);
100static TypedField<rpg::SaveMapEventBase, bool> static_overlap_forbidden(
101 &rpg::SaveMapEventBase::overlap_forbidden,
102 LSD_Reader::ChunkSaveMapEventBase::overlap_forbidden,
103 "overlap_forbidden",
104 0,
105 0
106);
107static TypedField<rpg::SaveMapEventBase, int32_t> static_animation_type(
108 &rpg::SaveMapEventBase::animation_type,
109 LSD_Reader::ChunkSaveMapEventBase::animation_type,
110 "animation_type",
111 1,
112 0
113);
114static TypedField<rpg::SaveMapEventBase, bool> static_lock_facing(
115 &rpg::SaveMapEventBase::lock_facing,
116 LSD_Reader::ChunkSaveMapEventBase::lock_facing,
117 "lock_facing",
118 0,
119 0
120);
121static TypedField<rpg::SaveMapEventBase, int32_t> static_move_speed(
122 &rpg::SaveMapEventBase::move_speed,
123 LSD_Reader::ChunkSaveMapEventBase::move_speed,
124 "move_speed",
125 1,
126 0
127);
129 &rpg::SaveMapEventBase::move_route,
130 LSD_Reader::ChunkSaveMapEventBase::move_route,
131 "move_route",
132 1,
133 0
134);
135static TypedField<rpg::SaveMapEventBase, bool> static_move_route_overwrite(
136 &rpg::SaveMapEventBase::move_route_overwrite,
137 LSD_Reader::ChunkSaveMapEventBase::move_route_overwrite,
138 "move_route_overwrite",
139 0,
140 0
141);
142static TypedField<rpg::SaveMapEventBase, int32_t> static_move_route_index(
143 &rpg::SaveMapEventBase::move_route_index,
144 LSD_Reader::ChunkSaveMapEventBase::move_route_index,
145 "move_route_index",
146 0,
147 0
148);
149static TypedField<rpg::SaveMapEventBase, bool> static_move_route_finished(
150 &rpg::SaveMapEventBase::move_route_finished,
151 LSD_Reader::ChunkSaveMapEventBase::move_route_finished,
152 "move_route_finished",
153 0,
154 0
155);
156static TypedField<rpg::SaveMapEventBase, bool> static_sprite_hidden(
157 &rpg::SaveMapEventBase::sprite_hidden,
158 LSD_Reader::ChunkSaveMapEventBase::sprite_hidden,
159 "sprite_hidden",
160 0,
161 0
162);
163static TypedField<rpg::SaveMapEventBase, bool> static_move_route_through(
164 &rpg::SaveMapEventBase::move_route_through,
165 LSD_Reader::ChunkSaveMapEventBase::move_route_through,
166 "move_route_through",
167 0,
168 0
169);
170static TypedField<rpg::SaveMapEventBase, int32_t> static_anim_paused(
171 &rpg::SaveMapEventBase::anim_paused,
172 LSD_Reader::ChunkSaveMapEventBase::anim_paused,
173 "anim_paused",
174 0,
175 0
176);
177static TypedField<rpg::SaveMapEventBase, bool> static_through(
178 &rpg::SaveMapEventBase::through,
179 LSD_Reader::ChunkSaveMapEventBase::through,
180 "through",
181 0,
182 0
183);
184static TypedField<rpg::SaveMapEventBase, int32_t> static_stop_count(
185 &rpg::SaveMapEventBase::stop_count,
186 LSD_Reader::ChunkSaveMapEventBase::stop_count,
187 "stop_count",
188 0,
189 0
190);
191static TypedField<rpg::SaveMapEventBase, int32_t> static_anim_count(
192 &rpg::SaveMapEventBase::anim_count,
193 LSD_Reader::ChunkSaveMapEventBase::anim_count,
194 "anim_count",
195 0,
196 0
197);
198static TypedField<rpg::SaveMapEventBase, int32_t> static_max_stop_count(
199 &rpg::SaveMapEventBase::max_stop_count,
200 LSD_Reader::ChunkSaveMapEventBase::max_stop_count,
201 "max_stop_count",
202 0,
203 0
204);
205static TypedField<rpg::SaveMapEventBase, bool> static_jumping(
206 &rpg::SaveMapEventBase::jumping,
207 LSD_Reader::ChunkSaveMapEventBase::jumping,
208 "jumping",
209 0,
210 0
211);
212static TypedField<rpg::SaveMapEventBase, int32_t> static_begin_jump_x(
213 &rpg::SaveMapEventBase::begin_jump_x,
214 LSD_Reader::ChunkSaveMapEventBase::begin_jump_x,
215 "begin_jump_x",
216 0,
217 0
218);
219static TypedField<rpg::SaveMapEventBase, int32_t> static_begin_jump_y(
220 &rpg::SaveMapEventBase::begin_jump_y,
221 LSD_Reader::ChunkSaveMapEventBase::begin_jump_y,
222 "begin_jump_y",
223 0,
224 0
225);
227 &rpg::SaveMapEventBase::pause,
228 LSD_Reader::ChunkSaveMapEventBase::pause,
229 "pause",
230 0,
231 0
232);
233static TypedField<rpg::SaveMapEventBase, bool> static_flying(
234 &rpg::SaveMapEventBase::flying,
235 LSD_Reader::ChunkSaveMapEventBase::flying,
236 "flying",
237 0,
238 0
239);
240static TypedField<rpg::SaveMapEventBase, std::string> static_sprite_name(
241 &rpg::SaveMapEventBase::sprite_name,
242 LSD_Reader::ChunkSaveMapEventBase::sprite_name,
243 "sprite_name",
244 0,
245 0
246);
247static TypedField<rpg::SaveMapEventBase, int32_t> static_sprite_id(
248 &rpg::SaveMapEventBase::sprite_id,
249 LSD_Reader::ChunkSaveMapEventBase::sprite_id,
250 "sprite_id",
251 0,
252 0
253);
254static TypedField<rpg::SaveMapEventBase, bool> static_processed(
255 &rpg::SaveMapEventBase::processed,
256 LSD_Reader::ChunkSaveMapEventBase::processed,
257 "processed",
258 0,
259 0
260);
261static TypedField<rpg::SaveMapEventBase, int32_t> static_flash_red(
262 &rpg::SaveMapEventBase::flash_red,
263 LSD_Reader::ChunkSaveMapEventBase::flash_red,
264 "flash_red",
265 0,
266 0
267);
268static TypedField<rpg::SaveMapEventBase, int32_t> static_flash_green(
269 &rpg::SaveMapEventBase::flash_green,
270 LSD_Reader::ChunkSaveMapEventBase::flash_green,
271 "flash_green",
272 0,
273 0
274);
275static TypedField<rpg::SaveMapEventBase, int32_t> static_flash_blue(
276 &rpg::SaveMapEventBase::flash_blue,
277 LSD_Reader::ChunkSaveMapEventBase::flash_blue,
278 "flash_blue",
279 0,
280 0
281);
282static TypedField<rpg::SaveMapEventBase, double> static_flash_current_level(
283 &rpg::SaveMapEventBase::flash_current_level,
284 LSD_Reader::ChunkSaveMapEventBase::flash_current_level,
285 "flash_current_level",
286 0,
287 0
288);
289static TypedField<rpg::SaveMapEventBase, int32_t> static_flash_time_left(
290 &rpg::SaveMapEventBase::flash_time_left,
291 LSD_Reader::ChunkSaveMapEventBase::flash_time_left,
292 "flash_time_left",
293 0,
294 0
295);
296
297
298template <>
300 &static_active,
301 &static_map_id,
302 &static_position_x,
303 &static_position_y,
304 &static_direction,
305 &static_facing,
306 &static_anim_frame,
307 &static_transparency,
308 &static_remaining_step,
309 &static_move_frequency,
310 &static_layer,
311 &static_overlap_forbidden,
312 &static_animation_type,
313 &static_lock_facing,
314 &static_move_speed,
315 &static_move_route,
316 &static_move_route_overwrite,
317 &static_move_route_index,
318 &static_move_route_finished,
319 &static_sprite_hidden,
320 &static_move_route_through,
321 &static_anim_paused,
322 &static_through,
323 &static_stop_count,
324 &static_anim_count,
325 &static_max_stop_count,
326 &static_jumping,
327 &static_begin_jump_x,
328 &static_begin_jump_y,
329 &static_pause,
330 &static_flying,
331 &static_sprite_name,
332 &static_sprite_id,
333 &static_processed,
334 &static_flash_red,
335 &static_flash_green,
336 &static_flash_blue,
337 &static_flash_current_level,
338 &static_flash_time_left,
339 NULL
340};
341
342template class Struct<rpg::SaveMapEventBase>;
343
344} //namespace lcf
Definition: dbarray.cpp:13