liblcf
Loading...
Searching...
No Matches
lsd_savevehiclelocation.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 SaveVehicleLocation.
20
21template <>
22char const* const Struct<rpg::SaveVehicleLocation>::name = "SaveVehicleLocation";
24 &rpg::SaveVehicleLocation::active,
25 LSD_Reader::ChunkSaveVehicleLocation::active,
26 "active",
27 0,
28 0
29);
31 &rpg::SaveVehicleLocation::map_id,
32 LSD_Reader::ChunkSaveVehicleLocation::map_id,
33 "map_id",
34 1,
35 0
36);
38 &rpg::SaveVehicleLocation::position_x,
39 LSD_Reader::ChunkSaveVehicleLocation::position_x,
40 "position_x",
41 1,
42 0
43);
45 &rpg::SaveVehicleLocation::position_y,
46 LSD_Reader::ChunkSaveVehicleLocation::position_y,
47 "position_y",
48 1,
49 0
50);
52 &rpg::SaveVehicleLocation::direction,
53 LSD_Reader::ChunkSaveVehicleLocation::direction,
54 "direction",
55 1,
56 0
57);
59 &rpg::SaveVehicleLocation::facing,
60 LSD_Reader::ChunkSaveVehicleLocation::facing,
61 "facing",
62 1,
63 0
64);
66 &rpg::SaveVehicleLocation::anim_frame,
67 LSD_Reader::ChunkSaveVehicleLocation::anim_frame,
68 "anim_frame",
69 0,
70 0
71);
72static TypedField<rpg::SaveVehicleLocation, int32_t> static_transparency(
73 &rpg::SaveVehicleLocation::transparency,
74 LSD_Reader::ChunkSaveVehicleLocation::transparency,
75 "transparency",
76 0,
77 0
78);
79static TypedField<rpg::SaveVehicleLocation, int32_t> static_remaining_step(
80 &rpg::SaveVehicleLocation::remaining_step,
81 LSD_Reader::ChunkSaveVehicleLocation::remaining_step,
82 "remaining_step",
83 0,
84 0
85);
86static TypedField<rpg::SaveVehicleLocation, int32_t> static_move_frequency(
87 &rpg::SaveVehicleLocation::move_frequency,
88 LSD_Reader::ChunkSaveVehicleLocation::move_frequency,
89 "move_frequency",
90 0,
91 0
92);
94 &rpg::SaveVehicleLocation::layer,
95 LSD_Reader::ChunkSaveVehicleLocation::layer,
96 "layer",
97 1,
98 0
99);
100static TypedField<rpg::SaveVehicleLocation, bool> static_overlap_forbidden(
101 &rpg::SaveVehicleLocation::overlap_forbidden,
102 LSD_Reader::ChunkSaveVehicleLocation::overlap_forbidden,
103 "overlap_forbidden",
104 0,
105 0
106);
107static TypedField<rpg::SaveVehicleLocation, int32_t> static_animation_type(
108 &rpg::SaveVehicleLocation::animation_type,
109 LSD_Reader::ChunkSaveVehicleLocation::animation_type,
110 "animation_type",
111 1,
112 0
113);
114static TypedField<rpg::SaveVehicleLocation, bool> static_lock_facing(
115 &rpg::SaveVehicleLocation::lock_facing,
116 LSD_Reader::ChunkSaveVehicleLocation::lock_facing,
117 "lock_facing",
118 0,
119 0
120);
121static TypedField<rpg::SaveVehicleLocation, int32_t> static_move_speed(
122 &rpg::SaveVehicleLocation::move_speed,
123 LSD_Reader::ChunkSaveVehicleLocation::move_speed,
124 "move_speed",
125 1,
126 0
127);
129 &rpg::SaveVehicleLocation::move_route,
130 LSD_Reader::ChunkSaveVehicleLocation::move_route,
131 "move_route",
132 1,
133 0
134);
135static TypedField<rpg::SaveVehicleLocation, bool> static_move_route_overwrite(
136 &rpg::SaveVehicleLocation::move_route_overwrite,
137 LSD_Reader::ChunkSaveVehicleLocation::move_route_overwrite,
138 "move_route_overwrite",
139 0,
140 0
141);
142static TypedField<rpg::SaveVehicleLocation, int32_t> static_move_route_index(
143 &rpg::SaveVehicleLocation::move_route_index,
144 LSD_Reader::ChunkSaveVehicleLocation::move_route_index,
145 "move_route_index",
146 0,
147 0
148);
149static TypedField<rpg::SaveVehicleLocation, bool> static_move_route_finished(
150 &rpg::SaveVehicleLocation::move_route_finished,
151 LSD_Reader::ChunkSaveVehicleLocation::move_route_finished,
152 "move_route_finished",
153 0,
154 0
155);
156static TypedField<rpg::SaveVehicleLocation, bool> static_sprite_hidden(
157 &rpg::SaveVehicleLocation::sprite_hidden,
158 LSD_Reader::ChunkSaveVehicleLocation::sprite_hidden,
159 "sprite_hidden",
160 0,
161 0
162);
163static TypedField<rpg::SaveVehicleLocation, bool> static_move_route_through(
164 &rpg::SaveVehicleLocation::move_route_through,
165 LSD_Reader::ChunkSaveVehicleLocation::move_route_through,
166 "move_route_through",
167 0,
168 0
169);
170static TypedField<rpg::SaveVehicleLocation, int32_t> static_anim_paused(
171 &rpg::SaveVehicleLocation::anim_paused,
172 LSD_Reader::ChunkSaveVehicleLocation::anim_paused,
173 "anim_paused",
174 0,
175 0
176);
178 &rpg::SaveVehicleLocation::through,
179 LSD_Reader::ChunkSaveVehicleLocation::through,
180 "through",
181 0,
182 0
183);
184static TypedField<rpg::SaveVehicleLocation, int32_t> static_stop_count(
185 &rpg::SaveVehicleLocation::stop_count,
186 LSD_Reader::ChunkSaveVehicleLocation::stop_count,
187 "stop_count",
188 0,
189 0
190);
191static TypedField<rpg::SaveVehicleLocation, int32_t> static_anim_count(
192 &rpg::SaveVehicleLocation::anim_count,
193 LSD_Reader::ChunkSaveVehicleLocation::anim_count,
194 "anim_count",
195 0,
196 0
197);
198static TypedField<rpg::SaveVehicleLocation, int32_t> static_max_stop_count(
199 &rpg::SaveVehicleLocation::max_stop_count,
200 LSD_Reader::ChunkSaveVehicleLocation::max_stop_count,
201 "max_stop_count",
202 0,
203 0
204);
206 &rpg::SaveVehicleLocation::jumping,
207 LSD_Reader::ChunkSaveVehicleLocation::jumping,
208 "jumping",
209 0,
210 0
211);
212static TypedField<rpg::SaveVehicleLocation, int32_t> static_begin_jump_x(
213 &rpg::SaveVehicleLocation::begin_jump_x,
214 LSD_Reader::ChunkSaveVehicleLocation::begin_jump_x,
215 "begin_jump_x",
216 0,
217 0
218);
219static TypedField<rpg::SaveVehicleLocation, int32_t> static_begin_jump_y(
220 &rpg::SaveVehicleLocation::begin_jump_y,
221 LSD_Reader::ChunkSaveVehicleLocation::begin_jump_y,
222 "begin_jump_y",
223 0,
224 0
225);
227 &rpg::SaveVehicleLocation::pause,
228 LSD_Reader::ChunkSaveVehicleLocation::pause,
229 "pause",
230 0,
231 0
232);
234 &rpg::SaveVehicleLocation::flying,
235 LSD_Reader::ChunkSaveVehicleLocation::flying,
236 "flying",
237 0,
238 0
239);
241 &rpg::SaveVehicleLocation::sprite_name,
242 LSD_Reader::ChunkSaveVehicleLocation::sprite_name,
243 "sprite_name",
244 0,
245 0
246);
248 &rpg::SaveVehicleLocation::sprite_id,
249 LSD_Reader::ChunkSaveVehicleLocation::sprite_id,
250 "sprite_id",
251 0,
252 0
253);
254static TypedField<rpg::SaveVehicleLocation, bool> static_processed(
255 &rpg::SaveVehicleLocation::processed,
256 LSD_Reader::ChunkSaveVehicleLocation::processed,
257 "processed",
258 0,
259 0
260);
262 &rpg::SaveVehicleLocation::flash_red,
263 LSD_Reader::ChunkSaveVehicleLocation::flash_red,
264 "flash_red",
265 0,
266 0
267);
268static TypedField<rpg::SaveVehicleLocation, int32_t> static_flash_green(
269 &rpg::SaveVehicleLocation::flash_green,
270 LSD_Reader::ChunkSaveVehicleLocation::flash_green,
271 "flash_green",
272 0,
273 0
274);
275static TypedField<rpg::SaveVehicleLocation, int32_t> static_flash_blue(
276 &rpg::SaveVehicleLocation::flash_blue,
277 LSD_Reader::ChunkSaveVehicleLocation::flash_blue,
278 "flash_blue",
279 0,
280 0
281);
282static TypedField<rpg::SaveVehicleLocation, double> static_flash_current_level(
283 &rpg::SaveVehicleLocation::flash_current_level,
284 LSD_Reader::ChunkSaveVehicleLocation::flash_current_level,
285 "flash_current_level",
286 0,
287 0
288);
289static TypedField<rpg::SaveVehicleLocation, int32_t> static_flash_time_left(
290 &rpg::SaveVehicleLocation::flash_time_left,
291 LSD_Reader::ChunkSaveVehicleLocation::flash_time_left,
292 "flash_time_left",
293 0,
294 0
295);
296static TypedField<rpg::SaveVehicleLocation, int32_t> static_easyrpg_move_failure_count(
297 &rpg::SaveVehicleLocation::easyrpg_move_failure_count,
298 LSD_Reader::ChunkSaveVehicleLocation::easyrpg_move_failure_count,
299 "easyrpg_move_failure_count",
300 0,
301 0
302);
303static TypedField<rpg::SaveVehicleLocation, uint32_t> static_easyrpg_clone_map_id(
304 &rpg::SaveVehicleLocation::easyrpg_clone_map_id,
305 LSD_Reader::ChunkSaveVehicleLocation::easyrpg_clone_map_id,
306 "easyrpg_clone_map_id",
307 0,
308 0
309);
310static TypedField<rpg::SaveVehicleLocation, uint32_t> static_easyrpg_clone_event_id(
311 &rpg::SaveVehicleLocation::easyrpg_clone_event_id,
312 LSD_Reader::ChunkSaveVehicleLocation::easyrpg_clone_event_id,
313 "easyrpg_clone_event_id",
314 0,
315 0
316);
318 &rpg::SaveVehicleLocation::easyrpg_runtime_flags,
319 LSD_Reader::ChunkSaveVehicleLocation::easyrpg_runtime_flags,
320 "easyrpg_runtime_flags",
321 0,
322 0
323);
325 &rpg::SaveVehicleLocation::vehicle,
326 LSD_Reader::ChunkSaveVehicleLocation::vehicle,
327 "vehicle",
328 0,
329 0
330);
331static TypedField<rpg::SaveVehicleLocation, int32_t> static_remaining_ascent(
332 &rpg::SaveVehicleLocation::remaining_ascent,
333 LSD_Reader::ChunkSaveVehicleLocation::remaining_ascent,
334 "remaining_ascent",
335 0,
336 0
337);
338static TypedField<rpg::SaveVehicleLocation, int32_t> static_remaining_descent(
339 &rpg::SaveVehicleLocation::remaining_descent,
340 LSD_Reader::ChunkSaveVehicleLocation::remaining_descent,
341 "remaining_descent",
342 0,
343 0
344);
345static TypedField<rpg::SaveVehicleLocation, std::string> static_orig_sprite_name(
346 &rpg::SaveVehicleLocation::orig_sprite_name,
347 LSD_Reader::ChunkSaveVehicleLocation::orig_sprite_name,
348 "orig_sprite_name",
349 0,
350 0
351);
352static TypedField<rpg::SaveVehicleLocation, int32_t> static_orig_sprite_id(
353 &rpg::SaveVehicleLocation::orig_sprite_id,
354 LSD_Reader::ChunkSaveVehicleLocation::orig_sprite_id,
355 "orig_sprite_id",
356 0,
357 0
358);
359
360
361template <>
363 &static_active,
364 &static_map_id,
365 &static_position_x,
366 &static_position_y,
367 &static_direction,
368 &static_facing,
369 &static_anim_frame,
370 &static_transparency,
371 &static_remaining_step,
372 &static_move_frequency,
373 &static_layer,
374 &static_overlap_forbidden,
375 &static_animation_type,
376 &static_lock_facing,
377 &static_move_speed,
378 &static_move_route,
379 &static_move_route_overwrite,
380 &static_move_route_index,
381 &static_move_route_finished,
382 &static_sprite_hidden,
383 &static_move_route_through,
384 &static_anim_paused,
385 &static_through,
386 &static_stop_count,
387 &static_anim_count,
388 &static_max_stop_count,
389 &static_jumping,
390 &static_begin_jump_x,
391 &static_begin_jump_y,
392 &static_pause,
393 &static_flying,
394 &static_sprite_name,
395 &static_sprite_id,
396 &static_processed,
397 &static_flash_red,
398 &static_flash_green,
399 &static_flash_blue,
400 &static_flash_current_level,
401 &static_flash_time_left,
402 &static_easyrpg_move_failure_count,
403 &static_easyrpg_clone_map_id,
404 &static_easyrpg_clone_event_id,
405 &static_easyrpg_runtime_flags,
406 &static_vehicle,
407 &static_remaining_ascent,
408 &static_remaining_descent,
409 &static_orig_sprite_name,
410 &static_orig_sprite_id,
411 NULL
412};
413
415
416} //namespace lcf
static const Field< S > * fields[]
static const char *const name