-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(layouts): override layout anchor points with user settings (#108)
Players can now choose to override a layout's chosen anchor point with their own preferred HUD location. This won't work well for every layout, but players can decide that for themselves. Added the new option to the settings struct and MCM config. It's an enum that allows players to choose from the current list of anchor names. Added new translation strings to support the config. `apply_settings()` now refreshes the layout to pick up any location changes. Added a test to ensure that the setting is respected by the anchor_point() function if set. This bottleneck ensures that flattened layouts get the overridden location automatically. To support the test, added a way to specific a refresh-from file for the settings lazy static. The new convenience functions to Layout that match on its variants are also there to support tests.
- Loading branch information
Showing
18 changed files
with
784 additions
and
621 deletions.
There are no files selected for viewing
Submodule CommonLibSSE-NG
updated
5 files
+0 −5 | include/RE/Offsets.h | |
+1 −5 | include/RE/Skyrim.h | |
+0 −2 | src/RE/B/BSInputDeviceManager.cpp | |
+2 −1 | src/RE/B/BSScaleformTranslator.cpp | |
+1 −1 | src/RE/S/Script.cpp |
Binary file not shown.
Binary file modified
BIN
+1.35 KB
(110%)
installer/core/Interface/Translations/SoulsyHUD_english.txt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.32 KB
(110%)
installer/core/Interface/Translations/SoulsyHUD_italian.txt
Binary file not shown.
Binary file modified
BIN
+1.32 KB
(110%)
installer/core/Interface/Translations/SoulsyHUD_japanese.txt
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.32 KB
(110%)
installer/core/Interface/Translations/SoulsyHUD_russian.txt
Binary file not shown.
Binary file modified
BIN
+1.32 KB
(110%)
installer/core/Interface/Translations/SoulsyHUD_spanish.txt
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[Options] | ||
bCycleAmmo = 1 | ||
bAutoFade = 1 | ||
bGroupPotions = 1 | ||
bDebugMode = 1 | ||
sSKSEIdentifier = WOMP | ||
bLinkToFavorites = 1 | ||
bEquipSetsUnequip = 1 | ||
sLogLevel = debug | ||
bCyclingSlowsTime = 1 | ||
uFadeTime = 1500 | ||
uEquipDelay = 2500 | ||
uLongPressMillis = 2750 | ||
uAnchorLocation = 5 | ||
|
||
[Controls] | ||
uRefreshKey = 8 | ||
uShowHideKey = 2 | ||
uHowToUnequip = 0 | ||
bLongPressMatches = 1 | ||
iUnequipModifierKey = 184 | ||
uPowerCycleKey = 3 | ||
uLeftCycleKey = 5 | ||
uRightCycleKey = 7 | ||
uUtilityCycleKey = 6 | ||
uHowToActivate = 0 | ||
uHowToggleInMenus = 0 | ||
iMenuModifierKey = 42 | ||
iUtilityActivateModifier = 274 | ||
|
||
|
||
[Equipsets] | ||
sLastEditedSetName = Mossy | ||
sLastUsedSetName = Spiky |