no sword recoil enhancement

This commit is contained in:
TakaRikka
2026-04-04 02:59:53 -07:00
parent 7d41421702
commit 0d1e680ddd
4 changed files with 15 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@ struct UserSettings {
bool biggerWallets;
bool noReturnRupees;
bool disableRupeeCutscenes;
bool noSwordRecoil;
// Preferences
bool enableMirrorMode;
+8
View File
@@ -7,6 +7,8 @@
#include "d/actor/d_a_b_gnd.h"
#include "SSystem/SComponent/c_math.h"
#include "dusk/settings.h"
enum daAlink_CutNmParamType {
CUT_NM_PARAM_VERTICAL,
CUT_NM_PARAM_LEFT,
@@ -369,6 +371,12 @@ BOOL daAlink_c::changeCutReverseProc(daAlink_c::daAlink_ANM i_anmID) {
return procCutReverseInit(i_anmID);
}
#if TARGET_PC
if (dusk::getSettings().game.noSwordRecoil) {
return FALSE;
}
#endif
if (checkNoResetFlg0(FLG0_CUT_AT_FLG) || mEquipItem == dItemNo_COPY_ROD_e) {
cXyz sp28;
Vec sp1C;
+5
View File
@@ -27,6 +27,11 @@ namespace dusk {
ImGui::SetTooltip("Rupees won't play cutscenes after you've collected them the first time");
}
ImGui::Checkbox("No Sword Recoil", &getSettings().game.noSwordRecoil);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Link won't recoil when his sword hits walls");
}
ImGui::Checkbox("Hide TV Settings Screen", &getSettings().game.hideTvSettingsScreen);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Hides the TV calibration screen shown when loading a save");
+1
View File
@@ -27,6 +27,7 @@ UserSettings g_userSettings = {
.biggerWallets = false,
.noReturnRupees = false,
.disableRupeeCutscenes = false,
.noSwordRecoil = false,
// Preferences
.enableMirrorMode = false,