mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
audio settings
This commit is contained in:
parent
fb109e0ce2
commit
9150af19ea
3 changed files with 22 additions and 1 deletions
|
|
@ -6,6 +6,17 @@
|
|||
#include "constants.h"
|
||||
#include "typedefs.h"
|
||||
|
||||
struct AudioSettings {
|
||||
/// @brief try to initialize AL backend
|
||||
bool enabled = true;
|
||||
|
||||
float volumeMaster = 1.0f;
|
||||
float volumeRegular = 1.0f;
|
||||
float volumeUI = 1.0f;
|
||||
float volumeAmbient = 1.0f;
|
||||
float volumeMusic = 1.0f;
|
||||
};
|
||||
|
||||
struct DisplaySettings {
|
||||
/// @brief Is window in full screen mode
|
||||
bool fullscreen = false;
|
||||
|
|
@ -67,6 +78,7 @@ struct UiSettings {
|
|||
};
|
||||
|
||||
struct EngineSettings {
|
||||
AudioSettings audio;
|
||||
DisplaySettings display;
|
||||
ChunksSettings chunks;
|
||||
CameraSettings camera;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue