liblcf
Loading...
Searching...
No Matches
lsd_saveeasyrpgtext.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/lsd/reader.h"
14#include "lcf/lsd/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read SaveEasyRpgText.
20
21template <>
22char const* const Struct<rpg::SaveEasyRpgText>::name = "SaveEasyRpgText";
24 &rpg::SaveEasyRpgText::text,
25 LSD_Reader::ChunkSaveEasyRpgText::text,
26 "text",
27 0,
28 0
29);
30static TypedField<rpg::SaveEasyRpgText, int32_t> static_position_x(
31 &rpg::SaveEasyRpgText::position_x,
32 LSD_Reader::ChunkSaveEasyRpgText::position_x,
33 "position_x",
34 0,
35 0
36);
37static TypedField<rpg::SaveEasyRpgText, int32_t> static_position_y(
38 &rpg::SaveEasyRpgText::position_y,
39 LSD_Reader::ChunkSaveEasyRpgText::position_y,
40 "position_y",
41 0,
42 0
43);
44static TypedField<rpg::SaveEasyRpgText, DBString> static_font_name(
45 &rpg::SaveEasyRpgText::font_name,
46 LSD_Reader::ChunkSaveEasyRpgText::font_name,
47 "font_name",
48 0,
49 0
50);
51static TypedField<rpg::SaveEasyRpgText, int32_t> static_font_size(
52 &rpg::SaveEasyRpgText::font_size,
53 LSD_Reader::ChunkSaveEasyRpgText::font_size,
54 "font_size",
55 0,
56 0
57);
58static TypedField<rpg::SaveEasyRpgText, int32_t> static_letter_spacing(
59 &rpg::SaveEasyRpgText::letter_spacing,
60 LSD_Reader::ChunkSaveEasyRpgText::letter_spacing,
61 "letter_spacing",
62 0,
63 0
64);
65static TypedField<rpg::SaveEasyRpgText, int32_t> static_line_spacing(
66 &rpg::SaveEasyRpgText::line_spacing,
67 LSD_Reader::ChunkSaveEasyRpgText::line_spacing,
68 "line_spacing",
69 0,
70 0
71);
73 &rpg::SaveEasyRpgText::flags,
74 LSD_Reader::ChunkSaveEasyRpgText::flags,
75 "flags",
76 0,
77 0
78);
79
80
81template <>
83 &static_text,
84 &static_position_x,
85 &static_position_y,
86 &static_font_name,
87 &static_font_size,
88 &static_letter_spacing,
89 &static_line_spacing,
90 &static_flags,
91 NULL
92};
93
94template class Struct<rpg::SaveEasyRpgText>;
95
96} //namespace lcf
static const Field< S > * fields[]
static const char *const name