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