mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 20:57:46 -04:00
Add Aiming Reticle for Bow and Slingshot (#2290)
* Change sight drawing flag to on in arrow logic * Refactor setBowSight for PC targeting and reticle logic * Add Aiming Reticle option to settings Add option for Aiming Reticle in settings. * Add aiming reticle setting to game preferences * Add aiming reticle to user settings registration * Add aimingReticle configuration variable * Fix syntax error in settings.cpp * Add aiming reticle check to bow charge condition * Refactor bow charge sight position logic Removed redundant sight position handling when aiming reticle is not displayed. * Refactor setBowSight for Dusk targeting * Clarify aiming reticle option description * Refactor bow sight logic in setBowSight function Removed dusk condition from bow sight check and adjusted sight drawing logic. * Refactor sight drawing logic in d_a_alink_bow.inc Remove redundant call to offDrawFlg() when aiming reticle is enabled.
This commit is contained in:
@@ -1225,6 +1225,8 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
|
||||
"Allows Wolf Link to howl and change the time of day.");
|
||||
addOption("Quick Transform (R+Y)", getSettings().game.enableQuickTransform,
|
||||
"Transform instantly by pressing R and Y simultaneously.");
|
||||
addOption("Aiming Reticle", getSettings().game.aimingReticle,
|
||||
"Shows the aiming reticle for bow and slingshot.");
|
||||
|
||||
leftPane.add_section("Speedrunning");
|
||||
config_bool_select(leftPane, rightPane, getSettings().game.speedrunMode,
|
||||
|
||||
Reference in New Issue
Block a user