ACE3/addons/maptools/initSettings.inc.sqf
johnb432 6ba46ffa90
Map Tools - Code cleanup (#9750)
* Maptools cleanup

* Changed conditions to check

* Minor cleanup + fix
2024-02-03 10:48:21 -08:00

26 lines
771 B
Plaintext

private _category = format ["ACE %1", LLSTRING(Name)];
[
QGVAR(rotateModifierKey), "LIST",
[LSTRING(rotateModifierKey_displayName), LSTRING(rotateModifierKey_description)],
_category,
[[0, 1, 2, 3], ["STR_A3_OPTIONS_DISABLED", "ALT", "CTRL", "SHIFT"], 1],
0
] call CBA_fnc_addSetting;
[
QGVAR(drawStraightLines), "CHECKBOX",
[LSTRING(drawStraightLines_displayName), LSTRING(drawStraightLines_description)],
_category,
true,
0
] call CBA_fnc_addSetting;
[
QGVAR(plottingBoardAllowChannelDrawing), "LIST",
[LSTRING(allowChannelDrawing_displayName), LSTRING(allowChannelDrawing_description)],
_category,
[[0, 1], [LSTRING(allowDirectCommsOnly), LSTRING(allowDirectGroupComms)], 1],
0
] call CBA_fnc_addSetting;