-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split interaction menu settings between interaction and self interact…
…ion (#6609) * Split interaction menu settings between interaction and self interaction * consistent spacing not sure which way is wanted here, but I might as well be consistent in my own PR * remove useless code, fix use of backgroundMenu * clean up from Dystopian * use existing stringtable * remove redundent localize * Use LLSTRING, split UseListMenu * style fixes * style fixes * add movedToSQF to old settings * condense ifs * Don't use cursorKeepCentered as default
- Loading branch information
1 parent
79e3de6
commit 8b4e8a6
Showing
8 changed files
with
100 additions
and
45 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,9 +1,81 @@ | ||
[ | ||
QGVAR(selectorColor), | ||
"COLOR", | ||
localize LSTRING(SelectorColor), | ||
format ["ACE %1", localize LSTRING(Category_InteractionMenu)], | ||
LSTRING(SelectorColor), | ||
format ["ACE %1", LLSTRING(Category_InteractionMenu)], | ||
[1, 0, 0], | ||
false, | ||
{GVAR(selectorColorHex) = _this call BIS_fnc_colorRGBtoHTML} // Stored in Hex to avoid constant conversion | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(alwaysUseCursorInteraction), | ||
"CHECKBOX", | ||
LSTRING(AlwaysUseCursorInteraction), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)], | ||
false, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(cursorKeepCentered), | ||
"CHECKBOX", | ||
[LSTRING(cursorKeepCentered), LSTRING(cursorKeepCenteredDescription)], | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)], | ||
false, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(useListMenu), | ||
"CHECKBOX", | ||
LSTRING(UseListMenu), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)], | ||
false, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(menuBackground), | ||
"LIST", | ||
LSTRING(background), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)], | ||
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0], | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(alwaysUseCursorSelfInteraction), | ||
"CHECKBOX", | ||
LSTRING(AlwaysUseCursorInteraction), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)], | ||
true, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(cursorKeepCenteredSelfInteraction), | ||
"CHECKBOX", | ||
[LSTRING(cursorKeepCentered), LSTRING(cursorKeepCenteredDescription)], | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)], | ||
false, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(useListMenuSelf), | ||
"CHECKBOX", | ||
LSTRING(UseListMenu), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)], | ||
false, | ||
false | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(menuBackgroundSelf), | ||
"LIST", | ||
LSTRING(background), | ||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)], | ||
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0], | ||
false | ||
] call CBA_settings_fnc_init; |