liblcf
ldb_animationtiming.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 
17 namespace lcf {
18 
19 // Read AnimationTiming.
20 
21 template <>
22 char const* const Struct<rpg::AnimationTiming>::name = "AnimationTiming";
24  &rpg::AnimationTiming::frame,
25  LDB_Reader::ChunkAnimationTiming::frame,
26  "frame",
27  0,
28  0
29 );
31  &rpg::AnimationTiming::se,
32  LDB_Reader::ChunkAnimationTiming::se,
33  "se",
34  1,
35  0
36 );
37 static TypedField<rpg::AnimationTiming, int32_t> static_flash_scope(
38  &rpg::AnimationTiming::flash_scope,
39  LDB_Reader::ChunkAnimationTiming::flash_scope,
40  "flash_scope",
41  1,
42  0
43 );
44 static TypedField<rpg::AnimationTiming, int32_t> static_flash_red(
45  &rpg::AnimationTiming::flash_red,
46  LDB_Reader::ChunkAnimationTiming::flash_red,
47  "flash_red",
48  0,
49  0
50 );
51 static TypedField<rpg::AnimationTiming, int32_t> static_flash_green(
52  &rpg::AnimationTiming::flash_green,
53  LDB_Reader::ChunkAnimationTiming::flash_green,
54  "flash_green",
55  0,
56  0
57 );
58 static TypedField<rpg::AnimationTiming, int32_t> static_flash_blue(
59  &rpg::AnimationTiming::flash_blue,
60  LDB_Reader::ChunkAnimationTiming::flash_blue,
61  "flash_blue",
62  0,
63  0
64 );
65 static TypedField<rpg::AnimationTiming, int32_t> static_flash_power(
66  &rpg::AnimationTiming::flash_power,
67  LDB_Reader::ChunkAnimationTiming::flash_power,
68  "flash_power",
69  0,
70  0
71 );
72 static TypedField<rpg::AnimationTiming, int32_t> static_screen_shake(
73  &rpg::AnimationTiming::screen_shake,
74  LDB_Reader::ChunkAnimationTiming::screen_shake,
75  "screen_shake",
76  0,
77  0
78 );
79 
80 
81 template <>
83  &static_frame,
84  &static_se,
85  &static_flash_scope,
86  &static_flash_red,
87  &static_flash_green,
88  &static_flash_blue,
89  &static_flash_power,
90  &static_screen_shake,
91  NULL
92 };
93 
94 template class Struct<rpg::AnimationTiming>;
95 
96 } //namespace lcf
Definition: dbarray.cpp:13