mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
This commit is contained in:
parent
4f90d4da80
commit
ffaa195fe5
@ -10,6 +10,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* muzzle velocity shift - m/s <NUMBER>
|
* muzzle velocity shift - m/s <NUMBER>
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [[], 5] call ace_advanced_ballistics_fnc_calcilateAmmoTemperatureVelocityShift
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* corrected ballistic coefficient <NUMBER>
|
* corrected ballistic coefficient <NUMBER>
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [2, 5, 5, 0.5, "ASM"] call ace_advanced_ballistics_fnc_calculateAtmosphericCorrection
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Calculates the muzzle velocity shift caused by different barrel lengths
|
* Calculates the muzzle velocity shift caused by different barrel lengths
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* 0: barrel length - mm
|
* 0: barrel length - mm <NUMBER>
|
||||||
* 1: muzzle velocity lookup table - m/s <ARRAY>
|
* 1: muzzle velocity lookup table - m/s <ARRAY>
|
||||||
* 2: barrel length lookup table - mm <ARRAY>
|
* 2: barrel length lookup table - mm <ARRAY>
|
||||||
* 3: muzzle velocity - m/s <NUMBER>
|
* 3: muzzle velocity - m/s <NUMBER>
|
||||||
@ -12,6 +12,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* muzzle velocity shift - m/s <NUMBER>
|
* muzzle velocity shift - m/s <NUMBER>
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [5, [0,5], [0,5], 5] call ace_advanced_ballistics_fnc_calculateBarrelLengthVelocityShift
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* retardation - m/(s^2) <NUMBER>
|
* retardation - m/(s^2) <NUMBER>
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [5, 20, 10] call ace_advanced_ballistics_fnc_calculateRetardation
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* stability factor <NUMBER>
|
* stability factor <NUMBER>
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [1, 2, 3, 4, 5, 6, 7] call ace_advanced_ballistics_fnc_calculateStabilityFactor
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_ballistics_fnc_diagnoseWeapons
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#define DEBUG_MODE_FULL
|
#define DEBUG_MODE_FULL
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_ballistics_fnc_displayProtractor
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_ballistics_fnc_handleFirePFH
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_ballistics_fnc_handleFired
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [LOGIC, [bob, kevin], true] call ace_advanced_ballistics_fnc_initModuleSettings
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_ballistics_fnc_initializeTerrainExtension
|
||||||
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
@ -7,18 +7,21 @@
|
|||||||
* ammo - classname <STRING>
|
* ammo - classname <STRING>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* 0: _airFriction
|
* 0: _airFriction <NUMBER>
|
||||||
* 1: _caliber
|
* 1: _caliber <NUMBER>
|
||||||
* 2: _bulletLength
|
* 2: _bulletLength <NUMBER>
|
||||||
* 3: _bulletMass
|
* 3: _bulletMass <NUMBER>
|
||||||
* 4: _transonicStabilityCoef
|
* 4: _transonicStabilityCoef <NUMBER>
|
||||||
* 5: _dragModel
|
* 5: _dragModel <NUMBER>
|
||||||
* 6: _ballisticCoefficients
|
* 6: _ballisticCoefficients <NUMBER>
|
||||||
* 7: _velocityBoundaries
|
* 7: _velocityBoundaries <NUMBER>
|
||||||
* 8: _atmosphereModel
|
* 8: _atmosphereModel <NUMBER>
|
||||||
* 9: _ammoTempMuzzleVelocityShifts
|
* 9: _ammoTempMuzzleVelocityShifts <NUMBER>
|
||||||
* 10: _muzzleVelocityTable
|
* 10: _muzzleVelocityTable <NUMBER>
|
||||||
* 11: _barrelLengthTable
|
* 11: _barrelLengthTable <NUMBER>
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* ["ammo"] call ace_advanced_ballistics_fnc_readAmmoDataFromConfig
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -7,9 +7,12 @@
|
|||||||
* weapon - classname <STRING>
|
* weapon - classname <STRING>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* 0: _barrelTwist
|
* 0: _barrelTwist <NUMBER>
|
||||||
* 1: _twistDirection
|
* 1: _twistDirection <NUMBER>
|
||||||
* 2: _barrelLength
|
* 2: _barrelLength <NUMBER>
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* ["weapon"] call ace_advanced_ballistics_fnc_readWeaponDataFromConfig
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -8,6 +8,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* ["ID", 5] call ace_advanced_fatigue_fnc_addDutyFactor
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params [["_id", "", [""]], ["_factor", 1, [0, {}]]];
|
params [["_id", "", [""]], ["_factor", 1, [0, {}]]];
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* [DISPLAY] call ace_advanced_fatigue_fnc_createStaminaBar
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params ["_display"];
|
params ["_display"];
|
||||||
|
@ -8,6 +8,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* [newbob, oldbob] call ace_advanced_fatigue_fnc_handlePlayerChanged
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params ["_newUnit", "_oldUnit"];
|
params ["_newUnit", "_oldUnit"];
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* [0.5] call ace_advanced_fatigue_fnc_handleStaminaBar
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params ["_stamina"];
|
params ["_stamina"];
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* [] call ace_advanced_fatigue_fnc_mainLoop
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
if (!alive ACE_player) exitWith { // Dead people don't breath, Will also handle null (Map intros)
|
if (!alive ACE_player) exitWith { // Dead people don't breath, Will also handle null (Map intros)
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* [MODULE] call ace_advanced_fatigue_fnc_moduleSettings
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params ["_logic"];
|
params ["_logic"];
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* ["ID"] call ace_advanced_fatigue_fnc_removeDutyFactor
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
params [["_id", "", [""]]];
|
params [["_id", "", [""]]];
|
||||||
|
@ -13,8 +13,7 @@
|
|||||||
* Example:
|
* Example:
|
||||||
* [logic, [unit1, unit2], true] call ace_advanced_throwing_fnc_moduleInit
|
* [logic, [unit1, unit2], true] call ace_advanced_throwing_fnc_moduleInit
|
||||||
*
|
*
|
||||||
* Public:
|
* Public: No
|
||||||
* No
|
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_advanced_throwing_fnc_renderPickUpInteraction
|
* call ace_advanced_throwing_fnc_renderPickUpInteraction
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Nothing
|
* Nothing
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_add_new_gun
|
* call ace_atragmx_fnc_add_new_gun
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Calculates distance at which the bullet velocity drops below the threshold velocity
|
* Calculates distance at which the bullet velocity drops below the threshold velocity
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* theshold velocity <number>
|
* theshold velocity <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* distance <number
|
* distance <NUMBER>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 403 call ace_atragmx_fnc_calculate_distance_at_velocity
|
* 403 call ace_atragmx_fnc_calculate_distance_at_velocity
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Calculates the range card output based on the current data set
|
* Calculates the range card output based on the current data set
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_calculate_range_card
|
* call ace_atragmx_fnc_calculate_range_card
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Calculates the target range and updates the output fields
|
* Calculates the target range and updates the output fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_calculate_target_range_assist
|
* call ace_atragmx_fnc_calculate_target_range_assist
|
||||||
@ -74,7 +74,7 @@ switch (_this) do {
|
|||||||
if (_estRange > 0) then {
|
if (_estRange > 0) then {
|
||||||
_imageSize = atan(_targetSize / _estRange);
|
_imageSize = atan(_targetSize / _estRange);
|
||||||
};
|
};
|
||||||
|
|
||||||
switch (GVAR(rangeAssistImageSizeUnit)) do {
|
switch (GVAR(rangeAssistImageSizeUnit)) do {
|
||||||
case 0: {
|
case 0: {
|
||||||
_imageSize = _imageSize * 6400 / 360;
|
_imageSize = _imageSize * 6400 / 360;
|
||||||
@ -93,7 +93,7 @@ switch (_this) do {
|
|||||||
if (tan(_imageSize) != 0) then {
|
if (tan(_imageSize) != 0) then {
|
||||||
_estRange = _targetSize / tan(_imageSize);
|
_estRange = _targetSize / tan(_imageSize);
|
||||||
};
|
};
|
||||||
|
|
||||||
ctrlSetText [7013, Str(Round(_estRange))];
|
ctrlSetText [7013, Str(Round(_estRange))];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Calculates the fireing solution and updates the result input/output fields
|
* Calculates the fireing solution and updates the result input/output fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_calculate_target_solution
|
* call ace_atragmx_fnc_calculate_target_solution
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Calculates the target speed and updates the output fields
|
* Calculates the target speed and updates the output fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_calculate_target_speed_assist
|
* call ace_atragmx_fnc_calculate_target_speed_assist
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* parse input <BOOL>
|
* parse input <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_calculate_truing_drop
|
* call ace_atragmx_fnc_calculate_truing_drop
|
||||||
@ -33,7 +33,7 @@ if (_parseInput) then {
|
|||||||
_subsonicRange = Round(_subsonicRange);
|
_subsonicRange = Round(_subsonicRange);
|
||||||
|
|
||||||
_subsonicRange = _transonicRange max _subsonicRange;
|
_subsonicRange = _transonicRange max _subsonicRange;
|
||||||
|
|
||||||
_transonicDrop = -100 max parseNumber(ctrlText 18013) min 100;
|
_transonicDrop = -100 max parseNumber(ctrlText 18013) min 100;
|
||||||
_subsonicDrop = -100 max parseNumber(ctrlText 18014) min 100;
|
_subsonicDrop = -100 max parseNumber(ctrlText 18014) min 100;
|
||||||
private _dropUnit = GVAR(currentScopeUnit);
|
private _dropUnit = GVAR(currentScopeUnit);
|
||||||
@ -56,7 +56,7 @@ if (_parseInput) then {
|
|||||||
};
|
};
|
||||||
_transonicDrop = Round(_transonicDrop * 100) / 100;
|
_transonicDrop = Round(_transonicDrop * 100) / 100;
|
||||||
_subsonicDrop = Round(_subsonicDrop * 100) / 100;
|
_subsonicDrop = Round(_subsonicDrop * 100) / 100;
|
||||||
|
|
||||||
_subsonicDrop = _transonicDrop max _subsonicDrop;
|
_subsonicDrop = _transonicDrop max _subsonicDrop;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ if ((GVAR(truingDropDropData) select 0) == 0 || {!([_transonicRange, _subsonicRa
|
|||||||
call FUNC(calculate_target_solution);
|
call FUNC(calculate_target_solution);
|
||||||
};
|
};
|
||||||
private _solutionInput = +GVAR(targetSolutionInput);
|
private _solutionInput = +GVAR(targetSolutionInput);
|
||||||
|
|
||||||
if (_transonicRange == 0) then {
|
if (_transonicRange == 0) then {
|
||||||
_transonicRange = Round(403 call FUNC(calculate_distance_at_velocity));
|
_transonicRange = Round(403 call FUNC(calculate_distance_at_velocity));
|
||||||
};
|
};
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* Tests if the ATragMX dialog can be shown
|
* Tests if the ATragMX dialog can be shown
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* can_show <BOOL>
|
* can_show <BOOL>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* update display <BOOL>
|
* update display <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_change_gun
|
* call ace_atragmx_fnc_change_gun
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* target <NUMBER>
|
* target <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 2 call ace_atragmx_fnc_change_target_slot
|
* 2 call ace_atragmx_fnc_change_target_slot
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Clears the c1 ballistic coefficient data fields
|
* Clears the c1 ballistic coefficient data fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_clear_c1_ballistic_coefficient_data
|
* call ace_atragmx_fnc_clear_c1_ballistic_coefficient_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Clears the muzzle velocity data fields
|
* Clears the muzzle velocity data fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_clear_muzzle_velocity_data
|
* call ace_atragmx_fnc_clear_muzzle_velocity_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Removes all user data from the profileNamespace
|
* Removes all user data from the profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_clear_user_data
|
* call ace_atragmx_fnc_clear_user_data
|
||||||
@ -43,4 +43,4 @@ profileNamespace setVariable ["ACE_ATragMX_targetRange", nil];
|
|||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardStartRange", nil];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardStartRange", nil];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardEndRange", nil];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardEndRange", nil];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardIncrement", nil];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardIncrement", nil];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardCurrentColumn", nil];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardCurrentColumn", nil];
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Creates the ATragMX dialog
|
* Creates the ATragMX dialog
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_create_dialog
|
* call ace_atragmx_fnc_create_dialog
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* step <NUMBER>
|
* step <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_scope_unit
|
* call ace_atragmx_fnc_cycle_scope_unit
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* step <NUMBER>
|
* step <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_image_size_units
|
* call ace_atragmx_fnc_cycle_image_size_units
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* step <NUMBER>
|
* step <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_num_ticks_units
|
* call ace_atragmx_fnc_cycle_num_ticks_units
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Cycles through the range card columns
|
* Cycles through the range card columns
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_range_card_columns
|
* call ace_atragmx_fnc_cycle_range_card_columns
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Cycles through the scope units
|
* Cycles through the scope units
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_scope_unit
|
* call ace_atragmx_fnc_cycle_scope_unit
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* step <NUMBER>
|
* step <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_target_size_units
|
* call ace_atragmx_fnc_cycle_target_size_units
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Cycles through the target directions left/right
|
* Cycles through the target directions left/right
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_cycle_target_direction
|
* call ace_atragmx_fnc_cycle_target_direction
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Deletes the currently selected gun profile from the profileNamespace
|
* Deletes the currently selected gun profile from the profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_delete_gun
|
* call ace_atragmx_fnc_delete_gun
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* option menu id <number>
|
* option menu id <number>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_evaluate_option_menu_input
|
* 1 call ace_atragmx_fnc_evaluate_option_menu_input
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Inits all global variables with the default values
|
* Inits all global variables with the default values
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_init
|
* call ace_atragmx_fnc_init
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Inits the gun list from user profile
|
* Inits the gun list from user profile
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_initGunList
|
* call ace_atragmx_fnc_initGunList
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* c1 ballistic coefficient - <NUMBER>
|
* c1 ballistic coefficient - <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [800, 0.485] call ace_atragmx_fnc_insert_c1_ballistic_coefficient_data
|
* [800, 0.485] call ace_atragmx_fnc_insert_c1_ballistic_coefficient_data
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* muzzle velocity - <NUMBER>
|
* muzzle velocity - <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [10, 800] call ace_atragmx_fnc_insert_muzzle_velocity_data
|
* [10, 800] call ace_atragmx_fnc_insert_muzzle_velocity_data
|
||||||
|
@ -1,5 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Author: ACE-Team
|
||||||
|
* On close Dialog
|
||||||
|
*
|
||||||
|
* Arguments:
|
||||||
|
* None
|
||||||
|
*
|
||||||
|
* Return Value:
|
||||||
|
* None
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* call ace_atragmx_fnc_on_close_dialog
|
||||||
|
*
|
||||||
|
* Public: No
|
||||||
|
*/
|
||||||
|
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
uiNamespace setVariable ['ATragMX_Display', nil];
|
uiNamespace setVariable ['ATragMX_Display', nil];
|
||||||
GVAR(active) = false;
|
GVAR(active) = false;
|
||||||
[GVAR(DialogPFH)] call CBA_fnc_removePerFrameHandler;
|
[GVAR(DialogPFH)] call CBA_fnc_removePerFrameHandler;
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Parses all input fields in the gun-, atmosphere- and target column, the result input fields and the muzzle velocity data input fields
|
* Parses all input fields in the gun-, atmosphere- and target column, the result input fields and the muzzle velocity data input fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_parse_input
|
* call ace_atragmx_fnc_parse_input
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Reads gun list entries from the config and appends them to the gun list
|
* Reads gun list entries from the config and appends them to the gun list
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_read_gun_list_entries_from_config
|
* call ace_atragmx_fnc_read_gun_list_entries_from_config
|
||||||
@ -110,10 +110,10 @@ private _validate_preset = {
|
|||||||
|
|
||||||
{
|
{
|
||||||
private _preset = _x >> "preset";
|
private _preset = _x >> "preset";
|
||||||
|
|
||||||
if (isArray(_preset)) then {
|
if (isArray(_preset)) then {
|
||||||
private _gun = getArray _preset;
|
private _gun = getArray _preset;
|
||||||
|
|
||||||
if (_gun call _validate_preset) then {
|
if (_gun call _validate_preset) then {
|
||||||
_gun set [0, (_gun select 0) select [0, 14]];
|
_gun set [0, (_gun select 0) select [0, 14]];
|
||||||
_gun set [20, false];
|
_gun set [20, false];
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* update display <BOOL>
|
* update display <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_recalculate_c1_ballistic_coefficient
|
* call ace_atragmx_fnc_recalculate_c1_ballistic_coefficient
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* update display <BOOL>
|
* update display <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_recalculate_muzzle_velocity
|
* call ace_atragmx_fnc_recalculate_muzzle_velocity
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Resets the relative click memory and updates the result input/output fields
|
* Resets the relative click memory and updates the result input/output fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_reset_relative_click_memory
|
* call ace_atragmx_fnc_reset_relative_click_memory
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Restores the atmospheric data defaults
|
* Restores the atmospheric data defaults
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_restore_atmo_default
|
* call ace_atragmx_fnc_restore_atmo_default
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* update display <BOOL>
|
* update display <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_restore_truing_drop
|
* call ace_atragmx_fnc_restore_truing_drop
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Reads user data from profileNamespace
|
* Reads user data from profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_restore_user_data
|
* call ace_atragmx_fnc_restore_user_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Saves the currently select gun profile into the profileNamespace
|
* Saves the currently select gun profile into the profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_save_gun
|
* call ace_atragmx_fnc_save_gun
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* ballistic coefficient - <NUMBER>
|
* ballistic coefficient - <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 10 call ace_atragmx_fnc_shift_c1_ballistic_coefficient_data
|
* 10 call ace_atragmx_fnc_shift_c1_ballistic_coefficient_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* velocity - <NUMBER>
|
* velocity - <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 10 call ace_atragmx_fnc_shift_muzzle_velocity_data
|
* 10 call ace_atragmx_fnc_shift_muzzle_velocity_data
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_add_new_gun
|
* false call ace_atragmx_fnc_show_add_new_gun
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_atmo_env_data
|
* false call ace_atragmx_fnc_show_atmo_env_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_c1_ballistic_coefficient_data
|
* false call ace_atragmx_fnc_show_c1_ballistic_coefficient_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_gun_ammo_data
|
* false call ace_atragmx_fnc_show_gun_ammo_data
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_gun_list
|
* false call ace_atragmx_fnc_show_gun_list
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_main_page
|
* false call ace_atragmx_fnc_show_main_page
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_muzzle_velocity_data
|
* false call ace_atragmx_fnc_show_muzzle_velocity_data
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_range_card
|
* false call ace_atragmx_fnc_show_range_card
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_range_card_setup
|
* false call ace_atragmx_fnc_show_range_card_setup
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_solution_setup
|
* false call ace_atragmx_fnc_show_solution_setup
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_show_target_data
|
* false call ace_atragmx_fnc_show_target_data
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_target_range_assist
|
* false call ace_atragmx_fnc_show_target_range_assist
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_target_speed_assist
|
* false call ace_atragmx_fnc_show_target_speed_assist
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_target_speed_assist_timer
|
* false call ace_atragmx_fnc_show_target_speed_assist_timer
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* visible - <BOOL>
|
* visible - <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_show_truing_drop
|
* false call ace_atragmx_fnc_show_truing_drop
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* 2: Inclination (Degrees) <NUMBER>
|
* 2: Inclination (Degrees) <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [1000, 45, 1] call ace_microdagr_fnc_recieveRangefinderData
|
* [1000, 45, 1] call ace_microdagr_fnc_recieveRangefinderData
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Saves the persistent gun list entries into profileNamespace
|
* Saves the persistent gun list entries into profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_store_user_data
|
* call ace_atragmx_fnc_store_user_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Saves user data into profileNamespace
|
* Saves user data into profileNamespace
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_store_user_data
|
* call ace_atragmx_fnc_store_user_data
|
||||||
@ -42,4 +42,4 @@ profileNamespace setVariable ["ACE_ATragMX_targetRange", GVAR(targetRange)];
|
|||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardStartRange", GVAR(rangeCardStartRange)];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardStartRange", GVAR(rangeCardStartRange)];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardEndRange", GVAR(rangeCardEndRange)];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardEndRange", GVAR(rangeCardEndRange)];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardIncrement", GVAR(rangeCardIncrement)];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardIncrement", GVAR(rangeCardIncrement)];
|
||||||
profileNamespace setVariable ["ACE_ATragMX_rangeCardCurrentColumn", GVAR(rangeCardCurrentColumn)];
|
profileNamespace setVariable ["ACE_ATragMX_rangeCardCurrentColumn", GVAR(rangeCardCurrentColumn)];
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Shows and starts the target speed assist timer
|
* Shows and starts the target speed assist timer
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_target_speed_assist_timer
|
* call ace_atragmx_fnc_target_speed_assist_timer
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_atmo_env_data
|
* 1 call ace_atragmx_fnc_toggle_atmo_env_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_c1_ballistic_coefficient_data
|
* 1 call ace_atragmx_fnc_toggle_c1_ballistic_coefficient_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Toggles the coriolis and spin drift output on/off
|
* Toggles the coriolis and spin drift output on/off
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_toggle_coriolis
|
* call ace_atragmx_fnc_toggle_coriolis
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_gun_ammo_data
|
* 1 call ace_atragmx_fnc_toggle_gun_ammo_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* change gun? <BOOL>
|
* change gun? <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* false call ace_atragmx_fnc_toggle_gun_list
|
* false call ace_atragmx_fnc_toggle_gun_list
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_muzzle_velocity_data
|
* 1 call ace_atragmx_fnc_toggle_muzzle_velocity_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* open menu item <BOOL>
|
* open menu item <BOOL>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_option_menu
|
* 1 call ace_atragmx_fnc_toggle_option_menu
|
||||||
@ -29,7 +29,7 @@ if (ctrlVisible 3001) then {
|
|||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
lbClear 3002;
|
lbClear 3002;
|
||||||
|
|
||||||
lbAdd [3002, "Accuracy 1st"];
|
lbAdd [3002, "Accuracy 1st"];
|
||||||
lbAdd [3002, "Muz Vel Table"];
|
lbAdd [3002, "Muz Vel Table"];
|
||||||
lbAdd [3002, "Drag Coef Table"];
|
lbAdd [3002, "Drag Coef Table"];
|
||||||
@ -43,9 +43,9 @@ if (ctrlVisible 3001) then {
|
|||||||
};
|
};
|
||||||
lbAdd [3002, "Set Clicks"];
|
lbAdd [3002, "Set Clicks"];
|
||||||
lbAdd [3002, "Gun Note"];
|
lbAdd [3002, "Gun Note"];
|
||||||
|
|
||||||
lbSetCurSel [3002, 0];
|
lbSetCurSel [3002, 0];
|
||||||
|
|
||||||
ctrlShow [3001, true];
|
ctrlShow [3001, true];
|
||||||
ctrlShow [3002, true];
|
ctrlShow [3002, true];
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Toggles the range card screen on/off
|
* Toggles the range card screen on/off
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_toggle_range_card
|
* call ace_atragmx_fnc_toggle_range_card
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new range card settings <NUMBER>
|
* Apply new range card settings <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_range_card_setup
|
* 1 call ace_atragmx_fnc_toggle_range_card_setup
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_solution_setup
|
* 1 call ace_atragmx_fnc_toggle_solution_setup
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_target_data
|
* 1 call ace_atragmx_fnc_toggle_target_data
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* update range? <NUMBER>
|
* update range? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_target_range_assist
|
* 1 call ace_atragmx_fnc_toggle_target_range_assist
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* update speed? <NUMBER>
|
* update speed? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_target_speed_assist
|
* 1 call ace_atragmx_fnc_toggle_target_speed_assist
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Apply new data? <NUMBER>
|
* Apply new data? <NUMBER>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 1 call ace_atragmx_fnc_toggle_truing_drop
|
* 1 call ace_atragmx_fnc_toggle_truing_drop
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Trims the gun name input field
|
* Trims the gun name input field
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_trim_gun_name
|
* call ace_atragmx_fnc_trim_gun_name
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Trues the c1 ballistic coefficient
|
* Trues the c1 ballistic coefficient
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_true_c1_ballistic_coefficient
|
* call ace_atragmx_fnc_true_c1_ballistic_coefficient
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Trues the muzzle velocity
|
* Trues the muzzle velocity
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_true_muzzle_velocity
|
* call ace_atragmx_fnc_true_muzzle_velocity
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Updates the atmospheric data fields
|
* Updates the atmospheric data fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_update_atmo_env_data
|
* call ace_atragmx_fnc_update_atmo_env_data
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Updates the atmospheric data input method
|
* Updates the atmospheric data input method
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_update_atmo_selection
|
* call ace_atragmx_fnc_update_atmo_selection
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
* Updates all atmosphere column input fields
|
* Updates all atmosphere column input fields
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Nothing
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_atragmx_fnc_update_atmosphere
|
* call ace_atragmx_fnc_update_atmosphere
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user