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>;
std::vector< AnimationTiming > timings
Definition: rpg_animation.h:51
std::string name
Definition: rpg_animation.h:48
std::string animation_name
Definition: rpg_animation.h:49
std::vector< AnimationFrame > frames
Definition: rpg_animation.h:54
int32_t position
Definition: rpg_animation.h:53