liblcf
Toggle main menu visibility
Loading...
Searching...
No Matches
ldb_animation.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/ldb/reader.h"
14
#include "lcf/ldb/chunks.h"
15
#include "
reader_struct_impl.h
"
16
17
namespace
lcf
{
18
19
// Read Animation.
20
21
template
<>
22
char
const
*
const
Struct<rpg::Animation>::name
=
"Animation"
;
23
static
TypedField<rpg::Animation, DBString>
static_name(
24
&rpg::Animation::name,
25
LDB_Reader::ChunkAnimation::name,
26
"name"
,
27
0,
28
0
29
);
30
static
TypedField<rpg::Animation, DBString>
static_animation_name(
31
&rpg::Animation::animation_name,
32
LDB_Reader::ChunkAnimation::animation_name,
33
"animation_name"
,
34
0,
35
0
36
);
37
static
TypedField<rpg::Animation, bool>
static_large(
38
&rpg::Animation::large,
39
LDB_Reader::ChunkAnimation::large,
40
"large"
,
41
0,
42
0
43
);
44
static
TypedField<rpg::Animation, std::vector<rpg::AnimationTiming>
> static_timings(
45
&rpg::Animation::timings,
46
LDB_Reader::ChunkAnimation::timings,
47
"timings"
,
48
1,
49
0
50
);
51
static
TypedField<rpg::Animation, int32_t>
static_scope(
52
&rpg::Animation::scope,
53
LDB_Reader::ChunkAnimation::scope,
54
"scope"
,
55
1,
56
0
57
);
58
static
TypedField<rpg::Animation, int32_t>
static_position(
59
&rpg::Animation::position,
60
LDB_Reader::ChunkAnimation::position,
61
"position"
,
62
1,
63
0
64
);
65
static
TypedField<rpg::Animation, std::vector<rpg::AnimationFrame>
> static_frames(
66
&rpg::Animation::frames,
67
LDB_Reader::ChunkAnimation::frames,
68
"frames"
,
69
1,
70
0
71
);
72
73
74
template
<>
75
Field<rpg::Animation>
const
*
Struct<rpg::Animation>::fields
[] = {
76
&static_name,
77
&static_animation_name,
78
&static_large,
79
&static_timings,
80
&static_scope,
81
&static_position,
82
&static_frames,
83
NULL
84
};
85
86
template
class
Struct<rpg::Animation>
;
87
88
}
//namespace lcf
lcf::Struct
Definition
reader_struct.h:604
lcf::Struct::fields
static const Field< S > * fields[]
Definition
reader_struct.h:609
lcf::Struct::name
static const char *const name
Definition
reader_struct.h:612
lcf
Definition
dbarray.cpp:13
reader_struct_impl.h
lcf::Field
Definition
reader_struct.h:367
lcf::TypedField
Definition
reader_struct.h:400
src
generated
ldb_animation.cpp
Generated on
for liblcf by
1.17.0