liblcf
Loading...
Searching...
No Matches
lsd_savesystem.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 SaveSystem.
18
19template <>
20char const* const Struct<RPG::SaveSystem>::name = "SaveSystem";
21static TypedField<RPG::SaveSystem, int32_t> static_scene(
24 "scene",
25 1,
26 0
27);
28static TypedField<RPG::SaveSystem, int32_t> static_frame_count(
31 "frame_count",
32 0,
33 0
34);
35static TypedField<RPG::SaveSystem, std::string> static_graphics_name(
38 "graphics_name",
39 0,
40 0
41);
42static TypedField<RPG::SaveSystem, int32_t> static_message_stretch(
45 "message_stretch",
46 0,
47 0
48);
49static TypedField<RPG::SaveSystem, int32_t> static_font_id(
52 "font_id",
53 0,
54 0
55);
56static CountField<RPG::SaveSystem, bool> static_size_switches(
59 0,
60 0
61);
65 "switches",
66 1,
67 0
68);
69static CountField<RPG::SaveSystem, int32_t> static_size_variables(
72 0,
73 0
74);
78 "variables",
79 1,
80 0
81);
82static TypedField<RPG::SaveSystem, int32_t> static_message_transparent(
85 "message_transparent",
86 0,
87 0
88);
89static TypedField<RPG::SaveSystem, int32_t> static_message_position(
92 "message_position",
93 0,
94 0
95);
96static TypedField<RPG::SaveSystem, int32_t> static_message_prevent_overlap(
99 "message_prevent_overlap",
100 0,
101 0
102);
103static TypedField<RPG::SaveSystem, int32_t> static_message_continue_events(
106 "message_continue_events",
107 0,
108 0
109);
110static TypedField<RPG::SaveSystem, std::string> static_face_name(
113 "face_name",
114 0,
115 0
116);
117static TypedField<RPG::SaveSystem, int32_t> static_face_id(
120 "face_id",
121 0,
122 0
123);
124static TypedField<RPG::SaveSystem, bool> static_face_right(
127 "face_right",
128 0,
129 0
130);
131static TypedField<RPG::SaveSystem, bool> static_face_flip(
134 "face_flip",
135 0,
136 0
137);
138static TypedField<RPG::SaveSystem, bool> static_message_active(
141 "message_active",
142 0,
143 0
144);
145static TypedField<RPG::SaveSystem, bool> static_music_stopping(
148 "music_stopping",
149 0,
150 0
151);
152static TypedField<RPG::SaveSystem, RPG::Music> static_title_music(
155 "title_music",
156 1,
157 0
158);
159static TypedField<RPG::SaveSystem, RPG::Music> static_battle_music(
162 "battle_music",
163 1,
164 0
165);
166static TypedField<RPG::SaveSystem, RPG::Music> static_battle_end_music(
169 "battle_end_music",
170 1,
171 0
172);
173static TypedField<RPG::SaveSystem, RPG::Music> static_inn_music(
176 "inn_music",
177 1,
178 0
179);
180static TypedField<RPG::SaveSystem, RPG::Music> static_current_music(
183 "current_music",
184 1,
185 0
186);
187static TypedField<RPG::SaveSystem, RPG::Music> static_before_vehicle_music(
190 "before_vehicle_music",
191 1,
192 0
193);
194static TypedField<RPG::SaveSystem, RPG::Music> static_before_battle_music(
197 "before_battle_music",
198 1,
199 0
200);
201static TypedField<RPG::SaveSystem, RPG::Music> static_stored_music(
204 "stored_music",
205 1,
206 0
207);
208static TypedField<RPG::SaveSystem, RPG::Music> static_boat_music(
211 "boat_music",
212 1,
213 0
214);
215static TypedField<RPG::SaveSystem, RPG::Music> static_ship_music(
218 "ship_music",
219 1,
220 0
221);
222static TypedField<RPG::SaveSystem, RPG::Music> static_airship_music(
225 "airship_music",
226 1,
227 0
228);
229static TypedField<RPG::SaveSystem, RPG::Music> static_gameover_music(
232 "gameover_music",
233 1,
234 0
235);
236static TypedField<RPG::SaveSystem, RPG::Sound> static_cursor_se(
239 "cursor_se",
240 1,
241 0
242);
243static TypedField<RPG::SaveSystem, RPG::Sound> static_decision_se(
246 "decision_se",
247 1,
248 0
249);
250static TypedField<RPG::SaveSystem, RPG::Sound> static_cancel_se(
253 "cancel_se",
254 1,
255 0
256);
257static TypedField<RPG::SaveSystem, RPG::Sound> static_buzzer_se(
260 "buzzer_se",
261 1,
262 0
263);
264static TypedField<RPG::SaveSystem, RPG::Sound> static_battle_se(
267 "battle_se",
268 1,
269 0
270);
271static TypedField<RPG::SaveSystem, RPG::Sound> static_escape_se(
274 "escape_se",
275 1,
276 0
277);
278static TypedField<RPG::SaveSystem, RPG::Sound> static_enemy_attack_se(
281 "enemy_attack_se",
282 1,
283 0
284);
285static TypedField<RPG::SaveSystem, RPG::Sound> static_enemy_damaged_se(
288 "enemy_damaged_se",
289 1,
290 0
291);
292static TypedField<RPG::SaveSystem, RPG::Sound> static_actor_damaged_se(
295 "actor_damaged_se",
296 1,
297 0
298);
299static TypedField<RPG::SaveSystem, RPG::Sound> static_dodge_se(
302 "dodge_se",
303 1,
304 0
305);
306static TypedField<RPG::SaveSystem, RPG::Sound> static_enemy_death_se(
309 "enemy_death_se",
310 1,
311 0
312);
313static TypedField<RPG::SaveSystem, RPG::Sound> static_item_se(
316 "item_se",
317 1,
318 0
319);
320static TypedField<RPG::SaveSystem, int8_t> static_transition_out(
323 "transition_out",
324 1,
325 0
326);
327static TypedField<RPG::SaveSystem, int8_t> static_transition_in(
330 "transition_in",
331 1,
332 0
333);
334static TypedField<RPG::SaveSystem, int8_t> static_battle_start_fadeout(
337 "battle_start_fadeout",
338 1,
339 0
340);
341static TypedField<RPG::SaveSystem, int8_t> static_battle_start_fadein(
344 "battle_start_fadein",
345 1,
346 0
347);
348static TypedField<RPG::SaveSystem, int8_t> static_battle_end_fadeout(
351 "battle_end_fadeout",
352 1,
353 0
354);
355static TypedField<RPG::SaveSystem, int8_t> static_battle_end_fadein(
358 "battle_end_fadein",
359 1,
360 0
361);
362static TypedField<RPG::SaveSystem, bool> static_teleport_allowed(
365 "teleport_allowed",
366 0,
367 0
368);
369static TypedField<RPG::SaveSystem, bool> static_escape_allowed(
372 "escape_allowed",
373 0,
374 0
375);
376static TypedField<RPG::SaveSystem, bool> static_save_allowed(
379 "save_allowed",
380 0,
381 0
382);
383static TypedField<RPG::SaveSystem, bool> static_menu_allowed(
386 "menu_allowed",
387 0,
388 0
389);
390static TypedField<RPG::SaveSystem, std::string> static_background(
393 "background",
394 0,
395 0
396);
397static TypedField<RPG::SaveSystem, int32_t> static_save_count(
400 "save_count",
401 0,
402 0
403);
404static TypedField<RPG::SaveSystem, int32_t> static_save_slot(
407 "save_slot",
408 0,
409 0
410);
411static TypedField<RPG::SaveSystem, int32_t> static_atb_mode(
414 "atb_mode",
415 0,
416 1
417);
418
419
420template <>
422 &static_scene,
423 &static_frame_count,
424 &static_graphics_name,
425 &static_message_stretch,
426 &static_font_id,
427 &static_size_switches,
428 &static_switches,
429 &static_size_variables,
430 &static_variables,
431 &static_message_transparent,
432 &static_message_position,
433 &static_message_prevent_overlap,
434 &static_message_continue_events,
435 &static_face_name,
436 &static_face_id,
437 &static_face_right,
438 &static_face_flip,
439 &static_message_active,
440 &static_music_stopping,
441 &static_title_music,
442 &static_battle_music,
443 &static_battle_end_music,
444 &static_inn_music,
445 &static_current_music,
446 &static_before_vehicle_music,
447 &static_before_battle_music,
448 &static_stored_music,
449 &static_boat_music,
450 &static_ship_music,
451 &static_airship_music,
452 &static_gameover_music,
453 &static_cursor_se,
454 &static_decision_se,
455 &static_cancel_se,
456 &static_buzzer_se,
457 &static_battle_se,
458 &static_escape_se,
459 &static_enemy_attack_se,
460 &static_enemy_damaged_se,
461 &static_actor_damaged_se,
462 &static_dodge_se,
463 &static_enemy_death_se,
464 &static_item_se,
465 &static_transition_out,
466 &static_transition_in,
467 &static_battle_start_fadeout,
468 &static_battle_start_fadein,
469 &static_battle_end_fadeout,
470 &static_battle_end_fadein,
471 &static_teleport_allowed,
472 &static_escape_allowed,
473 &static_save_allowed,
474 &static_menu_allowed,
475 &static_background,
476 &static_save_count,
477 &static_save_slot,
478 &static_atb_mode,
479 NULL
480};
481
482template class Struct<RPG::SaveSystem>;
std::string face_name
int8_t battle_start_fadein
int32_t message_position
Music before_battle_music
Music before_vehicle_music
std::vector< bool > switches
std::string graphics_name
int8_t battle_end_fadeout
int32_t message_transparent
int8_t battle_end_fadein
int32_t message_prevent_overlap
std::string background
int8_t battle_start_fadeout
std::vector< int32_t > variables
int32_t message_stretch
int32_t message_continue_events