mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-28 16:00:40 -04:00
67bd14bfd8
Audio FX reverb proof of concept
87 lines
1.6 KiB
C++
87 lines
1.6 KiB
C++
#ifndef DUSK_CONFIG_H
|
|
#define DUSK_CONFIG_H
|
|
|
|
namespace dusk {
|
|
|
|
// Persistent user settings
|
|
|
|
struct UserSettings {
|
|
// Program settings
|
|
|
|
struct {
|
|
// Video
|
|
bool enableFullscreen;
|
|
} video;
|
|
|
|
struct {
|
|
// Audio
|
|
float masterVolume;
|
|
float mainMusicVolume;
|
|
float subMusicVolume;
|
|
float soundEffectsVolume;
|
|
float fanfareVolume;
|
|
bool enableReverb;
|
|
} audio;
|
|
|
|
// Game settings
|
|
|
|
struct {
|
|
// QoL
|
|
bool enableQuickTransform;
|
|
bool hideTvSettingsScreen;
|
|
bool biggerWallets;
|
|
bool noReturnRupees;
|
|
bool disableRupeeCutscenes;
|
|
bool noSwordRecoil;
|
|
int damageMultiplier;
|
|
bool instantDeath;
|
|
bool fastClimbing;
|
|
bool noMissClimbing;
|
|
bool fastTears;
|
|
|
|
// Preferences
|
|
bool enableMirrorMode;
|
|
bool invertCameraXAxis;
|
|
|
|
// Graphics
|
|
bool enableBloom;
|
|
bool useWaterProjectionOffset;
|
|
|
|
// Audio
|
|
bool noLowHpSound;
|
|
bool midnasLamentNonStop;
|
|
|
|
// Cheats
|
|
bool enableFastIronBoots;
|
|
bool canTransformAnywhere;
|
|
|
|
// Technical
|
|
bool restoreWiiGlitches;
|
|
} game;
|
|
};
|
|
|
|
UserSettings& getSettings();
|
|
|
|
// Transient settings
|
|
|
|
struct CollisionViewSettings {
|
|
bool enableTerrainView;
|
|
bool enableWireframe;
|
|
bool enableAtView;
|
|
bool enableTgView;
|
|
bool enableCoView;
|
|
float terrainViewOpacity;
|
|
float colliderViewOpacity;
|
|
float drawRange;
|
|
};
|
|
|
|
struct TransientSettings {
|
|
CollisionViewSettings collisionView;
|
|
};
|
|
|
|
TransientSettings& getTransientSettings();
|
|
|
|
}
|
|
|
|
#endif // DUSK_CONFIG_H
|