liblcf
Loading...
Searching...
No Matches
lsd_savepicture.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) 2021 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 SavePicture.
20
21template <>
22char const* const Struct<rpg::SavePicture>::name = "SavePicture";
24 &rpg::SavePicture::name,
25 LSD_Reader::ChunkSavePicture::name,
26 "name",
27 0,
28 0
29);
30static TypedField<rpg::SavePicture, double> static_start_x(
31 &rpg::SavePicture::start_x,
32 LSD_Reader::ChunkSavePicture::start_x,
33 "start_x",
34 0,
35 0
36);
37static TypedField<rpg::SavePicture, double> static_start_y(
38 &rpg::SavePicture::start_y,
39 LSD_Reader::ChunkSavePicture::start_y,
40 "start_y",
41 0,
42 0
43);
44static TypedField<rpg::SavePicture, double> static_current_x(
45 &rpg::SavePicture::current_x,
46 LSD_Reader::ChunkSavePicture::current_x,
47 "current_x",
48 0,
49 0
50);
51static TypedField<rpg::SavePicture, double> static_current_y(
52 &rpg::SavePicture::current_y,
53 LSD_Reader::ChunkSavePicture::current_y,
54 "current_y",
55 0,
56 0
57);
58static TypedField<rpg::SavePicture, bool> static_fixed_to_map(
59 &rpg::SavePicture::fixed_to_map,
60 LSD_Reader::ChunkSavePicture::fixed_to_map,
61 "fixed_to_map",
62 0,
63 0
64);
65static TypedField<rpg::SavePicture, double> static_current_magnify(
66 &rpg::SavePicture::current_magnify,
67 LSD_Reader::ChunkSavePicture::current_magnify,
68 "current_magnify",
69 0,
70 0
71);
72static TypedField<rpg::SavePicture, double> static_current_top_trans(
73 &rpg::SavePicture::current_top_trans,
74 LSD_Reader::ChunkSavePicture::current_top_trans,
75 "current_top_trans",
76 0,
77 0
78);
79static TypedField<rpg::SavePicture, bool> static_use_transparent_color(
80 &rpg::SavePicture::use_transparent_color,
81 LSD_Reader::ChunkSavePicture::use_transparent_color,
82 "use_transparent_color",
83 0,
84 0
85);
86static TypedField<rpg::SavePicture, double> static_current_red(
87 &rpg::SavePicture::current_red,
88 LSD_Reader::ChunkSavePicture::current_red,
89 "current_red",
90 0,
91 0
92);
93static TypedField<rpg::SavePicture, double> static_current_green(
94 &rpg::SavePicture::current_green,
95 LSD_Reader::ChunkSavePicture::current_green,
96 "current_green",
97 0,
98 0
99);
100static TypedField<rpg::SavePicture, double> static_current_blue(
101 &rpg::SavePicture::current_blue,
102 LSD_Reader::ChunkSavePicture::current_blue,
103 "current_blue",
104 0,
105 0
106);
107static TypedField<rpg::SavePicture, double> static_current_sat(
108 &rpg::SavePicture::current_sat,
109 LSD_Reader::ChunkSavePicture::current_sat,
110 "current_sat",
111 0,
112 0
113);
114static TypedField<rpg::SavePicture, int32_t> static_effect_mode(
115 &rpg::SavePicture::effect_mode,
116 LSD_Reader::ChunkSavePicture::effect_mode,
117 "effect_mode",
118 0,
119 0
120);
121static TypedField<rpg::SavePicture, double> static_current_effect_power(
122 &rpg::SavePicture::current_effect_power,
123 LSD_Reader::ChunkSavePicture::current_effect_power,
124 "current_effect_power",
125 0,
126 0
127);
128static TypedField<rpg::SavePicture, double> static_current_bot_trans(
129 &rpg::SavePicture::current_bot_trans,
130 LSD_Reader::ChunkSavePicture::current_bot_trans,
131 "current_bot_trans",
132 0,
133 0
134);
135static TypedField<rpg::SavePicture, int32_t> static_spritesheet_cols(
136 &rpg::SavePicture::spritesheet_cols,
137 LSD_Reader::ChunkSavePicture::spritesheet_cols,
138 "spritesheet_cols",
139 0,
140 1
141);
142static TypedField<rpg::SavePicture, int32_t> static_spritesheet_rows(
143 &rpg::SavePicture::spritesheet_rows,
144 LSD_Reader::ChunkSavePicture::spritesheet_rows,
145 "spritesheet_rows",
146 0,
147 1
148);
149static TypedField<rpg::SavePicture, int32_t> static_spritesheet_frame(
150 &rpg::SavePicture::spritesheet_frame,
151 LSD_Reader::ChunkSavePicture::spritesheet_frame,
152 "spritesheet_frame",
153 0,
154 1
155);
156static TypedField<rpg::SavePicture, int32_t> static_spritesheet_speed(
157 &rpg::SavePicture::spritesheet_speed,
158 LSD_Reader::ChunkSavePicture::spritesheet_speed,
159 "spritesheet_speed",
160 0,
161 1
162);
163static TypedField<rpg::SavePicture, int32_t> static_frames(
164 &rpg::SavePicture::frames,
165 LSD_Reader::ChunkSavePicture::frames,
166 "frames",
167 0,
168 1
169);
170static TypedField<rpg::SavePicture, bool> static_spritesheet_play_once(
171 &rpg::SavePicture::spritesheet_play_once,
172 LSD_Reader::ChunkSavePicture::spritesheet_play_once,
173 "spritesheet_play_once",
174 0,
175 1
176);
177static TypedField<rpg::SavePicture, int32_t> static_map_layer(
178 &rpg::SavePicture::map_layer,
179 LSD_Reader::ChunkSavePicture::map_layer,
180 "map_layer",
181 0,
182 0
183);
184static TypedField<rpg::SavePicture, int32_t> static_battle_layer(
185 &rpg::SavePicture::battle_layer,
186 LSD_Reader::ChunkSavePicture::battle_layer,
187 "battle_layer",
188 0,
189 0
190);
192 &rpg::SavePicture::flags,
193 LSD_Reader::ChunkSavePicture::flags,
194 "flags",
195 0,
196 0
197);
198static TypedField<rpg::SavePicture, double> static_finish_x(
199 &rpg::SavePicture::finish_x,
200 LSD_Reader::ChunkSavePicture::finish_x,
201 "finish_x",
202 0,
203 0
204);
205static TypedField<rpg::SavePicture, double> static_finish_y(
206 &rpg::SavePicture::finish_y,
207 LSD_Reader::ChunkSavePicture::finish_y,
208 "finish_y",
209 0,
210 0
211);
212static TypedField<rpg::SavePicture, int32_t> static_finish_magnify(
213 &rpg::SavePicture::finish_magnify,
214 LSD_Reader::ChunkSavePicture::finish_magnify,
215 "finish_magnify",
216 0,
217 0
218);
219static TypedField<rpg::SavePicture, int32_t> static_finish_top_trans(
220 &rpg::SavePicture::finish_top_trans,
221 LSD_Reader::ChunkSavePicture::finish_top_trans,
222 "finish_top_trans",
223 0,
224 0
225);
226static TypedField<rpg::SavePicture, int32_t> static_finish_bot_trans(
227 &rpg::SavePicture::finish_bot_trans,
228 LSD_Reader::ChunkSavePicture::finish_bot_trans,
229 "finish_bot_trans",
230 0,
231 0
232);
233static TypedField<rpg::SavePicture, int32_t> static_finish_red(
234 &rpg::SavePicture::finish_red,
235 LSD_Reader::ChunkSavePicture::finish_red,
236 "finish_red",
237 0,
238 0
239);
240static TypedField<rpg::SavePicture, int32_t> static_finish_green(
241 &rpg::SavePicture::finish_green,
242 LSD_Reader::ChunkSavePicture::finish_green,
243 "finish_green",
244 0,
245 0
246);
247static TypedField<rpg::SavePicture, int32_t> static_finish_blue(
248 &rpg::SavePicture::finish_blue,
249 LSD_Reader::ChunkSavePicture::finish_blue,
250 "finish_blue",
251 0,
252 0
253);
254static TypedField<rpg::SavePicture, int32_t> static_finish_sat(
255 &rpg::SavePicture::finish_sat,
256 LSD_Reader::ChunkSavePicture::finish_sat,
257 "finish_sat",
258 0,
259 0
260);
261static TypedField<rpg::SavePicture, int32_t> static_finish_effect_power(
262 &rpg::SavePicture::finish_effect_power,
263 LSD_Reader::ChunkSavePicture::finish_effect_power,
264 "finish_effect_power",
265 0,
266 0
267);
268static TypedField<rpg::SavePicture, int32_t> static_time_left(
269 &rpg::SavePicture::time_left,
270 LSD_Reader::ChunkSavePicture::time_left,
271 "time_left",
272 0,
273 0
274);
275static TypedField<rpg::SavePicture, double> static_current_rotation(
276 &rpg::SavePicture::current_rotation,
277 LSD_Reader::ChunkSavePicture::current_rotation,
278 "current_rotation",
279 0,
280 0
281);
282static TypedField<rpg::SavePicture, int32_t> static_current_waver(
283 &rpg::SavePicture::current_waver,
284 LSD_Reader::ChunkSavePicture::current_waver,
285 "current_waver",
286 0,
287 0
288);
289static TypedField<rpg::SavePicture, int32_t> static_easyrpg_flip(
290 &rpg::SavePicture::easyrpg_flip,
291 LSD_Reader::ChunkSavePicture::easyrpg_flip,
292 "easyrpg_flip",
293 0,
294 1
295);
296static TypedField<rpg::SavePicture, int32_t> static_easyrpg_blend_mode(
297 &rpg::SavePicture::easyrpg_blend_mode,
298 LSD_Reader::ChunkSavePicture::easyrpg_blend_mode,
299 "easyrpg_blend_mode",
300 0,
301 1
302);
303
304
305template <>
307 &static_name,
308 &static_start_x,
309 &static_start_y,
310 &static_current_x,
311 &static_current_y,
312 &static_fixed_to_map,
313 &static_current_magnify,
314 &static_current_top_trans,
315 &static_use_transparent_color,
316 &static_current_red,
317 &static_current_green,
318 &static_current_blue,
319 &static_current_sat,
320 &static_effect_mode,
321 &static_current_effect_power,
322 &static_current_bot_trans,
323 &static_spritesheet_cols,
324 &static_spritesheet_rows,
325 &static_spritesheet_frame,
326 &static_spritesheet_speed,
327 &static_frames,
328 &static_spritesheet_play_once,
329 &static_map_layer,
330 &static_battle_layer,
331 &static_flags,
332 &static_finish_x,
333 &static_finish_y,
334 &static_finish_magnify,
335 &static_finish_top_trans,
336 &static_finish_bot_trans,
337 &static_finish_red,
338 &static_finish_green,
339 &static_finish_blue,
340 &static_finish_sat,
341 &static_finish_effect_power,
342 &static_time_left,
343 &static_current_rotation,
344 &static_current_waver,
345 &static_easyrpg_flip,
346 &static_easyrpg_blend_mode,
347 NULL
348};
349
350template class Struct<rpg::SavePicture>;
351
352} //namespace lcf
Definition: dbarray.cpp:13