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) 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 "lcf/lmt/reader.h"
14#include "lcf/lmt/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read MapInfo.
20
21template <>
22char const* const Struct<rpg::MapInfo>::name = "MapInfo";
24 &rpg::MapInfo::name,
25 LMT_Reader::ChunkMapInfo::name,
26 "name",
27 0,
28 0
29);
31 &rpg::MapInfo::parent_map,
32 LMT_Reader::ChunkMapInfo::parent_map,
33 "parent_map",
34 0,
35 0
36);
38 &rpg::MapInfo::indentation,
39 LMT_Reader::ChunkMapInfo::indentation,
40 "indentation",
41 0,
42 0
43);
45 &rpg::MapInfo::type,
46 LMT_Reader::ChunkMapInfo::type,
47 "type",
48 0,
49 0
50);
52 &rpg::MapInfo::scrollbar_x,
53 LMT_Reader::ChunkMapInfo::scrollbar_x,
54 "scrollbar_x",
55 0,
56 0
57);
59 &rpg::MapInfo::scrollbar_y,
60 LMT_Reader::ChunkMapInfo::scrollbar_y,
61 "scrollbar_y",
62 0,
63 0
64);
66 &rpg::MapInfo::expanded_node,
67 LMT_Reader::ChunkMapInfo::expanded_node,
68 "expanded_node",
69 0,
70 0
71);
73 &rpg::MapInfo::music_type,
74 LMT_Reader::ChunkMapInfo::music_type,
75 "music_type",
76 1,
77 0
78);
80 &rpg::MapInfo::music,
81 LMT_Reader::ChunkMapInfo::music,
82 "music",
83 1,
84 0
85);
87 &rpg::MapInfo::background_type,
88 LMT_Reader::ChunkMapInfo::background_type,
89 "background_type",
90 1,
91 0
92);
94 &rpg::MapInfo::background_name,
95 LMT_Reader::ChunkMapInfo::background_name,
96 "background_name",
97 0,
98 0
99);
101 &rpg::MapInfo::teleport,
102 LMT_Reader::ChunkMapInfo::teleport,
103 "teleport",
104 1,
105 0
106);
108 &rpg::MapInfo::escape,
109 LMT_Reader::ChunkMapInfo::escape,
110 "escape",
111 1,
112 0
113);
115 &rpg::MapInfo::save,
116 LMT_Reader::ChunkMapInfo::save,
117 "save",
118 1,
119 0
120);
122 &rpg::MapInfo::encounters,
123 LMT_Reader::ChunkMapInfo::encounters,
124 "encounters",
125 1,
126 0
127);
129 &rpg::MapInfo::encounter_steps,
130 LMT_Reader::ChunkMapInfo::encounter_steps,
131 "encounter_steps",
132 0,
133 0
134);
136 &rpg::MapInfo::area_rect,
137 LMT_Reader::ChunkMapInfo::area_rect,
138 "area_rect",
139 1,
140 0
141);
142
143
144template <>
165
166template class Struct<rpg::MapInfo>;
167
168} //namespace lcf