mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e35d3dab49
*Added missing privates *Solutions are now automatically calculated on target/gun selection
25 lines
551 B
Plaintext
25 lines
551 B
Plaintext
/*
|
|
* Author: Ruthberg
|
|
* Updates all atmosphere column input fields
|
|
*
|
|
* Arguments:
|
|
* Nothing
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* call ace_atragmx_fnc_update_atmosphere
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
ctrlSetText [200, Str(Round(GVAR(temperature) * 10) / 10)];
|
|
if (GVAR(currentUnit) == 1) then {
|
|
ctrlSetText [210, Str(Round(GVAR(barometricPressure) * 100) / 100)];
|
|
} else {
|
|
ctrlSetText [210, Str(Round(GVAR(barometricPressure)))];
|
|
};
|
|
ctrlSetText [220, Str(Round(GVAR(relativeHumidity) * 100 * 10) / 10)];
|