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