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>;
RPG::SaveMapInfo::parallax_name
std::string parallax_name
Definition: rpg_savemapinfo.h:42
RPG::SaveMapInfo::parallax_vert_speed
int32_t parallax_vert_speed
Definition: rpg_savemapinfo.h:48
LSD_Reader::ChunkSaveMapInfo::parallax_horz_speed
@ parallax_horz_speed
Definition: lsd_chunks.h:904
LSD_Reader::ChunkSaveMapInfo::parallax_vert_auto
@ parallax_vert_auto
Definition: lsd_chunks.h:906
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LSD_Reader::ChunkSaveMapInfo::lower_tiles
@ lower_tiles
Definition: lsd_chunks.h:892
RPG::SaveMapInfo::encounter_rate
int32_t encounter_rate
Definition: rpg_savemapinfo.h:37
LSD_Reader::ChunkSaveMapInfo::parallax_name
@ parallax_name
Definition: lsd_chunks.h:896
RPG::SaveMapInfo::lower_tiles
std::vector< uint8_t > lower_tiles
Definition: rpg_savemapinfo.h:40
Struct
Definition: reader_struct.h:43
RPG::SaveMapInfo::chipset_id
int32_t chipset_id
Definition: rpg_savemapinfo.h:38
RPG::SaveMapInfo::parallax_vert
bool parallax_vert
Definition: rpg_savemapinfo.h:44
LSD_Reader::ChunkSaveMapInfo::encounter_rate
@ encounter_rate
Definition: lsd_chunks.h:886
LSD_Reader::ChunkSaveMapInfo::position_y
@ position_y
Definition: lsd_chunks.h:884
RPG::SaveMapInfo::parallax_vert_auto
bool parallax_vert_auto
Definition: rpg_savemapinfo.h:47
LSD_Reader::ChunkSaveMapInfo::chipset_id
@ chipset_id
Definition: lsd_chunks.h:888
RPG::SaveMapInfo::parallax_horz_speed
int32_t parallax_horz_speed
Definition: rpg_savemapinfo.h:46
RPG::SaveMapInfo::parallax_horz_auto
bool parallax_horz_auto
Definition: rpg_savemapinfo.h:45
LSD_Reader::ChunkSaveMapInfo::parallax_vert_speed
@ parallax_vert_speed
Definition: lsd_chunks.h:908
LSD_Reader::ChunkSaveMapInfo::parallax_horz
@ parallax_horz
Definition: lsd_chunks.h:898
RPG::SaveMapInfo::parallax_horz
bool parallax_horz
Definition: rpg_savemapinfo.h:43
RPG::SaveMapInfo::position_y
int32_t position_y
Definition: rpg_savemapinfo.h:36
RPG::SaveMapInfo::upper_tiles
std::vector< uint8_t > upper_tiles
Definition: rpg_savemapinfo.h:41
lsd_reader.h
LSD_Reader::ChunkSaveMapInfo::upper_tiles
@ upper_tiles
Definition: lsd_chunks.h:894
RPG::SaveMapInfo::events
std::vector< SaveMapEvent > events
Definition: rpg_savemapinfo.h:39
LSD_Reader::ChunkSaveMapInfo::position_x
@ position_x
Definition: lsd_chunks.h:882
lsd_chunks.h
LSD_Reader::ChunkSaveMapInfo::events
@ events
Definition: lsd_chunks.h:890
reader_struct_impl.h
LSD_Reader::ChunkSaveMapInfo::parallax_vert
@ parallax_vert
Definition: lsd_chunks.h:900
RPG::SaveMapInfo::position_x
int32_t position_x
Definition: rpg_savemapinfo.h:35
LSD_Reader::ChunkSaveMapInfo::parallax_horz_auto
@ parallax_horz_auto
Definition: lsd_chunks.h:902