Files
dusklight/include/dusk/settings.hpp
T
PJB3005 824263fa6e Config system v1
Roughly inspired by what I've learned from my work on Space Station 14, without some of the unnecessary cruft and complexity.

Implementation is relatively simple once I figured out all the template order shenanigans.
2026-04-04 22:47:48 +02:00

25 lines
595 B
C++

#ifndef DUSK_SETTINGS_HPP
#define DUSK_SETTINGS_HPP
#include "config_var.hpp"
namespace dusk::settings {
using namespace dusk::config;
namespace enhancements {
extern ConfigVar<bool> FastIronBoots;
extern ConfigVar<bool> InvertCameraXAxis;
extern ConfigVar<bool> QuickTransform;
extern ConfigVar<bool> RestoreWiiGlitches;
extern ConfigVar<bool> EnableBloom;
extern ConfigVar<bool> UseWaterProjectionOffset;
extern ConfigVar<bool> MirrorMode;
void Register();
}
void Register();
}
#endif // DUSK_SETTINGS_HPP