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) 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 
17 namespace lcf {
18 
19 // Read SavePicture.
20 
21 template <>
22 char const* const Struct<rpg::SavePicture>::name = "SavePicture";
24  &rpg::SavePicture::name,
25  LSD_Reader::ChunkSavePicture::name,
26  "name",
27  0,
28  0
29 );
30 static 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 );
37 static 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 );
44 static 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 );
51 static 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 );
58 static 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 );
65 static 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 );
72 static 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 );
79 static 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 );
86 static 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 );
93 static 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 );
100 static 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 );
107 static 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 );
114 static 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 );
121 static 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 );
128 static 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 );
135 static 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 );
142 static 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 );
149 static 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 );
156 static 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 );
163 static TypedField<rpg::SavePicture, int32_t> static_frames(
164  &rpg::SavePicture::frames,
165  LSD_Reader::ChunkSavePicture::frames,
166  "frames",
167  0,
168  1
169 );
170 static 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 );
177 static 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 );
184 static 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 );
198 static 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 );
205 static 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 );
212 static 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 );
219 static 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 );
226 static 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 );
233 static 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 );
240 static 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 );
247 static 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 );
254 static 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 );
261 static 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 );
268 static 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 );
275 static 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 );
282 static 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 );
289 static 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 );
296 static 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 static TypedField<rpg::SavePicture, int32_t> static_easyrpg_type(
304  &rpg::SavePicture::easyrpg_type,
305  LSD_Reader::ChunkSavePicture::easyrpg_type,
306  "easyrpg_type",
307  0,
308  1
309 );
310 
311 
312 template <>
314  &static_name,
315  &static_start_x,
316  &static_start_y,
317  &static_current_x,
318  &static_current_y,
319  &static_fixed_to_map,
320  &static_current_magnify,
321  &static_current_top_trans,
322  &static_use_transparent_color,
323  &static_current_red,
324  &static_current_green,
325  &static_current_blue,
326  &static_current_sat,
327  &static_effect_mode,
328  &static_current_effect_power,
329  &static_current_bot_trans,
330  &static_spritesheet_cols,
331  &static_spritesheet_rows,
332  &static_spritesheet_frame,
333  &static_spritesheet_speed,
334  &static_frames,
335  &static_spritesheet_play_once,
336  &static_map_layer,
337  &static_battle_layer,
338  &static_flags,
339  &static_finish_x,
340  &static_finish_y,
341  &static_finish_magnify,
342  &static_finish_top_trans,
343  &static_finish_bot_trans,
344  &static_finish_red,
345  &static_finish_green,
346  &static_finish_blue,
347  &static_finish_sat,
348  &static_finish_effect_power,
349  &static_time_left,
350  &static_current_rotation,
351  &static_current_waver,
352  &static_easyrpg_flip,
353  &static_easyrpg_blend_mode,
354  &static_easyrpg_type,
355  NULL
356 };
357 
358 template class Struct<rpg::SavePicture>;
359 
360 } //namespace lcf
Definition: dbarray.cpp:13