liblcf
lsd_savepartylocation.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 SavePartyLocation.
18 
19 template <>
20 char const* const Struct<RPG::SavePartyLocation>::name = "SavePartyLocation";
21 static TypedField<RPG::SavePartyLocation, bool> static_active(
24  "active",
25  0,
26  0
27 );
31  "map_id",
32  1,
33  0
34 );
35 static TypedField<RPG::SavePartyLocation, int32_t> static_position_x(
38  "position_x",
39  1,
40  0
41 );
42 static TypedField<RPG::SavePartyLocation, int32_t> static_position_y(
45  "position_y",
46  1,
47  0
48 );
49 static TypedField<RPG::SavePartyLocation, int32_t> static_direction(
52  "direction",
53  1,
54  0
55 );
56 static TypedField<RPG::SavePartyLocation, int32_t> static_sprite_direction(
59  "sprite_direction",
60  1,
61  0
62 );
63 static TypedField<RPG::SavePartyLocation, int32_t> static_anim_frame(
66  "anim_frame",
67  0,
68  0
69 );
70 static TypedField<RPG::SavePartyLocation, int32_t> static_transparency(
73  "transparency",
74  0,
75  0
76 );
77 static TypedField<RPG::SavePartyLocation, int32_t> static_remaining_step(
80  "remaining_step",
81  0,
82  0
83 );
84 static TypedField<RPG::SavePartyLocation, int32_t> static_move_frequency(
87  "move_frequency",
88  0,
89  0
90 );
94  "layer",
95  1,
96  0
97 );
98 static TypedField<RPG::SavePartyLocation, bool> static_overlap_forbidden(
101  "overlap_forbidden",
102  0,
103  0
104 );
105 static TypedField<RPG::SavePartyLocation, int32_t> static_animation_type(
108  "animation_type",
109  1,
110  0
111 );
112 static TypedField<RPG::SavePartyLocation, bool> static_lock_facing(
115  "lock_facing",
116  0,
117  0
118 );
119 static TypedField<RPG::SavePartyLocation, int32_t> static_move_speed(
122  "move_speed",
123  1,
124  0
125 );
129  "move_route",
130  1,
131  0
132 );
133 static TypedField<RPG::SavePartyLocation, bool> static_move_route_overwrite(
136  "move_route_overwrite",
137  0,
138  0
139 );
140 static TypedField<RPG::SavePartyLocation, int32_t> static_move_route_index(
143  "move_route_index",
144  0,
145  0
146 );
147 static TypedField<RPG::SavePartyLocation, bool> static_move_route_repeated(
150  "move_route_repeated",
151  0,
152  0
153 );
154 static TypedField<RPG::SavePartyLocation, bool> static_sprite_transparent(
157  "sprite_transparent",
158  0,
159  0
160 );
161 static TypedField<RPG::SavePartyLocation, bool> static_route_through(
164  "route_through",
165  0,
166  0
167 );
168 static TypedField<RPG::SavePartyLocation, int32_t> static_anim_paused(
171  "anim_paused",
172  0,
173  0
174 );
175 static TypedField<RPG::SavePartyLocation, bool> static_through(
178  "through",
179  0,
180  0
181 );
182 static TypedField<RPG::SavePartyLocation, int32_t> static_stop_count(
185  "stop_count",
186  0,
187  0
188 );
189 static TypedField<RPG::SavePartyLocation, int32_t> static_anim_count(
192  "anim_count",
193  0,
194  0
195 );
196 static TypedField<RPG::SavePartyLocation, int32_t> static_max_stop_count(
199  "max_stop_count",
200  0,
201  0
202 );
203 static TypedField<RPG::SavePartyLocation, bool> static_jumping(
206  "jumping",
207  0,
208  0
209 );
210 static TypedField<RPG::SavePartyLocation, int32_t> static_begin_jump_x(
213  "begin_jump_x",
214  0,
215  0
216 );
217 static TypedField<RPG::SavePartyLocation, int32_t> static_begin_jump_y(
220  "begin_jump_y",
221  0,
222  0
223 );
224 static TypedField<RPG::SavePartyLocation, bool> static_pause(
227  "pause",
228  0,
229  0
230 );
231 static TypedField<RPG::SavePartyLocation, bool> static_flying(
234  "flying",
235  0,
236  0
237 );
238 static TypedField<RPG::SavePartyLocation, std::string> static_sprite_name(
241  "sprite_name",
242  0,
243  0
244 );
245 static TypedField<RPG::SavePartyLocation, int32_t> static_sprite_id(
248  "sprite_id",
249  0,
250  0
251 );
252 static TypedField<RPG::SavePartyLocation, bool> static_processed(
255  "processed",
256  0,
257  0
258 );
259 static TypedField<RPG::SavePartyLocation, int32_t> static_flash_red(
262  "flash_red",
263  0,
264  0
265 );
266 static TypedField<RPG::SavePartyLocation, int32_t> static_flash_green(
269  "flash_green",
270  0,
271  0
272 );
273 static TypedField<RPG::SavePartyLocation, int32_t> static_flash_blue(
276  "flash_blue",
277  0,
278  0
279 );
280 static TypedField<RPG::SavePartyLocation, double> static_flash_current_level(
283  "flash_current_level",
284  0,
285  0
286 );
287 static TypedField<RPG::SavePartyLocation, int32_t> static_flash_time_left(
290  "flash_time_left",
291  0,
292  0
293 );
294 static TypedField<RPG::SavePartyLocation, bool> static_boarding(
297  "boarding",
298  0,
299  0
300 );
301 static TypedField<RPG::SavePartyLocation, bool> static_aboard(
304  "aboard",
305  0,
306  0
307 );
308 static TypedField<RPG::SavePartyLocation, int32_t> static_vehicle(
311  "vehicle",
312  0,
313  0
314 );
315 static TypedField<RPG::SavePartyLocation, bool> static_unboarding(
318  "unboarding",
319  0,
320  0
321 );
322 static TypedField<RPG::SavePartyLocation, int32_t> static_preboard_move_speed(
325  "preboard_move_speed",
326  0,
327  0
328 );
329 static TypedField<RPG::SavePartyLocation, bool> static_menu_calling(
332  "menu_calling",
333  0,
334  0
335 );
336 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_state(
339  "pan_state",
340  0,
341  0
342 );
343 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_current_x(
346  "pan_current_x",
347  0,
348  0
349 );
350 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_current_y(
353  "pan_current_y",
354  0,
355  0
356 );
357 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_finish_x(
360  "pan_finish_x",
361  0,
362  0
363 );
364 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_finish_y(
367  "pan_finish_y",
368  0,
369  0
370 );
371 static TypedField<RPG::SavePartyLocation, int32_t> static_pan_speed(
374  "pan_speed",
375  0,
376  0
377 );
378 static TypedField<RPG::SavePartyLocation, int32_t> static_encounter_steps(
381  "encounter_steps",
382  0,
383  0
384 );
385 static TypedField<RPG::SavePartyLocation, bool> static_encounter_calling(
388  "encounter_calling",
389  0,
390  0
391 );
392 static TypedField<RPG::SavePartyLocation, int32_t> static_map_save_count(
395  "map_save_count",
396  0,
397  0
398 );
399 static TypedField<RPG::SavePartyLocation, int32_t> static_database_save_count(
402  "database_save_count",
403  0,
404  0
405 );
406 
407 
408 template <>
410  &static_active,
411  &static_map_id,
412  &static_position_x,
413  &static_position_y,
414  &static_direction,
415  &static_sprite_direction,
416  &static_anim_frame,
417  &static_transparency,
418  &static_remaining_step,
419  &static_move_frequency,
420  &static_layer,
421  &static_overlap_forbidden,
422  &static_animation_type,
423  &static_lock_facing,
424  &static_move_speed,
425  &static_move_route,
426  &static_move_route_overwrite,
427  &static_move_route_index,
428  &static_move_route_repeated,
429  &static_sprite_transparent,
430  &static_route_through,
431  &static_anim_paused,
432  &static_through,
433  &static_stop_count,
434  &static_anim_count,
435  &static_max_stop_count,
436  &static_jumping,
437  &static_begin_jump_x,
438  &static_begin_jump_y,
439  &static_pause,
440  &static_flying,
441  &static_sprite_name,
442  &static_sprite_id,
443  &static_processed,
444  &static_flash_red,
445  &static_flash_green,
446  &static_flash_blue,
447  &static_flash_current_level,
448  &static_flash_time_left,
449  &static_boarding,
450  &static_aboard,
451  &static_vehicle,
452  &static_unboarding,
453  &static_preboard_move_speed,
454  &static_menu_calling,
455  &static_pan_state,
456  &static_pan_current_x,
457  &static_pan_current_y,
458  &static_pan_finish_x,
459  &static_pan_finish_y,
460  &static_pan_speed,
461  &static_encounter_steps,
462  &static_encounter_calling,
463  &static_map_save_count,
464  &static_database_save_count,
465  NULL
466 };
467 
468 template class Struct<RPG::SavePartyLocation>;
RPG::SaveMapEventBase::begin_jump_x
int32_t begin_jump_x
Definition: rpg_savemapeventbase.h:54
LSD_Reader::ChunkSavePartyLocation::pan_current_x
@ pan_current_x
Definition: lsd_chunks.h:404
RPG::SaveMapEventBase::pause
bool pause
Definition: rpg_savemapeventbase.h:56
LSD_Reader::ChunkSavePartyLocation::layer
@ layer
Definition: lsd_chunks.h:332
RPG::SavePartyLocation::pan_speed
int32_t pan_speed
Definition: rpg_savepartylocation.h:65
RPG::SavePartyLocation::pan_current_x
int32_t pan_current_x
Definition: rpg_savepartylocation.h:61
RPG::SaveMapEventBase::max_stop_count
int32_t max_stop_count
Definition: rpg_savemapeventbase.h:52
RPG::SaveMapEventBase::lock_facing
bool lock_facing
Definition: rpg_savemapeventbase.h:40
LSD_Reader::ChunkSavePartyLocation::remaining_step
@ remaining_step
Definition: lsd_chunks.h:328
LSD_Reader::ChunkSavePartyLocation::begin_jump_x
@ begin_jump_x
Definition: lsd_chunks.h:366
LSD_Reader::ChunkSavePartyLocation::transparency
@ transparency
Definition: lsd_chunks.h:326
RPG::SaveMapEventBase::flash_red
int32_t flash_red
Definition: rpg_savemapeventbase.h:61
LSD_Reader::ChunkSavePartyLocation::unboarding
@ unboarding
Definition: lsd_chunks.h:396
LSD_Reader::ChunkSavePartyLocation::begin_jump_y
@ begin_jump_y
Definition: lsd_chunks.h:368
RPG::SaveMapEventBase::anim_count
int32_t anim_count
Definition: rpg_savemapeventbase.h:51
LSD_Reader::ChunkSavePartyLocation::processed
@ processed
Definition: lsd_chunks.h:378
LSD_Reader::ChunkSavePartyLocation::flash_red
@ flash_red
Definition: lsd_chunks.h:380
LSD_Reader::ChunkSavePartyLocation::aboard
@ aboard
Definition: lsd_chunks.h:392
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LSD_Reader::ChunkSavePartyLocation::max_stop_count
@ max_stop_count
Definition: lsd_chunks.h:362
LSD_Reader::ChunkSavePartyLocation::encounter_steps
@ encounter_steps
Definition: lsd_chunks.h:414
RPG::SavePartyLocation::unboarding
bool unboarding
Definition: rpg_savepartylocation.h:57
RPG::SaveMapEventBase::remaining_step
int32_t remaining_step
Definition: rpg_savemapeventbase.h:35
LSD_Reader::ChunkSavePartyLocation::route_through
@ route_through
Definition: lsd_chunks.h:352
LSD_Reader::ChunkSavePartyLocation::anim_paused
@ anim_paused
Definition: lsd_chunks.h:354
LSD_Reader::ChunkSavePartyLocation::move_route_overwrite
@ move_route_overwrite
Definition: lsd_chunks.h:344
RPG::SaveMapEventBase::flash_time_left
int32_t flash_time_left
Definition: rpg_savemapeventbase.h:65
LSD_Reader::ChunkSavePartyLocation::map_id
@ map_id
Definition: lsd_chunks.h:314
RPG::SaveMapEventBase::transparency
int32_t transparency
Definition: rpg_savemapeventbase.h:34
RPG::SaveMapEventBase::flash_blue
int32_t flash_blue
Definition: rpg_savemapeventbase.h:63
RPG::SaveMapEventBase::layer
int32_t layer
Definition: rpg_savemapeventbase.h:37
LSD_Reader::ChunkSavePartyLocation::boarding
@ boarding
Definition: lsd_chunks.h:390
LSD_Reader::ChunkSavePartyLocation::move_route_repeated
@ move_route_repeated
Definition: lsd_chunks.h:348
LSD_Reader::ChunkSavePartyLocation::sprite_direction
@ sprite_direction
Definition: lsd_chunks.h:322
Struct
Definition: reader_struct.h:43
LSD_Reader::ChunkSavePartyLocation::pan_current_y
@ pan_current_y
Definition: lsd_chunks.h:406
RPG::SavePartyLocation::vehicle
int32_t vehicle
Definition: rpg_savepartylocation.h:56
RPG::SavePartyLocation::map_save_count
int32_t map_save_count
Definition: rpg_savepartylocation.h:68
LSD_Reader::ChunkSavePartyLocation::flash_green
@ flash_green
Definition: lsd_chunks.h:382
RPG::SaveMapEventBase::move_route_repeated
bool move_route_repeated
Definition: rpg_savemapeventbase.h:45
RPG::SaveMapEventBase::through
bool through
Definition: rpg_savemapeventbase.h:49
LSD_Reader::ChunkSavePartyLocation::menu_calling
@ menu_calling
Definition: lsd_chunks.h:400
RPG::SavePartyLocation::aboard
bool aboard
Definition: rpg_savepartylocation.h:55
RPG::SaveMapEventBase::jumping
bool jumping
Definition: rpg_savemapeventbase.h:53
RPG::SaveMapEventBase::route_through
bool route_through
Definition: rpg_savemapeventbase.h:47
LSD_Reader::ChunkSavePartyLocation::map_save_count
@ map_save_count
Definition: lsd_chunks.h:418
RPG::SaveMapEventBase::flash_green
int32_t flash_green
Definition: rpg_savemapeventbase.h:62
RPG::SaveMapEventBase::anim_frame
int32_t anim_frame
Definition: rpg_savemapeventbase.h:33
LSD_Reader::ChunkSavePartyLocation::flash_time_left
@ flash_time_left
Definition: lsd_chunks.h:388
LSD_Reader::ChunkSavePartyLocation::lock_facing
@ lock_facing
Definition: lsd_chunks.h:338
RPG::SaveMapEventBase::sprite_name
std::string sprite_name
Definition: rpg_savemapeventbase.h:58
LSD_Reader::ChunkSavePartyLocation::flying
@ flying
Definition: lsd_chunks.h:372
RPG::SaveMapEventBase::flash_current_level
double flash_current_level
Definition: rpg_savemapeventbase.h:64
RPG::SaveMapEventBase::sprite_direction
int32_t sprite_direction
Definition: rpg_savemapeventbase.h:32
RPG::SaveMapEventBase::anim_paused
int32_t anim_paused
Definition: rpg_savemapeventbase.h:48
RPG::SavePartyLocation::boarding
bool boarding
Definition: rpg_savepartylocation.h:54
LSD_Reader::ChunkSavePartyLocation::move_route
@ move_route
Definition: lsd_chunks.h:342
LSD_Reader::ChunkSavePartyLocation::direction
@ direction
Definition: lsd_chunks.h:320
LSD_Reader::ChunkSavePartyLocation::animation_type
@ animation_type
Definition: lsd_chunks.h:336
RPG::SavePartyLocation::encounter_calling
bool encounter_calling
Definition: rpg_savepartylocation.h:67
LSD_Reader::ChunkSavePartyLocation::move_frequency
@ move_frequency
Definition: lsd_chunks.h:330
LSD_Reader::ChunkSavePartyLocation::active
@ active
Definition: lsd_chunks.h:312
RPG::SavePartyLocation::database_save_count
int32_t database_save_count
Definition: rpg_savepartylocation.h:69
RPG::SaveMapEventBase::stop_count
int32_t stop_count
Definition: rpg_savemapeventbase.h:50
LSD_Reader::ChunkSavePartyLocation::stop_count
@ stop_count
Definition: lsd_chunks.h:358
RPG::SaveMapEventBase::direction
int32_t direction
Definition: rpg_savemapeventbase.h:31
LSD_Reader::ChunkSavePartyLocation::position_y
@ position_y
Definition: lsd_chunks.h:318
LSD_Reader::ChunkSavePartyLocation::sprite_id
@ sprite_id
Definition: lsd_chunks.h:376
LSD_Reader::ChunkSavePartyLocation::anim_count
@ anim_count
Definition: lsd_chunks.h:360
LSD_Reader::ChunkSavePartyLocation::database_save_count
@ database_save_count
Definition: lsd_chunks.h:420
LSD_Reader::ChunkSavePartyLocation::flash_current_level
@ flash_current_level
Definition: lsd_chunks.h:386
RPG::SaveMapEventBase::processed
bool processed
Definition: rpg_savemapeventbase.h:60
LSD_Reader::ChunkSavePartyLocation::move_route_index
@ move_route_index
Definition: lsd_chunks.h:346
RPG::SavePartyLocation::preboard_move_speed
int32_t preboard_move_speed
Definition: rpg_savepartylocation.h:58
RPG::SaveMapEventBase::position_y
int32_t position_y
Definition: rpg_savemapeventbase.h:30
RPG::SaveMapEventBase::move_speed
int32_t move_speed
Definition: rpg_savemapeventbase.h:41
LSD_Reader::ChunkSavePartyLocation::pause
@ pause
Definition: lsd_chunks.h:370
lsd_reader.h
LSD_Reader::ChunkSavePartyLocation::overlap_forbidden
@ overlap_forbidden
Definition: lsd_chunks.h:334
RPG::SaveMapEventBase::sprite_transparent
bool sprite_transparent
Definition: rpg_savemapeventbase.h:46
LSD_Reader::ChunkSavePartyLocation::preboard_move_speed
@ preboard_move_speed
Definition: lsd_chunks.h:398
LSD_Reader::ChunkSavePartyLocation::encounter_calling
@ encounter_calling
Definition: lsd_chunks.h:416
LSD_Reader::ChunkSavePartyLocation::through
@ through
Definition: lsd_chunks.h:356
RPG::SaveMapEventBase::move_frequency
int32_t move_frequency
Definition: rpg_savemapeventbase.h:36
LSD_Reader::ChunkSavePartyLocation::pan_state
@ pan_state
Definition: lsd_chunks.h:402
RPG::SavePartyLocation::encounter_steps
int32_t encounter_steps
Definition: rpg_savepartylocation.h:66
RPG::SavePartyLocation::pan_finish_x
int32_t pan_finish_x
Definition: rpg_savepartylocation.h:63
LSD_Reader::ChunkSavePartyLocation::position_x
@ position_x
Definition: lsd_chunks.h:316
lsd_chunks.h
RPG::SaveMapEventBase::move_route_index
int32_t move_route_index
Definition: rpg_savemapeventbase.h:44
LSD_Reader::ChunkSavePartyLocation::flash_blue
@ flash_blue
Definition: lsd_chunks.h:384
reader_struct_impl.h
RPG::SaveMapEventBase::active
bool active
Definition: rpg_savemapeventbase.h:27
LSD_Reader::ChunkSavePartyLocation::jumping
@ jumping
Definition: lsd_chunks.h:364
RPG::SaveMapEventBase::begin_jump_y
int32_t begin_jump_y
Definition: rpg_savemapeventbase.h:55
LSD_Reader::ChunkSavePartyLocation::sprite_name
@ sprite_name
Definition: lsd_chunks.h:374
RPG::SavePartyLocation::pan_finish_y
int32_t pan_finish_y
Definition: rpg_savepartylocation.h:64
RPG::SaveMapEventBase::move_route_overwrite
bool move_route_overwrite
Definition: rpg_savemapeventbase.h:43
RPG::SaveMapEventBase::overlap_forbidden
bool overlap_forbidden
Definition: rpg_savemapeventbase.h:38
RPG::SaveMapEventBase::map_id
int32_t map_id
Definition: rpg_savemapeventbase.h:28
RPG::SaveMapEventBase::position_x
int32_t position_x
Definition: rpg_savemapeventbase.h:29
RPG::SaveMapEventBase::animation_type
int32_t animation_type
Definition: rpg_savemapeventbase.h:39
LSD_Reader::ChunkSavePartyLocation::anim_frame
@ anim_frame
Definition: lsd_chunks.h:324
RPG::SavePartyLocation::pan_state
int32_t pan_state
Definition: rpg_savepartylocation.h:60
RPG::SavePartyLocation::menu_calling
bool menu_calling
Definition: rpg_savepartylocation.h:59
RPG::SavePartyLocation::pan_current_y
int32_t pan_current_y
Definition: rpg_savepartylocation.h:62
LSD_Reader::ChunkSavePartyLocation::pan_speed
@ pan_speed
Definition: lsd_chunks.h:412
LSD_Reader::ChunkSavePartyLocation::pan_finish_x
@ pan_finish_x
Definition: lsd_chunks.h:408
RPG::SaveMapEventBase::sprite_id
int32_t sprite_id
Definition: rpg_savemapeventbase.h:59
RPG::SaveMapEventBase::flying
bool flying
Definition: rpg_savemapeventbase.h:57
LSD_Reader::ChunkSavePartyLocation::sprite_transparent
@ sprite_transparent
Definition: lsd_chunks.h:350
LSD_Reader::ChunkSavePartyLocation::move_speed
@ move_speed
Definition: lsd_chunks.h:340
LSD_Reader::ChunkSavePartyLocation::vehicle
@ vehicle
Definition: lsd_chunks.h:394
RPG::SaveMapEventBase::move_route
MoveRoute move_route
Definition: rpg_savemapeventbase.h:42
LSD_Reader::ChunkSavePartyLocation::pan_finish_y
@ pan_finish_y
Definition: lsd_chunks.h:410