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 17 namespace lcf { 18 19 // Read SaveVehicleLocation. 20 21 template <> 22 char const* const Struct<rpg::SaveVehicleLocation>::name = "SaveVehicleLocation"; 23 static TypedField<rpg::SaveVehicleLocation, bool> static_active( 24 &rpg::SaveVehicleLocation::active, 25 LSD_Reader::ChunkSaveVehicleLocation::active, 26 "active", 27 0, 28 0 29 ); 30 static TypedField<rpg::SaveVehicleLocation, int32_t> static_map_id( 31 &rpg::SaveVehicleLocation::map_id, 32 LSD_Reader::ChunkSaveVehicleLocation::map_id, 33 "map_id", 34 1, 35 0 36 ); 37 static TypedField<rpg::SaveVehicleLocation, int32_t> static_position_x( 38 &rpg::SaveVehicleLocation::position_x, 39 LSD_Reader::ChunkSaveVehicleLocation::position_x, 40 "position_x", 41 1, 42 0 43 ); 44 static TypedField<rpg::SaveVehicleLocation, int32_t> static_position_y( 45 &rpg::SaveVehicleLocation::position_y, 46 LSD_Reader::ChunkSaveVehicleLocation::position_y, 47 "position_y", 48 1, 49 0 50 ); 51 static TypedField<rpg::SaveVehicleLocation, int32_t> static_direction( 52 &rpg::SaveVehicleLocation::direction, 53 LSD_Reader::ChunkSaveVehicleLocation::direction, 54 "direction", 55 1, 56 0 57 ); 58 static TypedField<rpg::SaveVehicleLocation, int32_t> static_sprite_direction( 59 &rpg::SaveVehicleLocation::sprite_direction, 60 LSD_Reader::ChunkSaveVehicleLocation::sprite_direction, 61 "sprite_direction", 62 1, 63 0 64 ); 65 static TypedField<rpg::SaveVehicleLocation, int32_t> static_anim_frame( 66 &rpg::SaveVehicleLocation::anim_frame, 67 LSD_Reader::ChunkSaveVehicleLocation::anim_frame, 68 "anim_frame", 69 0, 70 0 71 ); 72 static TypedField<rpg::SaveVehicleLocation, int32_t> static_transparency( 73 &rpg::SaveVehicleLocation::transparency, 74 LSD_Reader::ChunkSaveVehicleLocation::transparency, 75 "transparency", 76 0, 77 0 78 ); 79 static 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 ); 86 static 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 ); 93 static TypedField<rpg::SaveVehicleLocation, int32_t> static_layer( 94 &rpg::SaveVehicleLocation::layer, 95 LSD_Reader::ChunkSaveVehicleLocation::layer, 96 "layer", 97 1, 98 0 99 ); 100 static 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 ); 107 static 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 ); 114 static 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 ); 121 static 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 ); 128 static TypedField<rpg::SaveVehicleLocation, rpg::MoveRoute> static_move_route( 129 &rpg::SaveVehicleLocation::move_route, 130 LSD_Reader::ChunkSaveVehicleLocation::move_route, 131 "move_route", 132 1, 133 0 134 ); 135 static 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 ); 142 static 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 ); 149 static TypedField<rpg::SaveVehicleLocation, bool> static_move_route_repeated( 150 &rpg::SaveVehicleLocation::move_route_repeated, 151 LSD_Reader::ChunkSaveVehicleLocation::move_route_repeated, 152 "move_route_repeated", 153 0, 154 0 155 ); 156 static TypedField<rpg::SaveVehicleLocation, bool> static_sprite_transparent( 157 &rpg::SaveVehicleLocation::sprite_transparent, 158 LSD_Reader::ChunkSaveVehicleLocation::sprite_transparent, 159 "sprite_transparent", 160 0, 161 0 162 ); 163 static TypedField<rpg::SaveVehicleLocation, bool> static_route_through( 164 &rpg::SaveVehicleLocation::route_through, 165 LSD_Reader::ChunkSaveVehicleLocation::route_through, 166 "route_through", 167 0, 168 0 169 ); 170 static 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 ); 177 static TypedField<rpg::SaveVehicleLocation, bool> static_through( 178 &rpg::SaveVehicleLocation::through, 179 LSD_Reader::ChunkSaveVehicleLocation::through, 180 "through", 181 0, 182 0 183 ); 184 static 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 ); 191 static 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 ); 198 static 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 ); 205 static TypedField<rpg::SaveVehicleLocation, bool> static_jumping( 206 &rpg::SaveVehicleLocation::jumping, 207 LSD_Reader::ChunkSaveVehicleLocation::jumping, 208 "jumping", 209 0, 210 0 211 ); 212 static 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 ); 219 static 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 ); 226 static TypedField<rpg::SaveVehicleLocation, bool> static_pause( 227 &rpg::SaveVehicleLocation::pause, 228 LSD_Reader::ChunkSaveVehicleLocation::pause, 229 "pause", 230 0, 231 0 232 ); 233 static TypedField<rpg::SaveVehicleLocation, bool> static_flying( 234 &rpg::SaveVehicleLocation::flying, 235 LSD_Reader::ChunkSaveVehicleLocation::flying, 236 "flying", 237 0, 238 0 239 ); 240 static TypedField<rpg::SaveVehicleLocation, std::string> static_sprite_name( 241 &rpg::SaveVehicleLocation::sprite_name, 242 LSD_Reader::ChunkSaveVehicleLocation::sprite_name, 243 "sprite_name", 244 0, 245 0 246 ); 247 static TypedField<rpg::SaveVehicleLocation, int32_t> static_sprite_id( 248 &rpg::SaveVehicleLocation::sprite_id, 249 LSD_Reader::ChunkSaveVehicleLocation::sprite_id, 250 "sprite_id", 251 0, 252 0 253 ); 254 static TypedField<rpg::SaveVehicleLocation, bool> static_processed( 255 &rpg::SaveVehicleLocation::processed, 256 LSD_Reader::ChunkSaveVehicleLocation::processed, 257 "processed", 258 0, 259 0 260 ); 261 static TypedField<rpg::SaveVehicleLocation, int32_t> static_flash_red( 262 &rpg::SaveVehicleLocation::flash_red, 263 LSD_Reader::ChunkSaveVehicleLocation::flash_red, 264 "flash_red", 265 0, 266 0 267 ); 268 static 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 ); 275 static 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 ); 282 static 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 ); 289 static 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 ); 296 static TypedField<rpg::SaveVehicleLocation, int32_t> static_vehicle( 297 &rpg::SaveVehicleLocation::vehicle, 298 LSD_Reader::ChunkSaveVehicleLocation::vehicle, 299 "vehicle", 300 0, 301 0 302 ); 303 static TypedField<rpg::SaveVehicleLocation, int32_t> static_remaining_ascent( 304 &rpg::SaveVehicleLocation::remaining_ascent, 305 LSD_Reader::ChunkSaveVehicleLocation::remaining_ascent, 306 "remaining_ascent", 307 0, 308 0 309 ); 310 static TypedField<rpg::SaveVehicleLocation, int32_t> static_remaining_descent( 311 &rpg::SaveVehicleLocation::remaining_descent, 312 LSD_Reader::ChunkSaveVehicleLocation::remaining_descent, 313 "remaining_descent", 314 0, 315 0 316 ); 317 static TypedField<rpg::SaveVehicleLocation, std::string> static_orig_sprite_name( 318 &rpg::SaveVehicleLocation::orig_sprite_name, 319 LSD_Reader::ChunkSaveVehicleLocation::orig_sprite_name, 320 "orig_sprite_name", 321 0, 322 0 323 ); 324 static TypedField<rpg::SaveVehicleLocation, int32_t> static_orig_sprite_id( 325 &rpg::SaveVehicleLocation::orig_sprite_id, 326 LSD_Reader::ChunkSaveVehicleLocation::orig_sprite_id, 327 "orig_sprite_id", 328 0, 329 0 330 ); 331 332 333 template <> 334 Field<rpg::SaveVehicleLocation> const* Struct<rpg::SaveVehicleLocation>::fields[] = { 335 &static_active, 336 &static_map_id, 337 &static_position_x, 338 &static_position_y, 339 &static_direction, 340 &static_sprite_direction, 341 &static_anim_frame, 342 &static_transparency, 343 &static_remaining_step, 344 &static_move_frequency, 345 &static_layer, 346 &static_overlap_forbidden, 347 &static_animation_type, 348 &static_lock_facing, 349 &static_move_speed, 350 &static_move_route, 351 &static_move_route_overwrite, 352 &static_move_route_index, 353 &static_move_route_repeated, 354 &static_sprite_transparent, 355 &static_route_through, 356 &static_anim_paused, 357 &static_through, 358 &static_stop_count, 359 &static_anim_count, 360 &static_max_stop_count, 361 &static_jumping, 362 &static_begin_jump_x, 363 &static_begin_jump_y, 364 &static_pause, 365 &static_flying, 366 &static_sprite_name, 367 &static_sprite_id, 368 &static_processed, 369 &static_flash_red, 370 &static_flash_green, 371 &static_flash_blue, 372 &static_flash_current_level, 373 &static_flash_time_left, 374 &static_vehicle, 375 &static_remaining_ascent, 376 &static_remaining_descent, 377 &static_orig_sprite_name, 378 &static_orig_sprite_id, 379 NULL 380 }; 381 382 template class Struct<rpg::SaveVehicleLocation>; 383 384 } //namespace lcf 385