liblcf
Loading...
Searching...
No Matches
lsd_savemapinfo.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 SaveMapInfo.
18
19template <>
20char const* const Struct<RPG::SaveMapInfo>::name = "SaveMapInfo";
21static TypedField<RPG::SaveMapInfo, int32_t> static_position_x(
24 "position_x",
25 0,
26 0
27);
28static TypedField<RPG::SaveMapInfo, int32_t> static_position_y(
31 "position_y",
32 0,
33 0
34);
35static TypedField<RPG::SaveMapInfo, int32_t> static_encounter_rate(
38 "encounter_rate",
39 0,
40 0
41);
42static TypedField<RPG::SaveMapInfo, int32_t> static_chipset_id(
45 "chipset_id",
46 0,
47 0
48);
52 "events",
53 1,
54 0
55);
59 "lower_tiles",
60 1,
61 0
62);
66 "upper_tiles",
67 1,
68 0
69);
70static TypedField<RPG::SaveMapInfo, std::string> static_parallax_name(
73 "parallax_name",
74 0,
75 0
76);
77static TypedField<RPG::SaveMapInfo, bool> static_parallax_horz(
80 "parallax_horz",
81 0,
82 0
83);
84static TypedField<RPG::SaveMapInfo, bool> static_parallax_vert(
87 "parallax_vert",
88 0,
89 0
90);
91static TypedField<RPG::SaveMapInfo, bool> static_parallax_horz_auto(
94 "parallax_horz_auto",
95 0,
96 0
97);
98static TypedField<RPG::SaveMapInfo, int32_t> static_parallax_horz_speed(
101 "parallax_horz_speed",
102 0,
103 0
104);
105static TypedField<RPG::SaveMapInfo, bool> static_parallax_vert_auto(
108 "parallax_vert_auto",
109 0,
110 0
111);
112static TypedField<RPG::SaveMapInfo, int32_t> static_parallax_vert_speed(
115 "parallax_vert_speed",
116 0,
117 0
118);
119
120
121template <>
123 &static_position_x,
124 &static_position_y,
125 &static_encounter_rate,
126 &static_chipset_id,
127 &static_events,
128 &static_lower_tiles,
129 &static_upper_tiles,
130 &static_parallax_name,
131 &static_parallax_horz,
132 &static_parallax_vert,
133 &static_parallax_horz_auto,
134 &static_parallax_horz_speed,
135 &static_parallax_vert_auto,
136 &static_parallax_vert_speed,
137 NULL
138};
139
140template class Struct<RPG::SaveMapInfo>;
std::vector< uint8_t > upper_tiles
std::string parallax_name
std::vector< uint8_t > lower_tiles
std::vector< SaveMapEvent > events
int32_t parallax_horz_speed
int32_t parallax_vert_speed