mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
* add setting to hide freefall altimeter, ref #5596 * warning for changed mid mission
This commit is contained in:
parent
ec09c2beda
commit
0e3aeb8767
@ -21,4 +21,14 @@ PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
[
|
||||
QGVAR(hideAltimeter),
|
||||
"CHECKBOX",
|
||||
[LSTRING(HideAltimeter), LSTRING(HideAltimeter_tooltip)],
|
||||
format ["ACE %1", localize ELSTRING(common,DisplayName)],
|
||||
true,
|
||||
false,
|
||||
{[QGVAR(hideAltimeter), _this, false] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call cba_settings_fnc_init;
|
||||
|
||||
ADDON = true;
|
||||
|
@ -18,7 +18,7 @@
|
||||
params ["_dialog", "_type"];
|
||||
|
||||
// don't do anything in noob mode
|
||||
if (cadetMode) exitWith {};
|
||||
if (!GVAR(hideAltimeter)) exitWith {};
|
||||
|
||||
switch (_type) do {
|
||||
case ("Parachute"): {
|
||||
|
@ -97,5 +97,13 @@
|
||||
<Chinesesimp>备用降落伞</Chinesesimp>
|
||||
<Chinese>備用降落傘</Chinese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Parachute_HideAltimeter">
|
||||
<English>Hide Freefall Altimeter</English>
|
||||
<German>Freifall-Höhenmesser verstecken</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Parachute_HideAltimeter_tooltip">
|
||||
<English>Hides the altitude and speed shown while free falling or parachuting.</English>
|
||||
<German>Blendet den Höhen- und Geschwindigkeitsmesser während des Fallschirmspringens aus.</German>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user