liblcf
Loading...
Searching...
No Matches
lsd_savemapevent.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 "lsd_reader.h"
14#include "lsd_chunks.h"
15#include "reader_struct_impl.h"
16
17// Read SaveMapEvent.
18
19template <>
20char const* const Struct<RPG::SaveMapEvent>::name = "SaveMapEvent";
21static TypedField<RPG::SaveMapEvent, bool> static_active(
24 "active",
25 0,
26 0
27);
31 "map_id",
32 1,
33 0
34);
35static TypedField<RPG::SaveMapEvent, int32_t> static_position_x(
38 "position_x",
39 1,
40 0
41);
42static TypedField<RPG::SaveMapEvent, int32_t> static_position_y(
45 "position_y",
46 1,
47 0
48);
49static TypedField<RPG::SaveMapEvent, int32_t> static_direction(
52 "direction",
53 1,
54 0
55);
56static TypedField<RPG::SaveMapEvent, int32_t> static_sprite_direction(
59 "sprite_direction",
60 1,
61 0
62);
63static TypedField<RPG::SaveMapEvent, int32_t> static_anim_frame(
66 "anim_frame",
67 0,
68 0
69);
70static TypedField<RPG::SaveMapEvent, int32_t> static_transparency(
73 "transparency",
74 0,
75 0
76);
77static TypedField<RPG::SaveMapEvent, int32_t> static_remaining_step(
80 "remaining_step",
81 0,
82 0
83);
84static TypedField<RPG::SaveMapEvent, int32_t> static_move_frequency(
87 "move_frequency",
88 0,
89 0
90);
94 "layer",
95 1,
96 0
97);
98static TypedField<RPG::SaveMapEvent, bool> static_overlap_forbidden(
101 "overlap_forbidden",
102 0,
103 0
104);
105static TypedField<RPG::SaveMapEvent, int32_t> static_animation_type(
108 "animation_type",
109 1,
110 0
111);
112static TypedField<RPG::SaveMapEvent, bool> static_lock_facing(
115 "lock_facing",
116 0,
117 0
118);
119static TypedField<RPG::SaveMapEvent, int32_t> static_move_speed(
122 "move_speed",
123 1,
124 0
125);
126static TypedField<RPG::SaveMapEvent, RPG::MoveRoute> static_move_route(
129 "move_route",
130 1,
131 0
132);
133static TypedField<RPG::SaveMapEvent, bool> static_move_route_overwrite(
136 "move_route_overwrite",
137 0,
138 0
139);
140static TypedField<RPG::SaveMapEvent, int32_t> static_move_route_index(
143 "move_route_index",
144 0,
145 0
146);
147static TypedField<RPG::SaveMapEvent, bool> static_move_route_repeated(
150 "move_route_repeated",
151 0,
152 0
153);
154static TypedField<RPG::SaveMapEvent, bool> static_sprite_transparent(
157 "sprite_transparent",
158 0,
159 0
160);
161static TypedField<RPG::SaveMapEvent, bool> static_route_through(
164 "route_through",
165 0,
166 0
167);
168static TypedField<RPG::SaveMapEvent, int32_t> static_anim_paused(
171 "anim_paused",
172 0,
173 0
174);
175static TypedField<RPG::SaveMapEvent, bool> static_through(
178 "through",
179 0,
180 0
181);
182static TypedField<RPG::SaveMapEvent, int32_t> static_stop_count(
185 "stop_count",
186 0,
187 0
188);
189static TypedField<RPG::SaveMapEvent, int32_t> static_anim_count(
192 "anim_count",
193 0,
194 0
195);
196static TypedField<RPG::SaveMapEvent, int32_t> static_max_stop_count(
199 "max_stop_count",
200 0,
201 0
202);
203static TypedField<RPG::SaveMapEvent, bool> static_jumping(
206 "jumping",
207 0,
208 0
209);
210static TypedField<RPG::SaveMapEvent, int32_t> static_begin_jump_x(
213 "begin_jump_x",
214 0,
215 0
216);
217static TypedField<RPG::SaveMapEvent, int32_t> static_begin_jump_y(
220 "begin_jump_y",
221 0,
222 0
223);
224static TypedField<RPG::SaveMapEvent, bool> static_pause(
227 "pause",
228 0,
229 0
230);
231static TypedField<RPG::SaveMapEvent, bool> static_flying(
234 "flying",
235 0,
236 0
237);
238static TypedField<RPG::SaveMapEvent, std::string> static_sprite_name(
241 "sprite_name",
242 0,
243 0
244);
245static TypedField<RPG::SaveMapEvent, int32_t> static_sprite_id(
248 "sprite_id",
249 0,
250 0
251);
252static TypedField<RPG::SaveMapEvent, bool> static_processed(
255 "processed",
256 0,
257 0
258);
259static TypedField<RPG::SaveMapEvent, int32_t> static_flash_red(
262 "flash_red",
263 0,
264 0
265);
266static TypedField<RPG::SaveMapEvent, int32_t> static_flash_green(
269 "flash_green",
270 0,
271 0
272);
273static TypedField<RPG::SaveMapEvent, int32_t> static_flash_blue(
276 "flash_blue",
277 0,
278 0
279);
280static TypedField<RPG::SaveMapEvent, double> static_flash_current_level(
283 "flash_current_level",
284 0,
285 0
286);
287static TypedField<RPG::SaveMapEvent, int32_t> static_flash_time_left(
290 "flash_time_left",
291 0,
292 0
293);
294static TypedField<RPG::SaveMapEvent, bool> static_waiting_execution(
297 "waiting_execution",
298 0,
299 0
300);
301static TypedField<RPG::SaveMapEvent, int32_t> static_original_move_route_index(
304 "original_move_route_index",
305 0,
306 0
307);
308static TypedField<RPG::SaveMapEvent, bool> static_triggered_by_decision_key(
311 "triggered_by_decision_key",
312 0,
313 0
314);
315static TypedField<RPG::SaveMapEvent, RPG::SaveEventExecState> static_parallel_event_execstate(
318 "parallel_event_execstate",
319 1,
320 0
321);
322
323
324template <>
326 &static_active,
327 &static_map_id,
328 &static_position_x,
329 &static_position_y,
330 &static_direction,
331 &static_sprite_direction,
332 &static_anim_frame,
333 &static_transparency,
334 &static_remaining_step,
335 &static_move_frequency,
336 &static_layer,
337 &static_overlap_forbidden,
338 &static_animation_type,
339 &static_lock_facing,
340 &static_move_speed,
341 &static_move_route,
342 &static_move_route_overwrite,
343 &static_move_route_index,
344 &static_move_route_repeated,
345 &static_sprite_transparent,
346 &static_route_through,
347 &static_anim_paused,
348 &static_through,
349 &static_stop_count,
350 &static_anim_count,
351 &static_max_stop_count,
352 &static_jumping,
353 &static_begin_jump_x,
354 &static_begin_jump_y,
355 &static_pause,
356 &static_flying,
357 &static_sprite_name,
358 &static_sprite_id,
359 &static_processed,
360 &static_flash_red,
361 &static_flash_green,
362 &static_flash_blue,
363 &static_flash_current_level,
364 &static_flash_time_left,
365 &static_waiting_execution,
366 &static_original_move_route_index,
367 &static_triggered_by_decision_key,
368 &static_parallel_event_execstate,
369 NULL
370};
371
372template class Struct<RPG::SaveMapEvent>;
int32_t original_move_route_index
SaveEventExecState parallel_event_execstate