liblcf
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) 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 SavePicture.
18 
19 template <>
20 char const* const Struct<RPG::SavePicture>::name = "SavePicture";
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::SavePicture, double> static_start_x(
31  "start_x",
32  0,
33  0
34 );
35 static TypedField<RPG::SavePicture, double> static_start_y(
38  "start_y",
39  0,
40  0
41 );
42 static TypedField<RPG::SavePicture, double> static_current_x(
45  "current_x",
46  0,
47  0
48 );
49 static TypedField<RPG::SavePicture, double> static_current_y(
52  "current_y",
53  0,
54  0
55 );
56 static TypedField<RPG::SavePicture, bool> static_fixed_to_map(
59  "fixed_to_map",
60  0,
61  0
62 );
63 static TypedField<RPG::SavePicture, double> static_current_magnify(
66  "current_magnify",
67  0,
68  0
69 );
70 static TypedField<RPG::SavePicture, double> static_current_top_trans(
73  "current_top_trans",
74  0,
75  0
76 );
77 static TypedField<RPG::SavePicture, bool> static_use_transparent_color(
80  "use_transparent_color",
81  0,
82  0
83 );
84 static TypedField<RPG::SavePicture, double> static_current_red(
87  "current_red",
88  0,
89  0
90 );
91 static TypedField<RPG::SavePicture, double> static_current_green(
94  "current_green",
95  0,
96  0
97 );
98 static TypedField<RPG::SavePicture, double> static_current_blue(
101  "current_blue",
102  0,
103  0
104 );
105 static TypedField<RPG::SavePicture, double> static_current_sat(
108  "current_sat",
109  0,
110  0
111 );
112 static TypedField<RPG::SavePicture, int32_t> static_effect_mode(
115  "effect_mode",
116  0,
117  0
118 );
119 static TypedField<RPG::SavePicture, double> static_current_effect_power(
122  "current_effect_power",
123  0,
124  0
125 );
126 static TypedField<RPG::SavePicture, double> static_current_bot_trans(
129  "current_bot_trans",
130  0,
131  0
132 );
133 static TypedField<RPG::SavePicture, int32_t> static_spritesheet_cols(
136  "spritesheet_cols",
137  0,
138  1
139 );
140 static TypedField<RPG::SavePicture, int32_t> static_spritesheet_rows(
143  "spritesheet_rows",
144  0,
145  1
146 );
147 static TypedField<RPG::SavePicture, int32_t> static_spritesheet_frame(
150  "spritesheet_frame",
151  0,
152  1
153 );
154 static TypedField<RPG::SavePicture, int32_t> static_spritesheet_speed(
157  "spritesheet_speed",
158  0,
159  1
160 );
161 static TypedField<RPG::SavePicture, int32_t> static_frames(
164  "frames",
165  0,
166  1
167 );
168 static TypedField<RPG::SavePicture, bool> static_spritesheet_play_once(
171  "spritesheet_play_once",
172  0,
173  1
174 );
175 static TypedField<RPG::SavePicture, int32_t> static_map_layer(
178  "map_layer",
179  0,
180  0
181 );
182 static TypedField<RPG::SavePicture, int32_t> static_battle_layer(
185  "battle_layer",
186  0,
187  0
188 );
192  "flags",
193  0,
194  0
195 );
196 static TypedField<RPG::SavePicture, double> static_finish_x(
199  "finish_x",
200  0,
201  0
202 );
203 static TypedField<RPG::SavePicture, double> static_finish_y(
206  "finish_y",
207  0,
208  0
209 );
210 static TypedField<RPG::SavePicture, int32_t> static_finish_magnify(
213  "finish_magnify",
214  0,
215  0
216 );
217 static TypedField<RPG::SavePicture, int32_t> static_finish_top_trans(
220  "finish_top_trans",
221  0,
222  0
223 );
224 static TypedField<RPG::SavePicture, int32_t> static_finish_bot_trans(
227  "finish_bot_trans",
228  0,
229  0
230 );
231 static TypedField<RPG::SavePicture, int32_t> static_finish_red(
234  "finish_red",
235  0,
236  0
237 );
238 static TypedField<RPG::SavePicture, int32_t> static_finish_green(
241  "finish_green",
242  0,
243  0
244 );
245 static TypedField<RPG::SavePicture, int32_t> static_finish_blue(
248  "finish_blue",
249  0,
250  0
251 );
252 static TypedField<RPG::SavePicture, int32_t> static_finish_sat(
255  "finish_sat",
256  0,
257  0
258 );
259 static TypedField<RPG::SavePicture, int32_t> static_finish_effect_power(
262  "finish_effect_power",
263  0,
264  0
265 );
266 static TypedField<RPG::SavePicture, int32_t> static_time_left(
269  "time_left",
270  0,
271  0
272 );
273 static TypedField<RPG::SavePicture, double> static_current_rotation(
276  "current_rotation",
277  0,
278  0
279 );
280 static TypedField<RPG::SavePicture, int32_t> static_current_waver(
283  "current_waver",
284  0,
285  0
286 );
287 
288 
289 template <>
291  &static_name,
292  &static_start_x,
293  &static_start_y,
294  &static_current_x,
295  &static_current_y,
296  &static_fixed_to_map,
297  &static_current_magnify,
298  &static_current_top_trans,
299  &static_use_transparent_color,
300  &static_current_red,
301  &static_current_green,
302  &static_current_blue,
303  &static_current_sat,
304  &static_effect_mode,
305  &static_current_effect_power,
306  &static_current_bot_trans,
307  &static_spritesheet_cols,
308  &static_spritesheet_rows,
309  &static_spritesheet_frame,
310  &static_spritesheet_speed,
311  &static_frames,
312  &static_spritesheet_play_once,
313  &static_map_layer,
314  &static_battle_layer,
315  &static_flags,
316  &static_finish_x,
317  &static_finish_y,
318  &static_finish_magnify,
319  &static_finish_top_trans,
320  &static_finish_bot_trans,
321  &static_finish_red,
322  &static_finish_green,
323  &static_finish_blue,
324  &static_finish_sat,
325  &static_finish_effect_power,
326  &static_time_left,
327  &static_current_rotation,
328  &static_current_waver,
329  NULL
330 };
331 
332 template class Struct<RPG::SavePicture>;
double current_effect_power
struct RPG::SavePicture::Flags flags
std::string name
int32_t finish_effect_power
int32_t spritesheet_cols
int32_t spritesheet_frame
int32_t spritesheet_rows