mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 21:00:55 -04:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c509ff7647 |
@@ -266,6 +266,7 @@ struct UserSettings {
|
|||||||
ConfigVar<bool> fastSpinner;
|
ConfigVar<bool> fastSpinner;
|
||||||
ConfigVar<MagicArmorMode> armorRupeeDrain;
|
ConfigVar<MagicArmorMode> armorRupeeDrain;
|
||||||
ConfigVar<bool> invincibleEnemies;
|
ConfigVar<bool> invincibleEnemies;
|
||||||
|
ConfigVar<bool> easyQuickSpin;
|
||||||
|
|
||||||
// Technical
|
// Technical
|
||||||
ConfigVar<bool> restoreWiiGlitches;
|
ConfigVar<bool> restoreWiiGlitches;
|
||||||
|
|||||||
@@ -165,6 +165,12 @@ BOOL daAlink_c::checkCutTypeNoBlur() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool daAlink_c::checkCutTurnInput() const {
|
bool daAlink_c::checkCutTurnInput() const {
|
||||||
|
#if TARGET_PC
|
||||||
|
if (mDoCPd_c::getHoldR(PAD_1) && dusk::getSettings().game.easyQuickSpin) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0xF800 < abs(field_0x3180);
|
return 0xF800 < abs(field_0x3180);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ UserSettings g_userSettings = {
|
|||||||
.fastSpinner {"game.fastSpinner", false},
|
.fastSpinner {"game.fastSpinner", false},
|
||||||
.armorRupeeDrain {"game.armorRupeeDrain", MagicArmorMode::NORMAL},
|
.armorRupeeDrain {"game.armorRupeeDrain", MagicArmorMode::NORMAL},
|
||||||
.invincibleEnemies {"game.invincibleEnemies", false},
|
.invincibleEnemies {"game.invincibleEnemies", false},
|
||||||
|
.easyQuickSpin {"game.easyQuickSpin", false},
|
||||||
|
|
||||||
// Technical
|
// Technical
|
||||||
.restoreWiiGlitches {"game.restoreWiiGlitches", false},
|
.restoreWiiGlitches {"game.restoreWiiGlitches", false},
|
||||||
@@ -315,6 +316,8 @@ void registerSettings() {
|
|||||||
Register(g_userSettings.game.superClawshot);
|
Register(g_userSettings.game.superClawshot);
|
||||||
Register(g_userSettings.game.alwaysGreatspin);
|
Register(g_userSettings.game.alwaysGreatspin);
|
||||||
Register(g_userSettings.game.invincibleEnemies);
|
Register(g_userSettings.game.invincibleEnemies);
|
||||||
|
Register(g_userSettings.game.easyQuickSpin);
|
||||||
|
|
||||||
Register(g_userSettings.game.enableFrameInterpolation);
|
Register(g_userSettings.game.enableFrameInterpolation);
|
||||||
Register(g_userSettings.game.enableGyroAim);
|
Register(g_userSettings.game.enableGyroAim);
|
||||||
Register(g_userSettings.game.enableGyroRollgoal);
|
Register(g_userSettings.game.enableGyroRollgoal);
|
||||||
|
|||||||
@@ -1375,8 +1375,12 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
|
|||||||
"Item drops such as rupees and hearts will never disappear after they drop.");
|
"Item drops such as rupees and hearts will never disappear after they drop.");
|
||||||
|
|
||||||
leftPane.add_section("Abilities");
|
leftPane.add_section("Abilities");
|
||||||
|
|
||||||
addCheat(
|
addCheat(
|
||||||
"Moon Jump (R+A)", getSettings().game.moonJump, "Hold R and A to rise into the air.");
|
"Moon Jump (R+A)", getSettings().game.moonJump, "Hold R and A to rise into the air.");
|
||||||
|
addCheat(
|
||||||
|
"Easy Quick Spin (R+B)", getSettings().game.easyQuickSpin, "Hold R to always do a Quick Spin when attacking with B.");
|
||||||
|
|
||||||
addCheat("Super Clawshot", getSettings().game.superClawshot,
|
addCheat("Super Clawshot", getSettings().game.superClawshot,
|
||||||
"Extends Clawshot behavior beyond the normal game rules.");
|
"Extends Clawshot behavior beyond the normal game rules.");
|
||||||
addCheat("Always Greatspin", getSettings().game.alwaysGreatspin,
|
addCheat("Always Greatspin", getSettings().game.alwaysGreatspin,
|
||||||
|
|||||||
Reference in New Issue
Block a user