mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8b4e8a61ac
* 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
82 lines
2.4 KiB
Plaintext
82 lines
2.4 KiB
Plaintext
[
|
|
QGVAR(selectorColor),
|
|
"COLOR",
|
|
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;
|