liblcf
Loading...
Searching...
No Matches
lsd_save.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 Save.
18
19template <>
20char const* const Struct<RPG::Save>::name = "Save";
24 "title",
25 0,
26 0
27);
31 "system",
32 1,
33 0
34);
38 "screen",
39 1,
40 0
41);
45 "pictures",
46 1,
47 0
48);
49static TypedField<RPG::Save, RPG::SavePartyLocation> static_party_location(
52 "party_location",
53 1,
54 0
55);
56static TypedField<RPG::Save, RPG::SaveVehicleLocation> static_boat_location(
59 "boat_location",
60 1,
61 0
62);
63static TypedField<RPG::Save, RPG::SaveVehicleLocation> static_ship_location(
66 "ship_location",
67 1,
68 0
69);
70static TypedField<RPG::Save, RPG::SaveVehicleLocation> static_airship_location(
73 "airship_location",
74 1,
75 0
76);
80 "actors",
81 1,
82 0
83);
84static TypedField<RPG::Save, RPG::SaveInventory> static_inventory(
87 "inventory",
88 1,
89 0
90);
94 "targets",
95 1,
96 0
97);
98static TypedField<RPG::Save, RPG::SaveMapInfo> static_map_info(
101 "map_info",
102 1,
103 0
104);
105static TypedField<RPG::Save, RPG::SavePanorama> static_panorama(
108 "panorama",
109 1,
110 0
111);
112static TypedField<RPG::Save, RPG::SaveEventExecState> static_foreground_event_execstate(
115 "foreground_event_execstate",
116 1,
117 0
118);
122 "common_events",
123 1,
124 0
125);
126static TypedField<RPG::Save, RPG::SaveEasyRpgData> static_easyrpg_data(
129 "easyrpg_data",
130 0,
131 0
132);
133
134
135template <>
137 &static_title,
138 &static_system,
139 &static_screen,
140 &static_pictures,
141 &static_party_location,
142 &static_boat_location,
143 &static_ship_location,
144 &static_airship_location,
145 &static_actors,
146 &static_inventory,
147 &static_targets,
148 &static_map_info,
149 &static_panorama,
150 &static_foreground_event_execstate,
151 &static_common_events,
152 &static_easyrpg_data,
153 NULL
154};
155
156template class Struct<RPG::Save>;
SaveInventory inventory
Definition: rpg_save.h:48
SavePartyLocation party_location
Definition: rpg_save.h:43
SaveSystem system
Definition: rpg_save.h:40
SaveScreen screen
Definition: rpg_save.h:41
SaveTitle title
Definition: rpg_save.h:39
SaveVehicleLocation boat_location
Definition: rpg_save.h:44
SaveMapInfo map_info
Definition: rpg_save.h:50
SavePanorama panorama
Definition: rpg_save.h:51
SaveEventExecState foreground_event_execstate
Definition: rpg_save.h:52
std::vector< SaveTarget > targets
Definition: rpg_save.h:49
SaveVehicleLocation ship_location
Definition: rpg_save.h:45
SaveEasyRpgData easyrpg_data
Definition: rpg_save.h:54
std::vector< SaveActor > actors
Definition: rpg_save.h:47
SaveVehicleLocation airship_location
Definition: rpg_save.h:46
std::vector< SavePicture > pictures
Definition: rpg_save.h:42
std::vector< SaveCommonEvent > common_events
Definition: rpg_save.h:53