liblcf
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) 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
17namespace lcf {
18
19// Read Animation.
20
21template <>
22char const* const Struct<rpg::Animation>::name = "Animation";
24 &rpg::Animation::name,
25 LDB_Reader::ChunkAnimation::name,
26 "name",
27 0,
28 0
29);
30static 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);
37static TypedField<rpg::Animation, bool> static_large(
38 &rpg::Animation::large,
39 LDB_Reader::ChunkAnimation::large,
40 "large",
41 0,
42 0
43);
45 &rpg::Animation::timings,
46 LDB_Reader::ChunkAnimation::timings,
47 "timings",
48 1,
49 0
50);
51static TypedField<rpg::Animation, int32_t> static_scope(
52 &rpg::Animation::scope,
53 LDB_Reader::ChunkAnimation::scope,
54 "scope",
55 1,
56 0
57);
58static TypedField<rpg::Animation, int32_t> static_position(
59 &rpg::Animation::position,
60 LDB_Reader::ChunkAnimation::position,
61 "position",
62 1,
63 0
64);
66 &rpg::Animation::frames,
67 LDB_Reader::ChunkAnimation::frames,
68 "frames",
69 1,
70 0
71);
72
73
74template <>
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
86template class Struct<rpg::Animation>;
87
88} //namespace lcf
Definition: dbarray.cpp:13