Files
dusklight/include/dusk/settings.h
T
TakaRikka 67bd14bfd8 Merge pull request #215 from TwilitRealm/reverb-wip
Audio FX reverb proof of concept
2026-04-04 21:38:01 -07:00

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