liblcf
Loading...
Searching...
No Matches
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) 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 Music.
20
21template <>
22char const* const Struct<rpg::Music>::name = "Music";
24 &rpg::Music::name,
25 LDB_Reader::ChunkMusic::name,
26 "name",
27 1,
28 0
29);
31 &rpg::Music::fadein,
32 LDB_Reader::ChunkMusic::fadein,
33 "fadein",
34 0,
35 0
36);
38 &rpg::Music::volume,
39 LDB_Reader::ChunkMusic::volume,
40 "volume",
41 0,
42 0
43);
45 &rpg::Music::tempo,
46 LDB_Reader::ChunkMusic::tempo,
47 "tempo",
48 0,
49 0
50);
52 &rpg::Music::balance,
53 LDB_Reader::ChunkMusic::balance,
54 "balance",
55 0,
56 0
57);
58
59
60template <>
69
70template class Struct<rpg::Music>;
71
72} //namespace lcf