liblcf
ldb_music.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 Music.
18 
19 template <>
20 char const* const Struct<RPG::Music>::name = "Music";
21 static TypedField<RPG::Music, std::string> static_name(
24  "name",
25  1,
26  0
27 );
28 static TypedField<RPG::Music, int32_t> static_fadein(
31  "fadein",
32  0,
33  0
34 );
35 static TypedField<RPG::Music, int32_t> static_volume(
38  "volume",
39  0,
40  0
41 );
42 static TypedField<RPG::Music, int32_t> static_tempo(
45  "tempo",
46  0,
47  0
48 );
49 static TypedField<RPG::Music, int32_t> static_balance(
52  "balance",
53  0,
54  0
55 );
56 
57 
58 template <>
60  &static_name,
61  &static_fadein,
62  &static_volume,
63  &static_tempo,
64  &static_balance,
65  NULL
66 };
67 
68 template class Struct<RPG::Music>;
RPG::Music::name
std::string name
Definition: rpg_music.h:25
ldb_chunks.h
RPG::Music::tempo
int32_t tempo
Definition: rpg_music.h:28
LDB_Reader::ChunkMusic::fadein
@ fadein
Definition: ldb_chunks.h:1146
RPG::Music::fadein
int32_t fadein
Definition: rpg_music.h:26
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
Struct
Definition: reader_struct.h:43
RPG::Music::volume
int32_t volume
Definition: rpg_music.h:27
LDB_Reader::ChunkMusic::name
@ name
Definition: ldb_chunks.h:1144
RPG::Music::balance
int32_t balance
Definition: rpg_music.h:29
LDB_Reader::ChunkMusic::volume
@ volume
Definition: ldb_chunks.h:1148
LDB_Reader::ChunkMusic::balance
@ balance
Definition: ldb_chunks.h:1152
reader_struct_impl.h
LDB_Reader::ChunkMusic::tempo
@ tempo
Definition: ldb_chunks.h:1150
ldb_reader.h