mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Various - Fix setting var name (#8528)
* Scopes - Fix var name * fix 2.5 more settings
This commit is contained in:
parent
93b7722716
commit
d46d59695f
@ -1,7 +1,4 @@
|
|||||||
class ACE_Settings {
|
class ACE_Settings {
|
||||||
class GVAR(movableMarkersEnabled) {
|
|
||||||
movedToSQF = 1;
|
|
||||||
};
|
|
||||||
class GVAR(moveRestriction) {
|
class GVAR(moveRestriction) {
|
||||||
movedToSQF = 1;
|
movedToSQF = 1;
|
||||||
};
|
};
|
||||||
|
@ -64,6 +64,14 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
|||||||
1
|
1
|
||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
|
[
|
||||||
|
QGVAR(deduceBarometricPressureFromTerrainAltitude), "CHECKBOX",
|
||||||
|
[LSTRING(deduceBarometricPressureFromTerrainAltitude_displayName), LSTRING(deduceBarometricPressureFromTerrainAltitude_description)],
|
||||||
|
_category,
|
||||||
|
false,
|
||||||
|
1
|
||||||
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
QGVAR(useLegacyUI), "CHECKBOX",
|
QGVAR(useLegacyUI), "CHECKBOX",
|
||||||
[LSTRING(useLegacyUI_displayName), LSTRING(useLegacyUI_description)],
|
[LSTRING(useLegacyUI_displayName), LSTRING(useLegacyUI_description)],
|
||||||
@ -73,7 +81,7 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
|||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
QGVAR(simplifedZeroing), "CHECKBOX",
|
QGVAR(simplifiedZeroing), "CHECKBOX",
|
||||||
[LSTRING(simplifiedZeroing_displayName), LSTRING(simplifiedZeroing_description)],
|
[LSTRING(simplifiedZeroing_displayName), LSTRING(simplifiedZeroing_description)],
|
||||||
_category,
|
_category,
|
||||||
false,
|
false,
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
[
|
[
|
||||||
QXGVAR(enabled),
|
QXGVAR(enable),
|
||||||
"CHECKBOX",
|
"CHECKBOX",
|
||||||
[LSTRING(Enable), LSTRING(ModuleDescription)],
|
[LSTRING(Enable), LSTRING(ModuleDescription)],
|
||||||
format ["ACE %1", LLSTRING(ModuleDisplayName)],
|
format ["ACE %1", LLSTRING(ModuleDisplayName)],
|
||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||||
true
|
true
|
||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
Loading…
Reference in New Issue
Block a user