liblcf
Loading...
Searching...
No Matches
ldb_system.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/ldb/reader.h"
14#include "lcf/ldb/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read System.
20
21template <>
22char const* const Struct<rpg::System>::name = "System";
23static TypedField<rpg::System, int32_t> static_ldb_id(
24 &rpg::System::ldb_id,
25 LDB_Reader::ChunkSystem::ldb_id,
26 "ldb_id",
27 0,
28 0
29);
30static TypedField<rpg::System, DBString> static_boat_name(
31 &rpg::System::boat_name,
32 LDB_Reader::ChunkSystem::boat_name,
33 "boat_name",
34 0,
35 0
36);
37static TypedField<rpg::System, DBString> static_ship_name(
38 &rpg::System::ship_name,
39 LDB_Reader::ChunkSystem::ship_name,
40 "ship_name",
41 0,
42 0
43);
44static TypedField<rpg::System, DBString> static_airship_name(
45 &rpg::System::airship_name,
46 LDB_Reader::ChunkSystem::airship_name,
47 "airship_name",
48 0,
49 0
50);
51static TypedField<rpg::System, int32_t> static_boat_index(
52 &rpg::System::boat_index,
53 LDB_Reader::ChunkSystem::boat_index,
54 "boat_index",
55 0,
56 0
57);
58static TypedField<rpg::System, int32_t> static_ship_index(
59 &rpg::System::ship_index,
60 LDB_Reader::ChunkSystem::ship_index,
61 "ship_index",
62 0,
63 0
64);
65static TypedField<rpg::System, int32_t> static_airship_index(
66 &rpg::System::airship_index,
67 LDB_Reader::ChunkSystem::airship_index,
68 "airship_index",
69 0,
70 0
71);
72static TypedField<rpg::System, DBString> static_title_name(
73 &rpg::System::title_name,
74 LDB_Reader::ChunkSystem::title_name,
75 "title_name",
76 0,
77 0
78);
79static TypedField<rpg::System, DBString> static_gameover_name(
80 &rpg::System::gameover_name,
81 LDB_Reader::ChunkSystem::gameover_name,
82 "gameover_name",
83 0,
84 0
85);
86static TypedField<rpg::System, DBString> static_system_name(
87 &rpg::System::system_name,
88 LDB_Reader::ChunkSystem::system_name,
89 "system_name",
90 0,
91 0
92);
93static TypedField<rpg::System, DBString> static_system2_name(
94 &rpg::System::system2_name,
95 LDB_Reader::ChunkSystem::system2_name,
96 "system2_name",
97 0,
98 1
99);
100static CountField<rpg::System, std::vector<int16_t>> static_size_party(
101 &rpg::System::party,
102 LDB_Reader::ChunkSystem::party_size,
103 0,
104 0
105);
107 &rpg::System::party,
108 LDB_Reader::ChunkSystem::party,
109 "party",
110 1,
111 0
112);
113static CountField<rpg::System, std::vector<int16_t>> static_size_menu_commands(
114 &rpg::System::menu_commands,
115 LDB_Reader::ChunkSystem::menu_commands_size,
116 0,
117 1
118);
119static TypedField<rpg::System, std::vector<int16_t>> static_menu_commands(
120 &rpg::System::menu_commands,
121 LDB_Reader::ChunkSystem::menu_commands,
122 "menu_commands",
123 1,
124 1
125);
126static TypedField<rpg::System, rpg::Music> static_title_music(
127 &rpg::System::title_music,
128 LDB_Reader::ChunkSystem::title_music,
129 "title_music",
130 1,
131 0
132);
133static TypedField<rpg::System, rpg::Music> static_battle_music(
134 &rpg::System::battle_music,
135 LDB_Reader::ChunkSystem::battle_music,
136 "battle_music",
137 1,
138 0
139);
140static TypedField<rpg::System, rpg::Music> static_battle_end_music(
141 &rpg::System::battle_end_music,
142 LDB_Reader::ChunkSystem::battle_end_music,
143 "battle_end_music",
144 1,
145 0
146);
147static TypedField<rpg::System, rpg::Music> static_inn_music(
148 &rpg::System::inn_music,
149 LDB_Reader::ChunkSystem::inn_music,
150 "inn_music",
151 1,
152 0
153);
154static TypedField<rpg::System, rpg::Music> static_boat_music(
155 &rpg::System::boat_music,
156 LDB_Reader::ChunkSystem::boat_music,
157 "boat_music",
158 1,
159 0
160);
161static TypedField<rpg::System, rpg::Music> static_ship_music(
162 &rpg::System::ship_music,
163 LDB_Reader::ChunkSystem::ship_music,
164 "ship_music",
165 1,
166 0
167);
168static TypedField<rpg::System, rpg::Music> static_airship_music(
169 &rpg::System::airship_music,
170 LDB_Reader::ChunkSystem::airship_music,
171 "airship_music",
172 1,
173 0
174);
175static TypedField<rpg::System, rpg::Music> static_gameover_music(
176 &rpg::System::gameover_music,
177 LDB_Reader::ChunkSystem::gameover_music,
178 "gameover_music",
179 1,
180 0
181);
182static TypedField<rpg::System, rpg::Sound> static_cursor_se(
183 &rpg::System::cursor_se,
184 LDB_Reader::ChunkSystem::cursor_se,
185 "cursor_se",
186 1,
187 0
188);
189static TypedField<rpg::System, rpg::Sound> static_decision_se(
190 &rpg::System::decision_se,
191 LDB_Reader::ChunkSystem::decision_se,
192 "decision_se",
193 1,
194 0
195);
196static TypedField<rpg::System, rpg::Sound> static_cancel_se(
197 &rpg::System::cancel_se,
198 LDB_Reader::ChunkSystem::cancel_se,
199 "cancel_se",
200 1,
201 0
202);
203static TypedField<rpg::System, rpg::Sound> static_buzzer_se(
204 &rpg::System::buzzer_se,
205 LDB_Reader::ChunkSystem::buzzer_se,
206 "buzzer_se",
207 1,
208 0
209);
210static TypedField<rpg::System, rpg::Sound> static_battle_se(
211 &rpg::System::battle_se,
212 LDB_Reader::ChunkSystem::battle_se,
213 "battle_se",
214 1,
215 0
216);
217static TypedField<rpg::System, rpg::Sound> static_escape_se(
218 &rpg::System::escape_se,
219 LDB_Reader::ChunkSystem::escape_se,
220 "escape_se",
221 1,
222 0
223);
224static TypedField<rpg::System, rpg::Sound> static_enemy_attack_se(
225 &rpg::System::enemy_attack_se,
226 LDB_Reader::ChunkSystem::enemy_attack_se,
227 "enemy_attack_se",
228 1,
229 0
230);
231static TypedField<rpg::System, rpg::Sound> static_enemy_damaged_se(
232 &rpg::System::enemy_damaged_se,
233 LDB_Reader::ChunkSystem::enemy_damaged_se,
234 "enemy_damaged_se",
235 1,
236 0
237);
238static TypedField<rpg::System, rpg::Sound> static_actor_damaged_se(
239 &rpg::System::actor_damaged_se,
240 LDB_Reader::ChunkSystem::actor_damaged_se,
241 "actor_damaged_se",
242 1,
243 0
244);
245static TypedField<rpg::System, rpg::Sound> static_dodge_se(
246 &rpg::System::dodge_se,
247 LDB_Reader::ChunkSystem::dodge_se,
248 "dodge_se",
249 1,
250 0
251);
252static TypedField<rpg::System, rpg::Sound> static_enemy_death_se(
253 &rpg::System::enemy_death_se,
254 LDB_Reader::ChunkSystem::enemy_death_se,
255 "enemy_death_se",
256 1,
257 0
258);
259static TypedField<rpg::System, rpg::Sound> static_item_se(
260 &rpg::System::item_se,
261 LDB_Reader::ChunkSystem::item_se,
262 "item_se",
263 1,
264 0
265);
266static TypedField<rpg::System, int32_t> static_transition_out(
267 &rpg::System::transition_out,
268 LDB_Reader::ChunkSystem::transition_out,
269 "transition_out",
270 1,
271 0
272);
273static TypedField<rpg::System, int32_t> static_transition_in(
274 &rpg::System::transition_in,
275 LDB_Reader::ChunkSystem::transition_in,
276 "transition_in",
277 1,
278 0
279);
280static TypedField<rpg::System, int32_t> static_battle_start_fadeout(
281 &rpg::System::battle_start_fadeout,
282 LDB_Reader::ChunkSystem::battle_start_fadeout,
283 "battle_start_fadeout",
284 1,
285 0
286);
287static TypedField<rpg::System, int32_t> static_battle_start_fadein(
288 &rpg::System::battle_start_fadein,
289 LDB_Reader::ChunkSystem::battle_start_fadein,
290 "battle_start_fadein",
291 1,
292 0
293);
294static TypedField<rpg::System, int32_t> static_battle_end_fadeout(
295 &rpg::System::battle_end_fadeout,
296 LDB_Reader::ChunkSystem::battle_end_fadeout,
297 "battle_end_fadeout",
298 1,
299 0
300);
301static TypedField<rpg::System, int32_t> static_battle_end_fadein(
302 &rpg::System::battle_end_fadein,
303 LDB_Reader::ChunkSystem::battle_end_fadein,
304 "battle_end_fadein",
305 1,
306 0
307);
308static TypedField<rpg::System, int32_t> static_message_stretch(
309 &rpg::System::message_stretch,
310 LDB_Reader::ChunkSystem::message_stretch,
311 "message_stretch",
312 0,
313 0
314);
315static TypedField<rpg::System, int32_t> static_font_id(
316 &rpg::System::font_id,
317 LDB_Reader::ChunkSystem::font_id,
318 "font_id",
319 0,
320 0
321);
322static TypedField<rpg::System, int32_t> static_selected_condition(
323 &rpg::System::selected_condition,
324 LDB_Reader::ChunkSystem::selected_condition,
325 "selected_condition",
326 0,
327 0
328);
329static TypedField<rpg::System, int32_t> static_selected_hero(
330 &rpg::System::selected_hero,
331 LDB_Reader::ChunkSystem::selected_hero,
332 "selected_hero",
333 1,
334 0
335);
336static TypedField<rpg::System, DBString> static_battletest_background(
337 &rpg::System::battletest_background,
338 LDB_Reader::ChunkSystem::battletest_background,
339 "battletest_background",
340 0,
341 0
342);
343static TypedField<rpg::System, std::vector<rpg::TestBattler>> static_battletest_data(
344 &rpg::System::battletest_data,
345 LDB_Reader::ChunkSystem::battletest_data,
346 "battletest_data",
347 1,
348 0
349);
350static TypedField<rpg::System, int32_t> static_save_count(
351 &rpg::System::save_count,
352 LDB_Reader::ChunkSystem::save_count,
353 "save_count",
354 0,
355 0
356);
357static TypedField<rpg::System, int32_t> static_battletest_terrain(
358 &rpg::System::battletest_terrain,
359 LDB_Reader::ChunkSystem::battletest_terrain,
360 "battletest_terrain",
361 0,
362 0
363);
364static TypedField<rpg::System, int32_t> static_battletest_formation(
365 &rpg::System::battletest_formation,
366 LDB_Reader::ChunkSystem::battletest_formation,
367 "battletest_formation",
368 0,
369 0
370);
371static TypedField<rpg::System, int32_t> static_battletest_condition(
372 &rpg::System::battletest_condition,
373 LDB_Reader::ChunkSystem::battletest_condition,
374 "battletest_condition",
375 0,
376 0
377);
378static TypedField<rpg::System, int32_t> static_equipment_setting(
379 &rpg::System::equipment_setting,
380 LDB_Reader::ChunkSystem::equipment_setting,
381 "equipment_setting",
382 0,
383 1
384);
385static TypedField<rpg::System, int32_t> static_battletest_alt_terrain(
386 &rpg::System::battletest_alt_terrain,
387 LDB_Reader::ChunkSystem::battletest_alt_terrain,
388 "battletest_alt_terrain",
389 0,
390 1
391);
392static TypedField<rpg::System, bool> static_show_frame(
393 &rpg::System::show_frame,
394 LDB_Reader::ChunkSystem::show_frame,
395 "show_frame",
396 0,
397 1
398);
399static TypedField<rpg::System, DBString> static_frame_name(
400 &rpg::System::frame_name,
401 LDB_Reader::ChunkSystem::frame_name,
402 "frame_name",
403 0,
404 1
405);
406static TypedField<rpg::System, bool> static_invert_animations(
407 &rpg::System::invert_animations,
408 LDB_Reader::ChunkSystem::invert_animations,
409 "invert_animations",
410 0,
411 1
412);
413static TypedField<rpg::System, bool> static_show_title(
414 &rpg::System::show_title,
415 LDB_Reader::ChunkSystem::show_title,
416 "show_title",
417 0,
418 1
419);
420static TypedField<rpg::System, int32_t> static_easyrpg_alternative_exp(
421 &rpg::System::easyrpg_alternative_exp,
422 LDB_Reader::ChunkSystem::easyrpg_alternative_exp,
423 "easyrpg_alternative_exp",
424 0,
425 0
426);
427static TypedField<rpg::System, std::vector<int16_t>> static_easyrpg_battle_options(
428 &rpg::System::easyrpg_battle_options,
429 LDB_Reader::ChunkSystem::easyrpg_battle_options,
430 "easyrpg_battle_options",
431 0,
432 0
433);
434static TypedField<rpg::System, int32_t> static_easyrpg_max_actor_hp(
435 &rpg::System::easyrpg_max_actor_hp,
436 LDB_Reader::ChunkSystem::easyrpg_max_actor_hp,
437 "easyrpg_max_actor_hp",
438 0,
439 0
440);
441static TypedField<rpg::System, int32_t> static_easyrpg_max_enemy_hp(
442 &rpg::System::easyrpg_max_enemy_hp,
443 LDB_Reader::ChunkSystem::easyrpg_max_enemy_hp,
444 "easyrpg_max_enemy_hp",
445 0,
446 0
447);
448static TypedField<rpg::System, int32_t> static_easyrpg_max_damage(
449 &rpg::System::easyrpg_max_damage,
450 LDB_Reader::ChunkSystem::easyrpg_max_damage,
451 "easyrpg_max_damage",
452 0,
453 0
454);
455static TypedField<rpg::System, int32_t> static_easyrpg_max_exp(
456 &rpg::System::easyrpg_max_exp,
457 LDB_Reader::ChunkSystem::easyrpg_max_exp,
458 "easyrpg_max_exp",
459 0,
460 0
461);
462static TypedField<rpg::System, int32_t> static_easyrpg_max_level(
463 &rpg::System::easyrpg_max_level,
464 LDB_Reader::ChunkSystem::easyrpg_max_level,
465 "easyrpg_max_level",
466 0,
467 0
468);
469static TypedField<rpg::System, int32_t> static_easyrpg_max_savefiles(
470 &rpg::System::easyrpg_max_savefiles,
471 LDB_Reader::ChunkSystem::easyrpg_max_savefiles,
472 "easyrpg_max_savefiles",
473 0,
474 0
475);
476static TypedField<rpg::System, int32_t> static_easyrpg_max_item_count(
477 &rpg::System::easyrpg_max_item_count,
478 LDB_Reader::ChunkSystem::easyrpg_max_item_count,
479 "easyrpg_max_item_count",
480 0,
481 0
482);
483static TypedField<rpg::System, int32_t> static_easyrpg_variable_min_value(
484 &rpg::System::easyrpg_variable_min_value,
485 LDB_Reader::ChunkSystem::easyrpg_variable_min_value,
486 "easyrpg_variable_min_value",
487 0,
488 0
489);
490static TypedField<rpg::System, int32_t> static_easyrpg_variable_max_value(
491 &rpg::System::easyrpg_variable_max_value,
492 LDB_Reader::ChunkSystem::easyrpg_variable_max_value,
493 "easyrpg_variable_max_value",
494 0,
495 0
496);
497static TypedField<rpg::System, int32_t> static_easyrpg_max_actor_sp(
498 &rpg::System::easyrpg_max_actor_sp,
499 LDB_Reader::ChunkSystem::easyrpg_max_actor_sp,
500 "easyrpg_max_actor_sp",
501 0,
502 0
503);
504static TypedField<rpg::System, int32_t> static_easyrpg_max_enemy_sp(
505 &rpg::System::easyrpg_max_enemy_sp,
506 LDB_Reader::ChunkSystem::easyrpg_max_enemy_sp,
507 "easyrpg_max_enemy_sp",
508 0,
509 0
510);
511static TypedField<rpg::System, int32_t> static_easyrpg_max_stat_base_value(
512 &rpg::System::easyrpg_max_stat_base_value,
513 LDB_Reader::ChunkSystem::easyrpg_max_stat_base_value,
514 "easyrpg_max_stat_base_value",
515 0,
516 0
517);
518static TypedField<rpg::System, int32_t> static_easyrpg_max_stat_battle_value(
519 &rpg::System::easyrpg_max_stat_battle_value,
520 LDB_Reader::ChunkSystem::easyrpg_max_stat_battle_value,
521 "easyrpg_max_stat_battle_value",
522 0,
523 0
524);
525static TypedField<rpg::System, bool> static_easyrpg_use_rpg2k_battle_system(
526 &rpg::System::easyrpg_use_rpg2k_battle_system,
527 LDB_Reader::ChunkSystem::easyrpg_use_rpg2k_battle_system,
528 "easyrpg_use_rpg2k_battle_system",
529 0,
530 1
531);
532static TypedField<rpg::System, bool> static_easyrpg_battle_use_rpg2ke_strings(
533 &rpg::System::easyrpg_battle_use_rpg2ke_strings,
534 LDB_Reader::ChunkSystem::easyrpg_battle_use_rpg2ke_strings,
535 "easyrpg_battle_use_rpg2ke_strings",
536 0,
537 1
538);
539static TypedField<rpg::System, bool> static_easyrpg_use_rpg2k_battle_commands(
540 &rpg::System::easyrpg_use_rpg2k_battle_commands,
541 LDB_Reader::ChunkSystem::easyrpg_use_rpg2k_battle_commands,
542 "easyrpg_use_rpg2k_battle_commands",
543 0,
544 1
545);
546static TypedField<rpg::System, int32_t> static_easyrpg_default_actorai(
547 &rpg::System::easyrpg_default_actorai,
548 LDB_Reader::ChunkSystem::easyrpg_default_actorai,
549 "easyrpg_default_actorai",
550 0,
551 0
552);
553static TypedField<rpg::System, int32_t> static_easyrpg_default_enemyai(
554 &rpg::System::easyrpg_default_enemyai,
555 LDB_Reader::ChunkSystem::easyrpg_default_enemyai,
556 "easyrpg_default_enemyai",
557 0,
558 0
559);
560
561
562template <>
564 &static_ldb_id,
565 &static_boat_name,
566 &static_ship_name,
567 &static_airship_name,
568 &static_boat_index,
569 &static_ship_index,
570 &static_airship_index,
571 &static_title_name,
572 &static_gameover_name,
573 &static_system_name,
574 &static_system2_name,
575 &static_size_party,
576 &static_party,
577 &static_size_menu_commands,
578 &static_menu_commands,
579 &static_title_music,
580 &static_battle_music,
581 &static_battle_end_music,
582 &static_inn_music,
583 &static_boat_music,
584 &static_ship_music,
585 &static_airship_music,
586 &static_gameover_music,
587 &static_cursor_se,
588 &static_decision_se,
589 &static_cancel_se,
590 &static_buzzer_se,
591 &static_battle_se,
592 &static_escape_se,
593 &static_enemy_attack_se,
594 &static_enemy_damaged_se,
595 &static_actor_damaged_se,
596 &static_dodge_se,
597 &static_enemy_death_se,
598 &static_item_se,
599 &static_transition_out,
600 &static_transition_in,
601 &static_battle_start_fadeout,
602 &static_battle_start_fadein,
603 &static_battle_end_fadeout,
604 &static_battle_end_fadein,
605 &static_message_stretch,
606 &static_font_id,
607 &static_selected_condition,
608 &static_selected_hero,
609 &static_battletest_background,
610 &static_battletest_data,
611 &static_save_count,
612 &static_battletest_terrain,
613 &static_battletest_formation,
614 &static_battletest_condition,
615 &static_equipment_setting,
616 &static_battletest_alt_terrain,
617 &static_show_frame,
618 &static_frame_name,
619 &static_invert_animations,
620 &static_show_title,
621 &static_easyrpg_alternative_exp,
622 &static_easyrpg_battle_options,
623 &static_easyrpg_max_actor_hp,
624 &static_easyrpg_max_enemy_hp,
625 &static_easyrpg_max_damage,
626 &static_easyrpg_max_exp,
627 &static_easyrpg_max_level,
628 &static_easyrpg_max_savefiles,
629 &static_easyrpg_max_item_count,
630 &static_easyrpg_variable_min_value,
631 &static_easyrpg_variable_max_value,
632 &static_easyrpg_max_actor_sp,
633 &static_easyrpg_max_enemy_sp,
634 &static_easyrpg_max_stat_base_value,
635 &static_easyrpg_max_stat_battle_value,
636 &static_easyrpg_use_rpg2k_battle_system,
637 &static_easyrpg_battle_use_rpg2ke_strings,
638 &static_easyrpg_use_rpg2k_battle_commands,
639 &static_easyrpg_default_actorai,
640 &static_easyrpg_default_enemyai,
641 NULL
642};
643
644template class Struct<rpg::System>;
645
646} //namespace lcf