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) 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/lsd/reader.h"
14#include "lcf/lsd/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read Save.
20
21template <>
22char const* const Struct<rpg::Save>::name = "Save";
24 &rpg::Save::title,
25 LSD_Reader::ChunkSave::title,
26 "title",
27 0,
28 0
29);
31 &rpg::Save::system,
32 LSD_Reader::ChunkSave::system,
33 "system",
34 1,
35 0
36);
38 &rpg::Save::screen,
39 LSD_Reader::ChunkSave::screen,
40 "screen",
41 1,
42 0
43);
45 &rpg::Save::pictures,
46 LSD_Reader::ChunkSave::pictures,
47 "pictures",
48 1,
49 0
50);
51static TypedField<rpg::Save, rpg::SavePartyLocation> static_party_location(
52 &rpg::Save::party_location,
53 LSD_Reader::ChunkSave::party_location,
54 "party_location",
55 1,
56 0
57);
58static TypedField<rpg::Save, rpg::SaveVehicleLocation> static_boat_location(
59 &rpg::Save::boat_location,
60 LSD_Reader::ChunkSave::boat_location,
61 "boat_location",
62 1,
63 0
64);
65static TypedField<rpg::Save, rpg::SaveVehicleLocation> static_ship_location(
66 &rpg::Save::ship_location,
67 LSD_Reader::ChunkSave::ship_location,
68 "ship_location",
69 1,
70 0
71);
72static TypedField<rpg::Save, rpg::SaveVehicleLocation> static_airship_location(
73 &rpg::Save::airship_location,
74 LSD_Reader::ChunkSave::airship_location,
75 "airship_location",
76 1,
77 0
78);
80 &rpg::Save::actors,
81 LSD_Reader::ChunkSave::actors,
82 "actors",
83 1,
84 0
85);
86static TypedField<rpg::Save, rpg::SaveInventory> static_inventory(
87 &rpg::Save::inventory,
88 LSD_Reader::ChunkSave::inventory,
89 "inventory",
90 1,
91 0
92);
94 &rpg::Save::targets,
95 LSD_Reader::ChunkSave::targets,
96 "targets",
97 1,
98 0
99);
100static TypedField<rpg::Save, rpg::SaveMapInfo> static_map_info(
101 &rpg::Save::map_info,
102 LSD_Reader::ChunkSave::map_info,
103 "map_info",
104 1,
105 0
106);
107static TypedField<rpg::Save, rpg::SavePanorama> static_panorama(
108 &rpg::Save::panorama,
109 LSD_Reader::ChunkSave::panorama,
110 "panorama",
111 1,
112 0
113);
114static TypedField<rpg::Save, rpg::SaveEventExecState> static_foreground_event_execstate(
115 &rpg::Save::foreground_event_execstate,
116 LSD_Reader::ChunkSave::foreground_event_execstate,
117 "foreground_event_execstate",
118 1,
119 0
120);
122 &rpg::Save::common_events,
123 LSD_Reader::ChunkSave::common_events,
124 "common_events",
125 1,
126 0
127);
128static TypedField<rpg::Save, rpg::SaveEasyRpgData> static_easyrpg_data(
129 &rpg::Save::easyrpg_data,
130 LSD_Reader::ChunkSave::easyrpg_data,
131 "easyrpg_data",
132 0,
133 0
134);
135
136
137template <>
139 &static_title,
140 &static_system,
141 &static_screen,
142 &static_pictures,
143 &static_party_location,
144 &static_boat_location,
145 &static_ship_location,
146 &static_airship_location,
147 &static_actors,
148 &static_inventory,
149 &static_targets,
150 &static_map_info,
151 &static_panorama,
152 &static_foreground_event_execstate,
153 &static_common_events,
154 &static_easyrpg_data,
155 NULL
156};
157
158template class Struct<rpg::Save>;
159
160} //namespace lcf
Definition: dbarray.cpp:13