/* !!!! GENERATED FILE - DO NOT EDIT !!!!
 * --------------------------------------
 *
 * This file is part of liblcf. Copyright (c) liblcf authors.
 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
 *
 * liblcf is Free/Libre Open Source Software, released under the MIT License.
 * For the full copyright and license information, please view the COPYING
 * file that was distributed with this source code.
 */

// Headers
#include "lcf/lsd/reader.h"
#include "lcf/lsd/chunks.h"
#include "reader_struct_impl.h"

namespace lcf {

// Read SaveSystem.

template <>
char const* const Struct<rpg::SaveSystem>::name = "SaveSystem";
static TypedField<rpg::SaveSystem, int32_t> static_scene(
	&rpg::SaveSystem::scene,
	LSD_Reader::ChunkSaveSystem::scene,
	"scene",
	1,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_frame_count(
	&rpg::SaveSystem::frame_count,
	LSD_Reader::ChunkSaveSystem::frame_count,
	"frame_count",
	0,
	0
);
static TypedField<rpg::SaveSystem, std::string> static_graphics_name(
	&rpg::SaveSystem::graphics_name,
	LSD_Reader::ChunkSaveSystem::graphics_name,
	"graphics_name",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_message_stretch(
	&rpg::SaveSystem::message_stretch,
	LSD_Reader::ChunkSaveSystem::message_stretch,
	"message_stretch",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_font_id(
	&rpg::SaveSystem::font_id,
	LSD_Reader::ChunkSaveSystem::font_id,
	"font_id",
	0,
	0
);
static CountField<rpg::SaveSystem, std::vector<bool>> static_size_switches(
	&rpg::SaveSystem::switches,
	LSD_Reader::ChunkSaveSystem::switches_size,
	0,
	0
);
static TypedField<rpg::SaveSystem, std::vector<bool>> static_switches(
	&rpg::SaveSystem::switches,
	LSD_Reader::ChunkSaveSystem::switches,
	"switches",
	1,
	0
);
static CountField<rpg::SaveSystem, std::vector<int32_t>> static_size_variables(
	&rpg::SaveSystem::variables,
	LSD_Reader::ChunkSaveSystem::variables_size,
	0,
	0
);
static TypedField<rpg::SaveSystem, std::vector<int32_t>> static_variables(
	&rpg::SaveSystem::variables,
	LSD_Reader::ChunkSaveSystem::variables,
	"variables",
	1,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_message_transparent(
	&rpg::SaveSystem::message_transparent,
	LSD_Reader::ChunkSaveSystem::message_transparent,
	"message_transparent",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_message_position(
	&rpg::SaveSystem::message_position,
	LSD_Reader::ChunkSaveSystem::message_position,
	"message_position",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_message_prevent_overlap(
	&rpg::SaveSystem::message_prevent_overlap,
	LSD_Reader::ChunkSaveSystem::message_prevent_overlap,
	"message_prevent_overlap",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_message_continue_events(
	&rpg::SaveSystem::message_continue_events,
	LSD_Reader::ChunkSaveSystem::message_continue_events,
	"message_continue_events",
	0,
	0
);
static TypedField<rpg::SaveSystem, std::string> static_face_name(
	&rpg::SaveSystem::face_name,
	LSD_Reader::ChunkSaveSystem::face_name,
	"face_name",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_face_id(
	&rpg::SaveSystem::face_id,
	LSD_Reader::ChunkSaveSystem::face_id,
	"face_id",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_face_right(
	&rpg::SaveSystem::face_right,
	LSD_Reader::ChunkSaveSystem::face_right,
	"face_right",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_face_flip(
	&rpg::SaveSystem::face_flip,
	LSD_Reader::ChunkSaveSystem::face_flip,
	"face_flip",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_event_message_active(
	&rpg::SaveSystem::event_message_active,
	LSD_Reader::ChunkSaveSystem::event_message_active,
	"event_message_active",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_music_stopping(
	&rpg::SaveSystem::music_stopping,
	LSD_Reader::ChunkSaveSystem::music_stopping,
	"music_stopping",
	0,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_title_music(
	&rpg::SaveSystem::title_music,
	LSD_Reader::ChunkSaveSystem::title_music,
	"title_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_battle_music(
	&rpg::SaveSystem::battle_music,
	LSD_Reader::ChunkSaveSystem::battle_music,
	"battle_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_battle_end_music(
	&rpg::SaveSystem::battle_end_music,
	LSD_Reader::ChunkSaveSystem::battle_end_music,
	"battle_end_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_inn_music(
	&rpg::SaveSystem::inn_music,
	LSD_Reader::ChunkSaveSystem::inn_music,
	"inn_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_current_music(
	&rpg::SaveSystem::current_music,
	LSD_Reader::ChunkSaveSystem::current_music,
	"current_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_before_vehicle_music(
	&rpg::SaveSystem::before_vehicle_music,
	LSD_Reader::ChunkSaveSystem::before_vehicle_music,
	"before_vehicle_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_before_battle_music(
	&rpg::SaveSystem::before_battle_music,
	LSD_Reader::ChunkSaveSystem::before_battle_music,
	"before_battle_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_stored_music(
	&rpg::SaveSystem::stored_music,
	LSD_Reader::ChunkSaveSystem::stored_music,
	"stored_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_boat_music(
	&rpg::SaveSystem::boat_music,
	LSD_Reader::ChunkSaveSystem::boat_music,
	"boat_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_ship_music(
	&rpg::SaveSystem::ship_music,
	LSD_Reader::ChunkSaveSystem::ship_music,
	"ship_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_airship_music(
	&rpg::SaveSystem::airship_music,
	LSD_Reader::ChunkSaveSystem::airship_music,
	"airship_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Music> static_gameover_music(
	&rpg::SaveSystem::gameover_music,
	LSD_Reader::ChunkSaveSystem::gameover_music,
	"gameover_music",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_cursor_se(
	&rpg::SaveSystem::cursor_se,
	LSD_Reader::ChunkSaveSystem::cursor_se,
	"cursor_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_decision_se(
	&rpg::SaveSystem::decision_se,
	LSD_Reader::ChunkSaveSystem::decision_se,
	"decision_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_cancel_se(
	&rpg::SaveSystem::cancel_se,
	LSD_Reader::ChunkSaveSystem::cancel_se,
	"cancel_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_buzzer_se(
	&rpg::SaveSystem::buzzer_se,
	LSD_Reader::ChunkSaveSystem::buzzer_se,
	"buzzer_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_battle_se(
	&rpg::SaveSystem::battle_se,
	LSD_Reader::ChunkSaveSystem::battle_se,
	"battle_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_escape_se(
	&rpg::SaveSystem::escape_se,
	LSD_Reader::ChunkSaveSystem::escape_se,
	"escape_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_enemy_attack_se(
	&rpg::SaveSystem::enemy_attack_se,
	LSD_Reader::ChunkSaveSystem::enemy_attack_se,
	"enemy_attack_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_enemy_damaged_se(
	&rpg::SaveSystem::enemy_damaged_se,
	LSD_Reader::ChunkSaveSystem::enemy_damaged_se,
	"enemy_damaged_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_actor_damaged_se(
	&rpg::SaveSystem::actor_damaged_se,
	LSD_Reader::ChunkSaveSystem::actor_damaged_se,
	"actor_damaged_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_dodge_se(
	&rpg::SaveSystem::dodge_se,
	LSD_Reader::ChunkSaveSystem::dodge_se,
	"dodge_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_enemy_death_se(
	&rpg::SaveSystem::enemy_death_se,
	LSD_Reader::ChunkSaveSystem::enemy_death_se,
	"enemy_death_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, rpg::Sound> static_item_se(
	&rpg::SaveSystem::item_se,
	LSD_Reader::ChunkSaveSystem::item_se,
	"item_se",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_transition_out(
	&rpg::SaveSystem::transition_out,
	LSD_Reader::ChunkSaveSystem::transition_out,
	"transition_out",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_transition_in(
	&rpg::SaveSystem::transition_in,
	LSD_Reader::ChunkSaveSystem::transition_in,
	"transition_in",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_battle_start_fadeout(
	&rpg::SaveSystem::battle_start_fadeout,
	LSD_Reader::ChunkSaveSystem::battle_start_fadeout,
	"battle_start_fadeout",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_battle_start_fadein(
	&rpg::SaveSystem::battle_start_fadein,
	LSD_Reader::ChunkSaveSystem::battle_start_fadein,
	"battle_start_fadein",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_battle_end_fadeout(
	&rpg::SaveSystem::battle_end_fadeout,
	LSD_Reader::ChunkSaveSystem::battle_end_fadeout,
	"battle_end_fadeout",
	1,
	0
);
static TypedField<rpg::SaveSystem, int8_t> static_battle_end_fadein(
	&rpg::SaveSystem::battle_end_fadein,
	LSD_Reader::ChunkSaveSystem::battle_end_fadein,
	"battle_end_fadein",
	1,
	0
);
static TypedField<rpg::SaveSystem, bool> static_teleport_allowed(
	&rpg::SaveSystem::teleport_allowed,
	LSD_Reader::ChunkSaveSystem::teleport_allowed,
	"teleport_allowed",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_escape_allowed(
	&rpg::SaveSystem::escape_allowed,
	LSD_Reader::ChunkSaveSystem::escape_allowed,
	"escape_allowed",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_save_allowed(
	&rpg::SaveSystem::save_allowed,
	LSD_Reader::ChunkSaveSystem::save_allowed,
	"save_allowed",
	0,
	0
);
static TypedField<rpg::SaveSystem, bool> static_menu_allowed(
	&rpg::SaveSystem::menu_allowed,
	LSD_Reader::ChunkSaveSystem::menu_allowed,
	"menu_allowed",
	0,
	0
);
static TypedField<rpg::SaveSystem, std::string> static_background(
	&rpg::SaveSystem::background,
	LSD_Reader::ChunkSaveSystem::background,
	"background",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_save_count(
	&rpg::SaveSystem::save_count,
	LSD_Reader::ChunkSaveSystem::save_count,
	"save_count",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_save_slot(
	&rpg::SaveSystem::save_slot,
	LSD_Reader::ChunkSaveSystem::save_slot,
	"save_slot",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_atb_mode(
	&rpg::SaveSystem::atb_mode,
	LSD_Reader::ChunkSaveSystem::atb_mode,
	"atb_mode",
	0,
	1
);
static TypedField<rpg::SaveSystem, std::vector<DBString>> static_maniac_strings(
	&rpg::SaveSystem::maniac_strings,
	LSD_Reader::ChunkSaveSystem::maniac_strings,
	"maniac_strings",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_window_width(
	&rpg::SaveSystem::maniac_message_window_width,
	LSD_Reader::ChunkSaveSystem::maniac_message_window_width,
	"maniac_message_window_width",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_window_height(
	&rpg::SaveSystem::maniac_message_window_height,
	LSD_Reader::ChunkSaveSystem::maniac_message_window_height,
	"maniac_message_window_height",
	0,
	0
);
static TypedField<rpg::SaveSystem, DBString> static_maniac_message_font_name(
	&rpg::SaveSystem::maniac_message_font_name,
	LSD_Reader::ChunkSaveSystem::maniac_message_font_name,
	"maniac_message_font_name",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_font_size(
	&rpg::SaveSystem::maniac_message_font_size,
	LSD_Reader::ChunkSaveSystem::maniac_message_font_size,
	"maniac_message_font_size",
	0,
	0
);
static TypedField<rpg::SaveSystem, rpg::SaveSystem::ManiacMessageHook_Flags> static_maniac_message_hook_flags(
	&rpg::SaveSystem::maniac_message_hook_flags,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_flags,
	"maniac_message_hook_flags",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_hook_common_event_id(
	&rpg::SaveSystem::maniac_message_hook_common_event_id,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_common_event_id,
	"maniac_message_hook_common_event_id",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_hook_callback_system_variable(
	&rpg::SaveSystem::maniac_message_hook_callback_system_variable,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_callback_system_variable,
	"maniac_message_hook_callback_system_variable",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_hook_callback_system_string_variable(
	&rpg::SaveSystem::maniac_message_hook_callback_system_string_variable,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_callback_system_string_variable,
	"maniac_message_hook_callback_system_string_variable",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_hook_callback_user_variable(
	&rpg::SaveSystem::maniac_message_hook_callback_user_variable,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_callback_user_variable,
	"maniac_message_hook_callback_user_variable",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_hook_callback_user_string_variable(
	&rpg::SaveSystem::maniac_message_hook_callback_user_string_variable,
	LSD_Reader::ChunkSaveSystem::maniac_message_hook_callback_user_string_variable,
	"maniac_message_hook_callback_user_string_variable",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_frameskip(
	&rpg::SaveSystem::maniac_frameskip,
	LSD_Reader::ChunkSaveSystem::maniac_frameskip,
	"maniac_frameskip",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_picture_limit(
	&rpg::SaveSystem::maniac_picture_limit,
	LSD_Reader::ChunkSaveSystem::maniac_picture_limit,
	"maniac_picture_limit",
	0,
	0
);
static TypedField<rpg::SaveSystem, std::vector<uint8_t>> static_maniac_options(
	&rpg::SaveSystem::maniac_options,
	LSD_Reader::ChunkSaveSystem::maniac_options,
	"maniac_options",
	0,
	0
);
static TypedField<rpg::SaveSystem, std::vector<uint8_t>> static_maniac_joypad_bindings(
	&rpg::SaveSystem::maniac_joypad_bindings,
	LSD_Reader::ChunkSaveSystem::maniac_joypad_bindings,
	"maniac_joypad_bindings",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_spacing_char(
	&rpg::SaveSystem::maniac_message_spacing_char,
	LSD_Reader::ChunkSaveSystem::maniac_message_spacing_char,
	"maniac_message_spacing_char",
	0,
	0
);
static TypedField<rpg::SaveSystem, int32_t> static_maniac_message_spacing_line(
	&rpg::SaveSystem::maniac_message_spacing_line,
	LSD_Reader::ChunkSaveSystem::maniac_message_spacing_line,
	"maniac_message_spacing_line",
	0,
	0
);


template <>
Field<rpg::SaveSystem> const* Struct<rpg::SaveSystem>::fields[] = {
	&static_scene,
	&static_frame_count,
	&static_graphics_name,
	&static_message_stretch,
	&static_font_id,
	&static_size_switches,
	&static_switches,
	&static_size_variables,
	&static_variables,
	&static_message_transparent,
	&static_message_position,
	&static_message_prevent_overlap,
	&static_message_continue_events,
	&static_face_name,
	&static_face_id,
	&static_face_right,
	&static_face_flip,
	&static_event_message_active,
	&static_music_stopping,
	&static_title_music,
	&static_battle_music,
	&static_battle_end_music,
	&static_inn_music,
	&static_current_music,
	&static_before_vehicle_music,
	&static_before_battle_music,
	&static_stored_music,
	&static_boat_music,
	&static_ship_music,
	&static_airship_music,
	&static_gameover_music,
	&static_cursor_se,
	&static_decision_se,
	&static_cancel_se,
	&static_buzzer_se,
	&static_battle_se,
	&static_escape_se,
	&static_enemy_attack_se,
	&static_enemy_damaged_se,
	&static_actor_damaged_se,
	&static_dodge_se,
	&static_enemy_death_se,
	&static_item_se,
	&static_transition_out,
	&static_transition_in,
	&static_battle_start_fadeout,
	&static_battle_start_fadein,
	&static_battle_end_fadeout,
	&static_battle_end_fadein,
	&static_teleport_allowed,
	&static_escape_allowed,
	&static_save_allowed,
	&static_menu_allowed,
	&static_background,
	&static_save_count,
	&static_save_slot,
	&static_atb_mode,
	&static_maniac_strings,
	&static_maniac_message_window_width,
	&static_maniac_message_window_height,
	&static_maniac_message_font_name,
	&static_maniac_message_font_size,
	&static_maniac_message_hook_flags,
	&static_maniac_message_hook_common_event_id,
	&static_maniac_message_hook_callback_system_variable,
	&static_maniac_message_hook_callback_system_string_variable,
	&static_maniac_message_hook_callback_user_variable,
	&static_maniac_message_hook_callback_user_string_variable,
	&static_maniac_frameskip,
	&static_maniac_picture_limit,
	&static_maniac_options,
	&static_maniac_joypad_bindings,
	&static_maniac_message_spacing_char,
	&static_maniac_message_spacing_line,
	NULL
};

template class Struct<rpg::SaveSystem>;

} //namespace lcf
