mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
*Added Gun and Ammo Data Screen *Added Atomospheric and Environmental Data Screen *Added Target Data Screen *Added support for coriolis- and spin drift *Added a second option (AT) to enter atmospheric data *Target data is now saved/restored in/from the profileNamespace *Atmosphere data is now saved/restored in/from the profileNamespace *Selected gun profile is now saved/restored in/from the profileNamespace *Fixed several bugs in the dual-/imperial unit systems *Minor bug fixes in the target range assist screen *Minor bug fix in the target speed assist screen
30 lines
808 B
Plaintext
30 lines
808 B
Plaintext
/*
|
|
* Author: Ruthberg
|
|
* Shows/Hides the main menu controls
|
|
*
|
|
* Arguments:
|
|
* visible - <BOOL>
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* call ace_atragmx_show_main_page
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
GVAR(showMainPage) = _this;
|
|
|
|
{ctrlShow [_x, _this]} forEach [10, 100, 11, 110, 12, 120, 13, 130, 14, 140, 20, 200, 21, 210, 22, 220, 23, 230, 30, 300, 31, 310, 32, 320, 33, 330, 34, 340, 40, 400, 401, 402, 403, 41, 410, 411, 412, 42, 420,
|
|
500, 501, 502, 503, 600, 601, 602, 603, 1000, 2000, 3000, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008];
|
|
|
|
if (_this) then {
|
|
if (GVAR(atmosphereModeTBH)) then {
|
|
{ctrlShow [_x, false]} forEach [23, 230];
|
|
} else {
|
|
{ctrlShow [_x, false]} forEach [21, 210, 22, 220];
|
|
};
|
|
};
|