Added comments to all ATragMX functions

This commit is contained in:
ulteq 2015-04-11 23:40:46 +02:00
parent e108598b36
commit ef0884c49d
42 changed files with 643 additions and 3 deletions

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Adds a new (default) gun profile to the profileNamespace
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_add_new_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_gunName", "_gunProfileEntry"]; private ["_gunName", "_gunProfileEntry"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Calculates the range card output based on the current data set
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_calculate_range_card
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
[] call FUNC(parse_input); [] call FUNC(parse_input);
@ -45,4 +60,3 @@ GVAR(rangeCardData) = [];
private ["_result"]; private ["_result"];
_result = [_scopeBaseAngle, _bulletMass, _boreHeight, _airFriction, _muzzleVelocity, _temperature, _barometricPressure, _relativeHumidity, 1000, _result = [_scopeBaseAngle, _bulletMass, _boreHeight, _airFriction, _muzzleVelocity, _temperature, _barometricPressure, _relativeHumidity, 1000,
_windSpeed, _windDirection, _inclinationAngle, _targetSpeed, _targetRange, _bc, _dragModel, _atmosphereModel, true] call FUNC(calculate_solution); _windSpeed, _windDirection, _inclinationAngle, _targetSpeed, _targetRange, _bc, _dragModel, _atmosphereModel, true] call FUNC(calculate_solution);

View File

@ -1,3 +1,22 @@
/*
* Author: Ruthberg
* Calculates a new scope base angle
*
* Arguments:
* 0: Bullet mass <NUMBER>
* 1: Bore height <NUMBER>
* 2: air friction <NUMBER>
* 3: muzzle velocity <NUMBER>
* 4: zero range <NUMBER>
*
* Return Value:
* scope base angle <NUMBER>
*
* Example:
* call ace_atragmx_calculate_scope_base_angle
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_bulletMass", "_boreHeight", "_airFriction", "_muzzleVelocity", "_zeroRange"]; private ["_bulletMass", "_boreHeight", "_airFriction", "_muzzleVelocity", "_zeroRange"];

View File

@ -1,3 +1,40 @@
/*
* Author: Ruthberg
* Calculates the fireing solution
*
* Arguments:
* 0: Scope base angle <NUMBER>
* 1: Bullet mass <NUMBER>
* 2: Bore height <NUMBER>
* 3: air friction <NUMBER>
* 4: muzzle velocity <NUMBER>
* 5: temperature <NUMBER>
* 6: barometric pressure <NUMBER>
* 7: relative humidity <NUMBER>
* 8: simulation steps <NUMBER>
* 9: wind speed <NUMBER>
* 10: wind direction <NUMBER>
* 11: inclination angle <NUMBER>
* 12: target speed <NUMBER>
* 13: target range <NUMBER>
* 14: ballistic coefficient <NUMBER>
* 15: drag model <NUMBER>
* 16: atmosphere model <STRING>
* 17: Store range card data? <BOOL>
*
* Return Value:
* 0: Elevation <NUMBER>
* 1: Windage <NUMBER>
* 2: Lead <NUMBER>
* 3: Time of fligth <NUMBER>
* 4: Remaining velocity <NUMBER>
* 4: Remaining kinetic energy <NUMBER>
*
* Example:
* call ace_atragmx_calculate_target_range_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_scopeBaseAngle", "_bulletMass", "_boreHeight", "_airFriction", "_muzzleVelocity", "_temperature", "_barometricPressure", "_relativeHumidity", "_simSteps", "_windSpeed", "_windDirection", "_inclinationAngle", "_targetSpeed", "_targetRange", "_bc", "_dragModel", "_atmosphereModel", "_storeRangeCardData"]; private ["_scopeBaseAngle", "_bulletMass", "_boreHeight", "_airFriction", "_muzzleVelocity", "_temperature", "_barometricPressure", "_relativeHumidity", "_simSteps", "_windSpeed", "_windDirection", "_inclinationAngle", "_targetSpeed", "_targetRange", "_bc", "_dragModel", "_atmosphereModel", "_storeRangeCardData"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Calculates the target range and updates the output fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_calculate_target_range_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_targetSize", "_imageSize", "_angle", "_estRange"]; private ["_targetSize", "_imageSize", "_angle", "_estRange"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Calculates the fireing solution and updates the result input/output fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_calculate_target_solution
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
[] call FUNC(parse_input); [] call FUNC(parse_input);

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Calculates the target speed and updates the output fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_calculate_target_speed_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_targetRange", "_numTicks", "_timeSecs", "_estSpeed"]; private ["_targetRange", "_numTicks", "_timeSecs", "_estSpeed"];

View File

@ -1,12 +1,12 @@
/* /*
* Authors: Ruthberg * Authors: Ruthberg
* Tests if the ATragMX can be shown * Tests if the ATragMX dialog can be shown
* *
* Arguments: * Arguments:
* Nothing * Nothing
* *
* Return Value: * Return Value:
* can_show (bool) * can_show <BOOL>
* *
* Example: * Example:
* call ace_atragmx_fnc_can_show * call ace_atragmx_fnc_can_show

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Selects a new gun profile and updates the gun column and the result input/output fields
*
* Arguments:
* gunID <number>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_change_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
if (_this < 0 || _this > (count GVAR(gunList)) - 1) exitWith {}; if (_this < 0 || _this > (count GVAR(gunList)) - 1) exitWith {};

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Creates the ATragMX dialog
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_create_dialog
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
//if (dialog) exitWith { false }; //if (dialog) exitWith { false };

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Cycles through the range card columns
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_cycle_range_card_columns
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
GVAR(rangeCardCurrentColumn) = (GVAR(rangeCardCurrentColumn) + 1) % (count GVAR(rangeCardLastColumns)); GVAR(rangeCardCurrentColumn) = (GVAR(rangeCardCurrentColumn) + 1) % (count GVAR(rangeCardLastColumns));

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Cycles through the scope units
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_cycle_scope_unit
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
[] call FUNC(parse_input); [] call FUNC(parse_input);

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Deletes the currently selected gun profile from the profileNamespace
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_delete_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_index"]; private ["_index"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Inits all global variables with the default values
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_init
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
GVAR(workingMemory) = [+(GVAR(gunList) select 0), +(GVAR(gunList) select 0), +(GVAR(gunList) select 0), +(GVAR(gunList) select 0)]; GVAR(workingMemory) = [+(GVAR(gunList) select 0), +(GVAR(gunList) select 0), +(GVAR(gunList) select 0), +(GVAR(gunList) select 0)];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Parses all input fields in the gun, atmosphere and target column and the result input fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_parse_input
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
GVAR(temperature) set [GVAR(currentTarget), parseNumber(ctrlText 200)]; GVAR(temperature) set [GVAR(currentTarget), parseNumber(ctrlText 200)];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Resets the relative click memory and updates the result input/output fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_reset_relative_click_memory
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
(GVAR(workingMemory) select GVAR(currentTarget)) set [10, 0]; (GVAR(workingMemory) select GVAR(currentTarget)) set [10, 0];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Saves the currently select gun profile into the profileNamespace
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_save_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_index"]; private ["_index"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides add new gun controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_add_new_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [11000, 11001, 11002, 11003]; {ctrlShow [_x, _this]} forEach [11000, 11001, 11002, 11003];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the gun list controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_gun_list
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [6000, 6001, 6002, 6003, 6004, 6005, 6006, 6007]; {ctrlShow [_x, _this]} forEach [6000, 6001, 6002, 6003, 6004, 6005, 6006, 6007];

View File

@ -1,3 +1,18 @@
/*
* 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" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [10, 100, 11, 110, 12, 120, 13, 130, 14, 140, 20, 200, 21, 210, 22, 220, 30, 300, 31, 310, 32, 320, 33, 330, 34, 340, 40, 400, 401, 402, 403, 41, 410, 411, 412, 42, 420, {ctrlShow [_x, _this]} forEach [10, 100, 11, 110, 12, 120, 13, 130, 14, 140, 20, 200, 21, 210, 22, 220, 30, 300, 31, 310, 32, 320, 33, 330, 34, 340, 40, 400, 401, 402, 403, 41, 410, 411, 412, 42, 420,

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the range card controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_range_card
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [5000, 5001, 5002, 5003, 5004, 5005, 5006, 5007]; {ctrlShow [_x, _this]} forEach [5000, 5001, 5002, 5003, 5004, 5005, 5006, 5007];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the range card setup controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_range_card_setup
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009]; {ctrlShow [_x, _this]} forEach [10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the target range assist controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_target_range_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [7000, 7001, 7002, 7003, 7004, 7005, 7006, 7007, 7008, 7009, 7010, 7011, 7012, 7013, 7014, 7015, 7016, 7017, 7018, 7019, 7020]; {ctrlShow [_x, _this]} forEach [7000, 7001, 7002, 7003, 7004, 7005, 7006, 7007, 7008, 7009, 7010, 7011, 7012, 7013, 7014, 7015, 7016, 7017, 7018, 7019, 7020];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the target speed assist controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_target_speed_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [8000, 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8014, 8015]; {ctrlShow [_x, _this]} forEach [8000, 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8014, 8015];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows/Hides the target speed assist timer controls
*
* Arguments:
* visible - <BOOL>
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_show_target_speed_assist_timer
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
{ctrlShow [_x, _this]} forEach [9000, 9001, 9002]; {ctrlShow [_x, _this]} forEach [9000, 9001, 9002];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Hook the rangefinder lazing event
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_sord
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
GVAR(COMPAT_LRF) = ["Rangefinder", "Laserdesignator"]; GVAR(COMPAT_LRF) = ["Rangefinder", "Laserdesignator"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Shows and starts the target speed assist timer
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_target_speed_assist_timer
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Toggles the gun list screen on/off
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_toggle_gun_list
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Toggles the range card screen on/off
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_toggle_range_card
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Toggles the range card setup screen on/off
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_toggle_range_card_setup
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Toggles the target range assist screen on/off
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_toggle_target_range_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Toggles the target speed assist screen on/off
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_toggle_target_speed_assist
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* 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" #include "script_component.hpp"
ctrlSetText [200, Str(Round((GVAR(temperature) select GVAR(currentTarget)) * 10) / 10)]; ctrlSetText [200, Str(Round((GVAR(temperature) select GVAR(currentTarget)) * 10) / 10)];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates all gun column input fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_gun
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
ctrlSetText [1000, (GVAR(workingMemory) select GVAR(currentTarget)) select 0]; ctrlSetText [1000, (GVAR(workingMemory) select GVAR(currentTarget)) select 0];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates the range card listbox content
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_range_card
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_range", "_elevation", "_windage", "_lead", "_TOF", "_velocity", "_kineticEnergy", "_rangeOutput", "_elevationOutput", "_windageOutput", "_lastColumnOutput"]; private ["_range", "_elevation", "_windage", "_lead", "_TOF", "_velocity", "_kineticEnergy", "_rangeOutput", "_elevationOutput", "_windageOutput", "_lastColumnOutput"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates the relative click memory
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_relative_click_memory
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
(GVAR(workingMemory) select GVAR(currentTarget)) set [10, (GVAR(elevationOutput) select GVAR(currentTarget))]; (GVAR(workingMemory) select GVAR(currentTarget)) set [10, (GVAR(elevationOutput) select GVAR(currentTarget))];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates the result input and output fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_result
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_elevationAbs", "_elevationRel", "_elevationCur", "_windageAbs", "_windageRel", "_windageCur", "_lead", "_elevationScopeStep", "_windageScopeStep"]; private ["_elevationAbs", "_elevationRel", "_elevationCur", "_windageAbs", "_windageRel", "_windageCur", "_lead", "_elevationScopeStep", "_windageScopeStep"];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates the scope unit fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_scope_unit
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
ctrlSetText [2000, GVAR(scopeUnits) select (GVAR(currentScopeUnit) select GVAR(currentTarget))]; ctrlSetText [2000, GVAR(scopeUnits) select (GVAR(currentScopeUnit) select GVAR(currentTarget))];

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates all target column input fields
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_target
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
if (!isNil QGVAR(windSpeed)) then if (!isNil QGVAR(windSpeed)) then

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates all input fields based on the currently selected target
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_target_selection
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates all input fields based on the currently selected unit
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_unit_selection
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
#define _dsp (uiNamespace getVariable "ATragMX_Display") #define _dsp (uiNamespace getVariable "ATragMX_Display")

View File

@ -1,3 +1,18 @@
/*
* Author: Ruthberg
* Updates the scope base angle based on the zero range input
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* call ace_atragmx_fnc_update_zero_range
*
* Public: No
*/
#include "script_component.hpp" #include "script_component.hpp"
private ["_scopeBaseAngle"]; private ["_scopeBaseAngle"];