nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::SoundSettings Struct Reference

How loud the game is, as the player sets it in the settings window. More...

#include <sound.h>

Public Member Functions

bool operator== (const SoundSettings &) const =default

Public Attributes

float master = 1.0f
 Where the sliders are, from nothing to full.
float music = 0.7f
float effects = 0.8f
 The sound effects, apart from the music.
bool muted = false

Detailed Description

How loud the game is, as the player sets it in the settings window.

Definition at line 7 of file sound.h.

Member Function Documentation

◆ operator==()

bool nanommo::SoundSettings::operator== ( const SoundSettings & ) const
default

Member Data Documentation

◆ effects

float nanommo::SoundSettings::effects = 0.8f

The sound effects, apart from the music.

Definition at line 12 of file sound.h.

◆ master

float nanommo::SoundSettings::master = 1.0f

Where the sliders are, from nothing to full.

Definition at line 9 of file sound.h.

◆ music

float nanommo::SoundSettings::music = 0.7f

Definition at line 10 of file sound.h.

◆ muted

bool nanommo::SoundSettings::muted = false

Definition at line 13 of file sound.h.


The documentation for this struct was generated from the following file: