liblcf
ldb_sound.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 Sound.
18 
19 template <>
20 char const* const Struct<RPG::Sound>::name = "Sound";
21 static TypedField<RPG::Sound, std::string> static_name(
24  "name",
25  1,
26  0
27 );
28 static TypedField<RPG::Sound, int32_t> static_volume(
31  "volume",
32  0,
33  0
34 );
35 static TypedField<RPG::Sound, int32_t> static_tempo(
38  "tempo",
39  0,
40  0
41 );
42 static TypedField<RPG::Sound, int32_t> static_balance(
45  "balance",
46  0,
47  0
48 );
49 
50 
51 template <>
53  &static_name,
54  &static_volume,
55  &static_tempo,
56  &static_balance,
57  NULL
58 };
59 
60 template class Struct<RPG::Sound>;
int32_t tempo
Definition: rpg_sound.h:27
int32_t volume
Definition: rpg_sound.h:26
int32_t balance
Definition: rpg_sound.h:28
std::string name
Definition: rpg_sound.h:25