1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2021 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/ldb/reader.h"
14 #include "lcf/ldb/chunks.h"
15 #include "reader_struct_impl.h"
16 
17 namespace lcf {
18 
19 // Read AnimationCellData.
20 
21 template <>
22 char const* const Struct<rpg::AnimationCellData>::name = "AnimationCellData";
23 static TypedField<rpg::AnimationCellData, int32_t> static_valid(
24 	&rpg::AnimationCellData::valid,
25 	LDB_Reader::ChunkAnimationCellData::valid,
26 	"valid",
27 	0,
28 	0
29 );
30 static TypedField<rpg::AnimationCellData, int32_t> static_cell_id(
31 	&rpg::AnimationCellData::cell_id,
32 	LDB_Reader::ChunkAnimationCellData::cell_id,
33 	"cell_id",
34 	0,
35 	0
36 );
37 static TypedField<rpg::AnimationCellData, int32_t> static_x(
38 	&rpg::AnimationCellData::x,
39 	LDB_Reader::ChunkAnimationCellData::x,
40 	"x",
41 	0,
42 	0
43 );
44 static TypedField<rpg::AnimationCellData, int32_t> static_y(
45 	&rpg::AnimationCellData::y,
46 	LDB_Reader::ChunkAnimationCellData::y,
47 	"y",
48 	0,
49 	0
50 );
51 static TypedField<rpg::AnimationCellData, int32_t> static_zoom(
52 	&rpg::AnimationCellData::zoom,
53 	LDB_Reader::ChunkAnimationCellData::zoom,
54 	"zoom",
55 	0,
56 	0
57 );
58 static TypedField<rpg::AnimationCellData, int32_t> static_tone_red(
59 	&rpg::AnimationCellData::tone_red,
60 	LDB_Reader::ChunkAnimationCellData::tone_red,
61 	"tone_red",
62 	0,
63 	0
64 );
65 static TypedField<rpg::AnimationCellData, int32_t> static_tone_green(
66 	&rpg::AnimationCellData::tone_green,
67 	LDB_Reader::ChunkAnimationCellData::tone_green,
68 	"tone_green",
69 	0,
70 	0
71 );
72 static TypedField<rpg::AnimationCellData, int32_t> static_tone_blue(
73 	&rpg::AnimationCellData::tone_blue,
74 	LDB_Reader::ChunkAnimationCellData::tone_blue,
75 	"tone_blue",
76 	0,
77 	0
78 );
79 static TypedField<rpg::AnimationCellData, int32_t> static_tone_gray(
80 	&rpg::AnimationCellData::tone_gray,
81 	LDB_Reader::ChunkAnimationCellData::tone_gray,
82 	"tone_gray",
83 	0,
84 	0
85 );
86 static TypedField<rpg::AnimationCellData, int32_t> static_transparency(
87 	&rpg::AnimationCellData::transparency,
88 	LDB_Reader::ChunkAnimationCellData::transparency,
89 	"transparency",
90 	0,
91 	0
92 );
93 
94 
95 template <>
96 Field<rpg::AnimationCellData> const* Struct<rpg::AnimationCellData>::fields[] = {
97 	&static_valid,
98 	&static_cell_id,
99 	&static_x,
100 	&static_y,
101 	&static_zoom,
102 	&static_tone_red,
103 	&static_tone_green,
104 	&static_tone_blue,
105 	&static_tone_gray,
106 	&static_transparency,
107 	NULL
108 };
109 
110 template class Struct<rpg::AnimationCellData>;
111 
112 } //namespace lcf
113