liblcf
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) 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 "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read System.
18 
19 template <>
20 char const* const Struct<RPG::System>::name = "System";
21 static TypedField<RPG::System, int32_t> static_ldb_id(
24  "ldb_id",
25  0,
26  0
27 );
28 static TypedField<RPG::System, std::string> static_boat_name(
31  "boat_name",
32  0,
33  0
34 );
35 static TypedField<RPG::System, std::string> static_ship_name(
38  "ship_name",
39  0,
40  0
41 );
42 static TypedField<RPG::System, std::string> static_airship_name(
45  "airship_name",
46  0,
47  0
48 );
49 static TypedField<RPG::System, int32_t> static_boat_index(
52  "boat_index",
53  0,
54  0
55 );
56 static TypedField<RPG::System, int32_t> static_ship_index(
59  "ship_index",
60  0,
61  0
62 );
63 static TypedField<RPG::System, int32_t> static_airship_index(
66  "airship_index",
67  0,
68  0
69 );
70 static TypedField<RPG::System, std::string> static_title_name(
73  "title_name",
74  0,
75  0
76 );
77 static TypedField<RPG::System, std::string> static_gameover_name(
80  "gameover_name",
81  0,
82  0
83 );
84 static TypedField<RPG::System, std::string> static_system_name(
87  "system_name",
88  0,
89  0
90 );
91 static TypedField<RPG::System, std::string> static_system2_name(
94  "system2_name",
95  0,
96  1
97 );
98 static CountField<RPG::System, int16_t> static_size_party(
101  0,
102  0
103 );
107  "party",
108  1,
109  0
110 );
111 static CountField<RPG::System, int16_t> static_size_menu_commands(
114  0,
115  1
116 );
117 static TypedField<RPG::System, std::vector<int16_t>> static_menu_commands(
120  "menu_commands",
121  1,
122  1
123 );
124 static TypedField<RPG::System, RPG::Music> static_title_music(
127  "title_music",
128  1,
129  0
130 );
131 static TypedField<RPG::System, RPG::Music> static_battle_music(
134  "battle_music",
135  1,
136  0
137 );
138 static TypedField<RPG::System, RPG::Music> static_battle_end_music(
141  "battle_end_music",
142  1,
143  0
144 );
145 static TypedField<RPG::System, RPG::Music> static_inn_music(
148  "inn_music",
149  1,
150  0
151 );
152 static TypedField<RPG::System, RPG::Music> static_boat_music(
155  "boat_music",
156  1,
157  0
158 );
159 static TypedField<RPG::System, RPG::Music> static_ship_music(
162  "ship_music",
163  1,
164  0
165 );
166 static TypedField<RPG::System, RPG::Music> static_airship_music(
169  "airship_music",
170  1,
171  0
172 );
173 static TypedField<RPG::System, RPG::Music> static_gameover_music(
176  "gameover_music",
177  1,
178  0
179 );
180 static TypedField<RPG::System, RPG::Sound> static_cursor_se(
183  "cursor_se",
184  1,
185  0
186 );
187 static TypedField<RPG::System, RPG::Sound> static_decision_se(
190  "decision_se",
191  1,
192  0
193 );
194 static TypedField<RPG::System, RPG::Sound> static_cancel_se(
197  "cancel_se",
198  1,
199  0
200 );
201 static TypedField<RPG::System, RPG::Sound> static_buzzer_se(
204  "buzzer_se",
205  1,
206  0
207 );
208 static TypedField<RPG::System, RPG::Sound> static_battle_se(
211  "battle_se",
212  1,
213  0
214 );
215 static TypedField<RPG::System, RPG::Sound> static_escape_se(
218  "escape_se",
219  1,
220  0
221 );
222 static TypedField<RPG::System, RPG::Sound> static_enemy_attack_se(
225  "enemy_attack_se",
226  1,
227  0
228 );
229 static TypedField<RPG::System, RPG::Sound> static_enemy_damaged_se(
232  "enemy_damaged_se",
233  1,
234  0
235 );
236 static TypedField<RPG::System, RPG::Sound> static_actor_damaged_se(
239  "actor_damaged_se",
240  1,
241  0
242 );
243 static TypedField<RPG::System, RPG::Sound> static_dodge_se(
246  "dodge_se",
247  1,
248  0
249 );
250 static TypedField<RPG::System, RPG::Sound> static_enemy_death_se(
253  "enemy_death_se",
254  1,
255  0
256 );
257 static TypedField<RPG::System, RPG::Sound> static_item_se(
260  "item_se",
261  1,
262  0
263 );
264 static TypedField<RPG::System, int32_t> static_transition_out(
267  "transition_out",
268  1,
269  0
270 );
271 static TypedField<RPG::System, int32_t> static_transition_in(
274  "transition_in",
275  1,
276  0
277 );
278 static TypedField<RPG::System, int32_t> static_battle_start_fadeout(
281  "battle_start_fadeout",
282  1,
283  0
284 );
285 static TypedField<RPG::System, int32_t> static_battle_start_fadein(
288  "battle_start_fadein",
289  1,
290  0
291 );
292 static TypedField<RPG::System, int32_t> static_battle_end_fadeout(
295  "battle_end_fadeout",
296  1,
297  0
298 );
299 static TypedField<RPG::System, int32_t> static_battle_end_fadein(
302  "battle_end_fadein",
303  1,
304  0
305 );
306 static TypedField<RPG::System, int32_t> static_message_stretch(
309  "message_stretch",
310  0,
311  0
312 );
313 static TypedField<RPG::System, int32_t> static_font_id(
316  "font_id",
317  0,
318  0
319 );
320 static TypedField<RPG::System, int32_t> static_selected_condition(
323  "selected_condition",
324  0,
325  0
326 );
327 static TypedField<RPG::System, int32_t> static_selected_hero(
330  "selected_hero",
331  1,
332  0
333 );
334 static TypedField<RPG::System, std::string> static_battletest_background(
337  "battletest_background",
338  0,
339  0
340 );
341 static TypedField<RPG::System, std::vector<RPG::TestBattler>> static_battletest_data(
344  "battletest_data",
345  1,
346  0
347 );
348 static TypedField<RPG::System, int32_t> static_save_count(
351  "save_count",
352  0,
353  0
354 );
355 static TypedField<RPG::System, int32_t> static_battletest_terrain(
358  "battletest_terrain",
359  0,
360  0
361 );
362 static TypedField<RPG::System, int32_t> static_battletest_formation(
365  "battletest_formation",
366  0,
367  0
368 );
369 static TypedField<RPG::System, int32_t> static_battletest_condition(
372  "battletest_condition",
373  0,
374  0
375 );
376 static TypedField<RPG::System, int32_t> static_equipment_setting(
379  "equipment_setting",
380  0,
381  1
382 );
383 static TypedField<RPG::System, int32_t> static_battletest_alt_terrain(
386  "battletest_alt_terrain",
387  0,
388  1
389 );
390 static TypedField<RPG::System, bool> static_show_frame(
393  "show_frame",
394  0,
395  1
396 );
397 static TypedField<RPG::System, std::string> static_frame_name(
400  "frame_name",
401  0,
402  1
403 );
404 static TypedField<RPG::System, bool> static_invert_animations(
407  "invert_animations",
408  0,
409  1
410 );
411 static TypedField<RPG::System, bool> static_show_title(
414  "show_title",
415  0,
416  1
417 );
418 
419 
420 template <>
422  &static_ldb_id,
423  &static_boat_name,
424  &static_ship_name,
425  &static_airship_name,
426  &static_boat_index,
427  &static_ship_index,
428  &static_airship_index,
429  &static_title_name,
430  &static_gameover_name,
431  &static_system_name,
432  &static_system2_name,
433  &static_size_party,
434  &static_party,
435  &static_size_menu_commands,
436  &static_menu_commands,
437  &static_title_music,
438  &static_battle_music,
439  &static_battle_end_music,
440  &static_inn_music,
441  &static_boat_music,
442  &static_ship_music,
443  &static_airship_music,
444  &static_gameover_music,
445  &static_cursor_se,
446  &static_decision_se,
447  &static_cancel_se,
448  &static_buzzer_se,
449  &static_battle_se,
450  &static_escape_se,
451  &static_enemy_attack_se,
452  &static_enemy_damaged_se,
453  &static_actor_damaged_se,
454  &static_dodge_se,
455  &static_enemy_death_se,
456  &static_item_se,
457  &static_transition_out,
458  &static_transition_in,
459  &static_battle_start_fadeout,
460  &static_battle_start_fadein,
461  &static_battle_end_fadeout,
462  &static_battle_end_fadein,
463  &static_message_stretch,
464  &static_font_id,
465  &static_selected_condition,
466  &static_selected_hero,
467  &static_battletest_background,
468  &static_battletest_data,
469  &static_save_count,
470  &static_battletest_terrain,
471  &static_battletest_formation,
472  &static_battletest_condition,
473  &static_equipment_setting,
474  &static_battletest_alt_terrain,
475  &static_show_frame,
476  &static_frame_name,
477  &static_invert_animations,
478  &static_show_title,
479  NULL
480 };
481 
482 template class Struct<RPG::System>;
std::string airship_name
Definition: rpg_system.h:180
Sound battle_se
Definition: rpg_system.h:202
Sound actor_damaged_se
Definition: rpg_system.h:206
std::vector< int16_t > party
Definition: rpg_system.h:188
Music boat_music
Definition: rpg_system.h:194
std::vector< TestBattler > battletest_data
Definition: rpg_system.h:221
std::string system_name
Definition: rpg_system.h:186
Music gameover_music
Definition: rpg_system.h:197
std::string battletest_background
Definition: rpg_system.h:220
Music airship_music
Definition: rpg_system.h:196
int32_t ldb_id
Definition: rpg_system.h:177
int32_t selected_hero
Definition: rpg_system.h:219
Music inn_music
Definition: rpg_system.h:193
int32_t equipment_setting
Definition: rpg_system.h:226
std::string title_name
Definition: rpg_system.h:184
int32_t battle_end_fadein
Definition: rpg_system.h:215
Music battle_end_music
Definition: rpg_system.h:192
std::string boat_name
Definition: rpg_system.h:178
Music battle_music
Definition: rpg_system.h:191
int32_t battle_start_fadein
Definition: rpg_system.h:213
Music title_music
Definition: rpg_system.h:190
int32_t ship_index
Definition: rpg_system.h:182
Sound escape_se
Definition: rpg_system.h:203
std::string system2_name
Definition: rpg_system.h:187
int32_t boat_index
Definition: rpg_system.h:181
int32_t selected_condition
Definition: rpg_system.h:218
int32_t airship_index
Definition: rpg_system.h:183
Sound dodge_se
Definition: rpg_system.h:207
Sound cancel_se
Definition: rpg_system.h:200
Sound enemy_death_se
Definition: rpg_system.h:208
int32_t transition_out
Definition: rpg_system.h:210
std::vector< int16_t > menu_commands
Definition: rpg_system.h:189
std::string frame_name
Definition: rpg_system.h:229
int32_t message_stretch
Definition: rpg_system.h:216
int32_t battle_end_fadeout
Definition: rpg_system.h:214
int32_t battletest_condition
Definition: rpg_system.h:225
std::string gameover_name
Definition: rpg_system.h:185
int32_t battle_start_fadeout
Definition: rpg_system.h:212
bool show_title
Definition: rpg_system.h:231
Music ship_music
Definition: rpg_system.h:195
std::string ship_name
Definition: rpg_system.h:179
Sound enemy_attack_se
Definition: rpg_system.h:204
int32_t battletest_terrain
Definition: rpg_system.h:223
int32_t save_count
Definition: rpg_system.h:222
Sound cursor_se
Definition: rpg_system.h:198
Sound enemy_damaged_se
Definition: rpg_system.h:205
Sound decision_se
Definition: rpg_system.h:199
int32_t transition_in
Definition: rpg_system.h:211
Sound item_se
Definition: rpg_system.h:209
Sound buzzer_se
Definition: rpg_system.h:201
int32_t font_id
Definition: rpg_system.h:217
bool invert_animations
Definition: rpg_system.h:230
int32_t battletest_formation
Definition: rpg_system.h:224
int32_t battletest_alt_terrain
Definition: rpg_system.h:227
bool show_frame
Definition: rpg_system.h:228