liblcf
rpg_music.h
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
#ifndef LCF_RPG_MUSIC_H
13
#define LCF_RPG_MUSIC_H
14
15
// Headers
16
#include <stdint.h>
17
#include <string>
18
22
namespace
RPG
{
23
class
Music
{
24
public
:
25
std::string
name
=
"(OFF)"
;
26
int32_t
fadein
= 0;
27
int32_t
volume
= 100;
28
int32_t
tempo
= 100;
29
int32_t
balance
= 50;
30
};
31
32
inline
bool
operator==
(
const
Music
& l,
const
Music
& r) {
33
return
l.
name
== r.
name
34
&& l.
fadein
== r.
fadein
35
&& l.
volume
== r.
volume
36
&& l.
tempo
== r.
tempo
37
&& l.
balance
== r.
balance
;
38
}
39
40
inline
bool
operator!=
(
const
Music
& l,
const
Music
& r) {
41
return
!(l == r);
42
}
43
}
44
45
#endif
RPG::Music
Definition:
rpg_music.h:23
RPG::Music::fadein
int32_t fadein
Definition:
rpg_music.h:26
RPG::Music::tempo
int32_t tempo
Definition:
rpg_music.h:28
RPG::Music::name
std::string name
Definition:
rpg_music.h:25
RPG::Music::volume
int32_t volume
Definition:
rpg_music.h:27
RPG::Music::balance
int32_t balance
Definition:
rpg_music.h:29
RPG
Definition:
rpg_actor.h:26
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:64
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:98
src
generated
rpg_music.h
Generated on Tue Jan 26 2021 00:00:00 for liblcf by
1.9.1