mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-28 17:49:21 -04:00
Add AlwaysGreatspinMode enum and update config
This commit is contained in:
+13
-1
@@ -60,6 +60,12 @@ enum class MenuScaling : u8 {
|
||||
Dusklight = 2,
|
||||
};
|
||||
|
||||
enum class AlwaysGreatspinMode : u8 {
|
||||
OFF = 0,
|
||||
ALWAYS = 1,
|
||||
AFTER_SKILL = 2,
|
||||
};
|
||||
|
||||
enum class MagicArmorMode : u8 {
|
||||
NORMAL = 0,
|
||||
ON_DAMAGE = 1,
|
||||
@@ -117,6 +123,12 @@ struct ConfigEnumRange<MenuScaling> {
|
||||
static constexpr auto max = MenuScaling::Dusklight;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ConfigEnumRange<AlwaysGreatspinMode> {
|
||||
static constexpr auto min = AlwaysGreatspinMode::OFF;
|
||||
static constexpr auto max = AlwaysGreatspinMode::AFTER_SKILL;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct ConfigEnumRange<MagicArmorMode> {
|
||||
static constexpr auto min = MagicArmorMode::NORMAL;
|
||||
@@ -262,7 +274,7 @@ struct UserSettings {
|
||||
ConfigVar<bool> enableIndefiniteItemDrops;
|
||||
ConfigVar<bool> moonJump;
|
||||
ConfigVar<bool> superClawshot;
|
||||
ConfigVar<bool> alwaysGreatspin;
|
||||
ConfigVar<AlwaysGreatspinMode> alwaysGreatspin;
|
||||
ConfigVar<bool> enableFastIronBoots;
|
||||
ConfigVar<bool> canTransformAnywhere;
|
||||
ConfigVar<bool> fastRoll;
|
||||
|
||||
Reference in New Issue
Block a user