liblcf
Loading...
Searching...
No Matches
lmt_mapinfo.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 "lmt_reader.h"
14#include "lmt_chunks.h"
15#include "reader_struct_impl.h"
16
17// Read MapInfo.
18
19template <>
20char const* const Struct<RPG::MapInfo>::name = "MapInfo";
24 "name",
25 0,
26 0
27);
28static TypedField<RPG::MapInfo, int32_t> static_parent_map(
31 "parent_map",
32 0,
33 0
34);
35static TypedField<RPG::MapInfo, int32_t> static_indentation(
38 "indentation",
39 0,
40 0
41);
42static TypedField<RPG::MapInfo, int32_t> static_type(
45 "type",
46 0,
47 0
48);
49static TypedField<RPG::MapInfo, int32_t> static_scrollbar_x(
52 "scrollbar_x",
53 0,
54 0
55);
56static TypedField<RPG::MapInfo, int32_t> static_scrollbar_y(
59 "scrollbar_y",
60 0,
61 0
62);
63static TypedField<RPG::MapInfo, bool> static_expanded_node(
66 "expanded_node",
67 0,
68 0
69);
70static TypedField<RPG::MapInfo, int32_t> static_music_type(
73 "music_type",
74 1,
75 0
76);
77static TypedField<RPG::MapInfo, RPG::Music> static_music(
80 "music",
81 1,
82 0
83);
84static TypedField<RPG::MapInfo, int32_t> static_background_type(
87 "background_type",
88 1,
89 0
90);
91static TypedField<RPG::MapInfo, std::string> static_background_name(
94 "background_name",
95 0,
96 0
97);
98static TypedField<RPG::MapInfo, int32_t> static_teleport(
101 "teleport",
102 1,
103 0
104);
105static TypedField<RPG::MapInfo, int32_t> static_escape(
108 "escape",
109 1,
110 0
111);
112static TypedField<RPG::MapInfo, int32_t> static_save(
115 "save",
116 1,
117 0
118);
122 "encounters",
123 1,
124 0
125);
126static TypedField<RPG::MapInfo, int32_t> static_encounter_steps(
129 "encounter_steps",
130 0,
131 0
132);
133static TypedField<RPG::MapInfo, RPG::Rect> static_area_rect(
136 "area_rect",
137 1,
138 0
139);
140
141
142template <>
144 &static_name,
145 &static_parent_map,
146 &static_indentation,
147 &static_type,
148 &static_scrollbar_x,
149 &static_scrollbar_y,
150 &static_expanded_node,
151 &static_music_type,
152 &static_music,
153 &static_background_type,
154 &static_background_name,
155 &static_teleport,
156 &static_escape,
157 &static_save,
158 &static_encounters,
159 &static_encounter_steps,
160 &static_area_rect,
161 NULL
162};
163
164template class Struct<RPG::MapInfo>;
std::string name
Definition: rpg_mapinfo.h:62
std::vector< Encounter > encounters
Definition: rpg_mapinfo.h:76
int32_t parent_map
Definition: rpg_mapinfo.h:63
Rect area_rect
Definition: rpg_mapinfo.h:78
int32_t music_type
Definition: rpg_mapinfo.h:69
bool expanded_node
Definition: rpg_mapinfo.h:68
std::string background_name
Definition: rpg_mapinfo.h:72
int32_t encounter_steps
Definition: rpg_mapinfo.h:77
int32_t scrollbar_y
Definition: rpg_mapinfo.h:67
int32_t save
Definition: rpg_mapinfo.h:75
int32_t type
Definition: rpg_mapinfo.h:65
int32_t teleport
Definition: rpg_mapinfo.h:73
int32_t escape
Definition: rpg_mapinfo.h:74
int32_t background_type
Definition: rpg_mapinfo.h:71
int32_t indentation
Definition: rpg_mapinfo.h:64
int32_t scrollbar_x
Definition: rpg_mapinfo.h:66