liblcf
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) 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 "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read Animation.
18 
19 template <>
20 char const* const Struct<RPG::Animation>::name = "Animation";
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::Animation, std::string> static_animation_name(
31  "animation_name",
32  0,
33  0
34 );
35 static TypedField<RPG::Animation, bool> static_large(
38  "large",
39  0,
40  0
41 );
45  "timings",
46  1,
47  0
48 );
49 static TypedField<RPG::Animation, int32_t> static_scope(
52  "scope",
53  1,
54  0
55 );
56 static TypedField<RPG::Animation, int32_t> static_position(
59  "position",
60  1,
61  0
62 );
66  "frames",
67  1,
68  0
69 );
70 
71 
72 template <>
74  &static_name,
75  &static_animation_name,
76  &static_large,
77  &static_timings,
78  &static_scope,
79  &static_position,
80  &static_frames,
81  NULL
82 };
83 
84 template class Struct<RPG::Animation>;
ldb_chunks.h
RPG::Animation::animation_name
std::string animation_name
Definition: rpg_animation.h:49
LDB_Reader::ChunkAnimation::scope
@ scope
Definition: ldb_chunks.h:170
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LDB_Reader::ChunkAnimation::position
@ position
Definition: ldb_chunks.h:172
Struct
Definition: reader_struct.h:43
RPG::Animation::position
int32_t position
Definition: rpg_animation.h:53
LDB_Reader::ChunkAnimation::large
@ large
Definition: ldb_chunks.h:166
RPG::Animation::frames
std::vector< AnimationFrame > frames
Definition: rpg_animation.h:54
RPG::Animation::scope
int32_t scope
Definition: rpg_animation.h:52
RPG::Animation::large
bool large
Definition: rpg_animation.h:50
LDB_Reader::ChunkAnimation::animation_name
@ animation_name
Definition: ldb_chunks.h:164
LDB_Reader::ChunkAnimation::timings
@ timings
Definition: ldb_chunks.h:168
RPG::Animation::timings
std::vector< AnimationTiming > timings
Definition: rpg_animation.h:51
reader_struct_impl.h
RPG::Animation::name
std::string name
Definition: rpg_animation.h:48
LDB_Reader::ChunkAnimation::frames
@ frames
Definition: ldb_chunks.h:174
LDB_Reader::ChunkAnimation::name
@ name
Definition: ldb_chunks.h:162
ldb_reader.h