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(
22
&
RPG::Sound::name
,
23
LDB_Reader::ChunkSound::name
,
24
"name"
,
25
1,
26
0
27
);
28
static
TypedField<RPG::Sound, int32_t>
static_volume(
29
&
RPG::Sound::volume
,
30
LDB_Reader::ChunkSound::volume
,
31
"volume"
,
32
0,
33
0
34
);
35
static
TypedField<RPG::Sound, int32_t>
static_tempo(
36
&
RPG::Sound::tempo
,
37
LDB_Reader::ChunkSound::tempo
,
38
"tempo"
,
39
0,
40
0
41
);
42
static
TypedField<RPG::Sound, int32_t>
static_balance(
43
&
RPG::Sound::balance
,
44
LDB_Reader::ChunkSound::balance
,
45
"balance"
,
46
0,
47
0
48
);
49
50
51
template
<>
52
Field<RPG::Sound>
const
*
Struct<RPG::Sound>::fields
[] = {
53
&static_name,
54
&static_volume,
55
&static_tempo,
56
&static_balance,
57
NULL
58
};
59
60
template
class
Struct<RPG::Sound>
;
RPG::Sound::tempo
int32_t tempo
Definition:
rpg_sound.h:27
RPG::Sound::name
std::string name
Definition:
rpg_sound.h:25
RPG::Sound::balance
int32_t balance
Definition:
rpg_sound.h:28
RPG::Sound::volume
int32_t volume
Definition:
rpg_sound.h:26
Struct
Definition:
reader_struct.h:552
ldb_chunks.h
ldb_reader.h
reader_struct_impl.h
Field
Definition:
reader_struct.h:315
LDB_Reader::ChunkSound::volume
@ volume
Definition:
ldb_chunks.h:102
LDB_Reader::ChunkSound::name
@ name
Definition:
ldb_chunks.h:100
LDB_Reader::ChunkSound::tempo
@ tempo
Definition:
ldb_chunks.h:104
LDB_Reader::ChunkSound::balance
@ balance
Definition:
ldb_chunks.h:106
TypedField
Definition:
reader_struct.h:348
src
generated
ldb_sound.cpp
Generated on Tue Jan 26 2021 00:00:00 for liblcf by
1.9.1