liblcf
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
19
template
<>
20
char
const
*
const
Struct<RPG::MapInfo>::name
=
"MapInfo"
;
21
static
TypedField<RPG::MapInfo, std::string>
static_name(
22
&
RPG::MapInfo::name
,
23
LMT_Reader::ChunkMapInfo::name
,
24
"name"
,
25
0,
26
0
27
);
28
static
TypedField<RPG::MapInfo, int32_t>
static_parent_map(
29
&
RPG::MapInfo::parent_map
,
30
LMT_Reader::ChunkMapInfo::parent_map
,
31
"parent_map"
,
32
0,
33
0
34
);
35
static
TypedField<RPG::MapInfo, int32_t>
static_indentation(
36
&
RPG::MapInfo::indentation
,
37
LMT_Reader::ChunkMapInfo::indentation
,
38
"indentation"
,
39
0,
40
0
41
);
42
static
TypedField<RPG::MapInfo, int32_t>
static_type(
43
&
RPG::MapInfo::type
,
44
LMT_Reader::ChunkMapInfo::type
,
45
"type"
,
46
0,
47
0
48
);
49
static
TypedField<RPG::MapInfo, int32_t>
static_scrollbar_x(
50
&
RPG::MapInfo::scrollbar_x
,
51
LMT_Reader::ChunkMapInfo::scrollbar_x
,
52
"scrollbar_x"
,
53
0,
54
0
55
);
56
static
TypedField<RPG::MapInfo, int32_t>
static_scrollbar_y(
57
&
RPG::MapInfo::scrollbar_y
,
58
LMT_Reader::ChunkMapInfo::scrollbar_y
,
59
"scrollbar_y"
,
60
0,
61
0
62
);
63
static
TypedField<RPG::MapInfo, bool>
static_expanded_node(
64
&
RPG::MapInfo::expanded_node
,
65
LMT_Reader::ChunkMapInfo::expanded_node
,
66
"expanded_node"
,
67
0,
68
0
69
);
70
static
TypedField<RPG::MapInfo, int32_t>
static_music_type(
71
&
RPG::MapInfo::music_type
,
72
LMT_Reader::ChunkMapInfo::music_type
,
73
"music_type"
,
74
1,
75
0
76
);
77
static
TypedField<RPG::MapInfo, RPG::Music>
static_music(
78
&
RPG::MapInfo::music
,
79
LMT_Reader::ChunkMapInfo::music
,
80
"music"
,
81
1,
82
0
83
);
84
static
TypedField<RPG::MapInfo, int32_t>
static_background_type(
85
&
RPG::MapInfo::background_type
,
86
LMT_Reader::ChunkMapInfo::background_type
,
87
"background_type"
,
88
1,
89
0
90
);
91
static
TypedField<RPG::MapInfo, std::string>
static_background_name(
92
&
RPG::MapInfo::background_name
,
93
LMT_Reader::ChunkMapInfo::background_name
,
94
"background_name"
,
95
0,
96
0
97
);
98
static
TypedField<RPG::MapInfo, int32_t>
static_teleport(
99
&
RPG::MapInfo::teleport
,
100
LMT_Reader::ChunkMapInfo::teleport
,
101
"teleport"
,
102
1,
103
0
104
);
105
static
TypedField<RPG::MapInfo, int32_t>
static_escape(
106
&
RPG::MapInfo::escape
,
107
LMT_Reader::ChunkMapInfo::escape
,
108
"escape"
,
109
1,
110
0
111
);
112
static
TypedField<RPG::MapInfo, int32_t>
static_save(
113
&
RPG::MapInfo::save
,
114
LMT_Reader::ChunkMapInfo::save
,
115
"save"
,
116
1,
117
0
118
);
119
static
TypedField<RPG::MapInfo, std::vector<RPG::Encounter>
> static_encounters(
120
&
RPG::MapInfo::encounters
,
121
LMT_Reader::ChunkMapInfo::encounters
,
122
"encounters"
,
123
1,
124
0
125
);
126
static
TypedField<RPG::MapInfo, int32_t>
static_encounter_steps(
127
&
RPG::MapInfo::encounter_steps
,
128
LMT_Reader::ChunkMapInfo::encounter_steps
,
129
"encounter_steps"
,
130
0,
131
0
132
);
133
static
TypedField<RPG::MapInfo, RPG::Rect>
static_area_rect(
134
&
RPG::MapInfo::area_rect
,
135
LMT_Reader::ChunkMapInfo::area_rect
,
136
"area_rect"
,
137
1,
138
0
139
);
140
141
142
template
<>
143
Field<RPG::MapInfo>
const
*
Struct<RPG::MapInfo>::fields
[] = {
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
164
template
class
Struct<RPG::MapInfo>
;
RPG::MapInfo::parent_map
int32_t parent_map
Definition:
rpg_mapinfo.h:63
LMT_Reader::ChunkMapInfo::escape
@ escape
Definition:
lmt_chunks.h:52
LMT_Reader::ChunkMapInfo::parent_map
@ parent_map
Definition:
lmt_chunks.h:30
LMT_Reader::ChunkMapInfo::indentation
@ indentation
Definition:
lmt_chunks.h:32
RPG::MapInfo::scrollbar_x
int32_t scrollbar_x
Definition:
rpg_mapinfo.h:66
LMT_Reader::ChunkMapInfo::name
@ name
Definition:
lmt_chunks.h:28
RPG::MapInfo::indentation
int32_t indentation
Definition:
rpg_mapinfo.h:64
Field
Definition:
reader_struct.h:315
LMT_Reader::ChunkMapInfo::encounter_steps
@ encounter_steps
Definition:
lmt_chunks.h:58
TypedField
Definition:
reader_struct.h:348
LMT_Reader::ChunkMapInfo::save
@ save
Definition:
lmt_chunks.h:54
LMT_Reader::ChunkMapInfo::music_type
@ music_type
Definition:
lmt_chunks.h:42
RPG::MapInfo::type
int32_t type
Definition:
rpg_mapinfo.h:65
Struct
Definition:
reader_struct.h:43
lmt_reader.h
RPG::MapInfo::scrollbar_y
int32_t scrollbar_y
Definition:
rpg_mapinfo.h:67
RPG::MapInfo::area_rect
Rect area_rect
Definition:
rpg_mapinfo.h:78
LMT_Reader::ChunkMapInfo::scrollbar_y
@ scrollbar_y
Definition:
lmt_chunks.h:38
RPG::MapInfo::music
Music music
Definition:
rpg_mapinfo.h:70
RPG::MapInfo::encounters
std::vector< Encounter > encounters
Definition:
rpg_mapinfo.h:76
lmt_chunks.h
LMT_Reader::ChunkMapInfo::background_name
@ background_name
Definition:
lmt_chunks.h:48
LMT_Reader::ChunkMapInfo::background_type
@ background_type
Definition:
lmt_chunks.h:46
RPG::MapInfo::background_type
int32_t background_type
Definition:
rpg_mapinfo.h:71
RPG::MapInfo::background_name
std::string background_name
Definition:
rpg_mapinfo.h:72
LMT_Reader::ChunkMapInfo::area_rect
@ area_rect
Definition:
lmt_chunks.h:60
RPG::MapInfo::teleport
int32_t teleport
Definition:
rpg_mapinfo.h:73
LMT_Reader::ChunkMapInfo::type
@ type
Definition:
lmt_chunks.h:34
RPG::MapInfo::escape
int32_t escape
Definition:
rpg_mapinfo.h:74
RPG::MapInfo::music_type
int32_t music_type
Definition:
rpg_mapinfo.h:69
RPG::MapInfo::expanded_node
bool expanded_node
Definition:
rpg_mapinfo.h:68
RPG::MapInfo::encounter_steps
int32_t encounter_steps
Definition:
rpg_mapinfo.h:77
RPG::MapInfo::save
int32_t save
Definition:
rpg_mapinfo.h:75
RPG::MapInfo::name
std::string name
Definition:
rpg_mapinfo.h:62
LMT_Reader::ChunkMapInfo::scrollbar_x
@ scrollbar_x
Definition:
lmt_chunks.h:36
LMT_Reader::ChunkMapInfo::music
@ music
Definition:
lmt_chunks.h:44
LMT_Reader::ChunkMapInfo::encounters
@ encounters
Definition:
lmt_chunks.h:56
reader_struct_impl.h
LMT_Reader::ChunkMapInfo::teleport
@ teleport
Definition:
lmt_chunks.h:50
LMT_Reader::ChunkMapInfo::expanded_node
@ expanded_node
Definition:
lmt_chunks.h:40
src
generated
lmt_mapinfo.cpp
Generated on Sun Aug 2 2020 00:00:00 for liblcf by
1.8.18