liblcf
rpg_sound.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_SOUND_H
13
#define LCF_RPG_SOUND_H
14
15
// Headers
16
#include <stdint.h>
17
#include <string>
18
22
namespace
RPG
{
23
class
Sound
{
24
public
:
25
std::string
name
=
"(OFF)"
;
26
int32_t
volume
= 100;
27
int32_t
tempo
= 100;
28
int32_t
balance
= 50;
29
};
30
31
inline
bool
operator==
(
const
Sound
& l,
const
Sound
& r) {
32
return
l.
name
== r.
name
33
&& l.
volume
== r.
volume
34
&& l.
tempo
== r.
tempo
35
&& l.
balance
== r.
balance
;
36
}
37
38
inline
bool
operator!=
(
const
Sound
& l,
const
Sound
& r) {
39
return
!(l == r);
40
}
41
}
42
43
#endif
RPG::Sound
Definition:
rpg_sound.h:23
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
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_sound.h
Generated on Thu Jul 29 2021 00:00:00 for liblcf by
1.9.1