added end of line in all files

This commit is contained in:
Valmo Trindade
2025-07-16 12:46:12 -03:00
parent 2ab83a17b9
commit 83b9082e87
62 changed files with 72 additions and 71 deletions

View File

@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true;
ADDON = true;

View File

@@ -1,3 +1,3 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
#include "XEH_PREP.hpp"

View File

@@ -32,4 +32,4 @@ class CfgVehicles {
};
#include "CfgEventHandlers.hpp"
#include "dialog.hpp"
#include "dialog.hpp"

View File

@@ -71,4 +71,4 @@ class armatak_udp_socket_start_dialog {
h = "0.055 * safezoneH";
};
};
};
};

View File

@@ -17,7 +17,7 @@
* [player] call armatak_client_fnc_convertClientLocation;
*
* Public: Yes
*/
*/
params["_latitude", "_longitude", "_altitude"];
@@ -82,4 +82,4 @@ switch (toLower worldName) do {
};
};
_realLocation
_realLocation

View File

@@ -26,4 +26,4 @@ private _speed = speed _unit / 3.6;
_payload = [_uuid, _pos select 0, _pos select 1, _pos select 2, _callsign, _bearing, _speed, _callsign];
_payload
_payload

View File

@@ -28,4 +28,4 @@ player setVariable [QGVAR(eudConnected), true];
}, 0.5, []] call CBA_fnc_addPerFrameHandler;
deleteVehicle _logic;
closeDialog 1;
closeDialog 1;

View File

@@ -157,4 +157,4 @@ class Cfg3den {
};
};
};
};
};

View File

@@ -88,4 +88,4 @@ class CfgFunctions {
};
};
};
};
};

View File

@@ -1,2 +1,2 @@
PREP(logMessage);
PREP(notify);
PREP(notify);

View File

@@ -53,4 +53,4 @@ addMissionEventHandler ["ExtensionCallback", {
GVAR(group_colors) = ["White", "Yellow", "Orange", "Magenta", "Red", "Maroon", "Purple", "DarkBlue", "Blue", "Cyan", "Teal", "Green", "DarkGreen", "Brown"];
missionNamespace setVariable [QGVAR(group_colors), GVAR(group_colors)];
missionNamespace setVariable [QGVAR(group_colors), GVAR(group_colors)];

View File

@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true;
ADDON = true;

View File

@@ -1,3 +1,3 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
#include "XEH_PREP.hpp"

View File

@@ -11,4 +11,4 @@ if (!isNull _digitalPointer) then {
_dpCot = [_link_uid, _contact_callsign, _digitalPointerPosition select 0, _digitalPointerPosition select 1, _digitalPointerPosition select 2];
"armatak" callExtension ["tcp_socket:send_digital_pointer_cot", [_dpCot]];
};
};

View File

@@ -25,4 +25,4 @@ switch (side _drone) do {
};
};
_cot = [_drone, _atak_role, _atak_callsign] call armatak_fnc_send_marker_cot;
_cot = [_drone, _atak_role, _atak_callsign] call armatak_fnc_send_marker_cot;

View File

@@ -10,4 +10,4 @@ _uuid = _unit call armatak_fnc_extract_uuid;
_eud_cot = [_uuid, _position select 0, _position select 1, _position select 2, _callsign, _group_name, _group_role, _position select 3, speed player / 3.6];
"armatak" callExtension ["tcp_socket:send_eud_cot", [_eud_cot]];
"armatak" callExtension ["tcp_socket:send_eud_cot", [_eud_cot]];

View File

@@ -10,4 +10,4 @@ params["_group"];
_group_role = [_x] call armatak_fnc_extract_group_role;
[_x, _callsign, _group_name, _group_role] call armatak_fnc_send_eud_cot;
} forEach (units _group);
} forEach (units _group);

View File

@@ -10,4 +10,4 @@ _uuid = _unit call armatak_fnc_extract_uuid;
_marker_cot = [_uuid, _type, _unit_position select 0, _unit_position select 1, _unit_position select 2, _callsign, _unit_position select 3, speed _unit / 3.6];
"armatak" callExtension ["tcp_socket:send_marker_cot", [_marker_cot]];
"armatak" callExtension ["tcp_socket:send_marker_cot", [_marker_cot]];

View File

@@ -7,4 +7,4 @@ if (_armatak_tcp_socket_is_running) then {
} else {
_warning = format ["<t color='#FF0021'>ARMATAK</t><br/> %1", "There is no TCP Socket running to be stopped"];
[[_warning, 1.5]] call CBA_fnc_notify;
};
};

View File

@@ -24,4 +24,4 @@ if (isNil "_group_name") then {
};
};
_group_name
_group_name

View File

@@ -37,4 +37,4 @@ if (!isNil "_pre_defined_role") then {
_callsign = _pre_defined_callsign;
};
_group_role
_group_role

View File

@@ -30,4 +30,4 @@ if (!isNil "armatak_attribute_marker_callsign" or armatak_attribute_marker_calls
_callsign = armatak_attribute_marker_callsign;
};
_callsign
_callsign

View File

@@ -117,4 +117,4 @@ if (!isNil "armatak_attribute_marker_type" or armatak_attribute_marker_type != '
_role = armatak_attribute_marker_type;
};
_role
_role

View File

@@ -22,4 +22,4 @@ if (!isNil "armatak_attribute_unit_callsign" or armatak_attribute_unit_callsign
_callsign = armatak_attribute_unit_callsign;
};
_callsign
_callsign

View File

@@ -11,4 +11,4 @@ if (isNil "_uuid") then {
_unit setVariable ["_atak_uid", _uuid];
};
_uuid
_uuid

View File

@@ -14,4 +14,4 @@ if (_nameCount == 1) then {
} else {
format ["%1 %2", _firstName select [0, 1], _lastName]
};
};
};

View File

@@ -1,3 +1,3 @@
params[_type, _message];
"armatak" callExtension ["log", [_type, _message]]
"armatak" callExtension ["log", [_type, _message]]

View File

@@ -18,4 +18,4 @@ switch (_type) do {
default {
systemChat format ["%1 - %2", _title, _message];
};
};
};

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -20,4 +20,4 @@ _LatitudeDifference = _MapMaxLatitude - _MapMinLatitude;
_RealLongitude = (_playerLongitude / _playerMaxLongitude) * _LongitudeDifference + _MapMinLongitude;
_RealLatitude = (_playerLatitude / _playerMaxLatitude) * _LatitudeDifference + _MapMinLatitude;
[_RealLongitude, _RealLatitude, _playerPosition select 2]
[_RealLongitude, _RealLatitude, _playerPosition select 2]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -20,4 +20,4 @@ _LatitudeDifference = _MapMaxLatitude - _MapMinLatitude;
_RealLongitude = (_playerLongitude / _playerMaxLongitude) * _LongitudeDifference + _MapMinLongitude;
_RealLatitude = (_playerLatitude / _playerMaxLatitude) * _LatitudeDifference + _MapMinLatitude;
[_RealLongitude, _RealLatitude, _playerPosition select 2]
[_RealLongitude, _RealLatitude, _playerPosition select 2]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -27,4 +27,4 @@ private _fy = _latitudeInGame / _mapHeight;
private _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
[_realLat, _realLon, _altitude]
[_realLat, _realLon, _altitude]

View File

@@ -29,4 +29,4 @@
#define EXTENSION_NAME QUOTE(armatak)
#define CALLEXT(var) EXTENSION_NAME callExtension [QUOTE(var),[]]
#define CALLEXTP(var1, var2) EXTENSION_NAME callExtension [QUOTE(var1), var2] select 0
#define CALLEXTP(var1, var2) EXTENSION_NAME callExtension [QUOTE(var1), var2] select 0

View File

@@ -1,4 +1,4 @@
#define build 0
#define major 1
#define minor 1
#define patch 0
#define patch 0

View File

@@ -8,4 +8,4 @@ class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
};
};
};

View File

@@ -87,4 +87,4 @@ class CfgVehicles {
function = QFUNC(routerEntityAdd);
icon = "\a3\Modules_F_Curator\Data\iconRadio_ca.paa";
};
};
};

View File

@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true;
ADDON = true;

View File

@@ -1,3 +1,3 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
#include "XEH_PREP.hpp"

View File

@@ -22,4 +22,4 @@ class CfgPatches {
#include "CfgEventHandlers.hpp"
#include "dialog.hpp"
#include "CfgVehicles.hpp"
#include "CfgVehicles.hpp"

View File

@@ -139,4 +139,4 @@ class armatak_zeus_custom_marker_dialog {
h = "0.055 * safezoneH";
};
};
};
};

View File

@@ -54,4 +54,4 @@ if (isServer) exitWith {
}, 2, []] call CBA_fnc_addPerFrameHandler;
};
true;
true;

View File

@@ -57,4 +57,4 @@ GVAR(syncedUnits) = missionNamespace getVariable "armatak_marked_units";
} forEach GVAR(syncedUnits);
}, 2, []] call CBA_fnc_addPerFrameHandler;
deleteVehicle _logic;
closeDialog 1;
closeDialog 1;

View File

@@ -41,4 +41,4 @@ switch (false) do {
deleteVehicle _logic;
};
};
};

View File

@@ -39,4 +39,4 @@ switch (false) do {
deleteVehicle _logic;
};
};
};

View File

@@ -37,7 +37,7 @@ class CfgVehicles {
canSetArea = 0;
canSetAreaShape = 0;
canSetAreaHeight = 0;
/*
class Attributes: AttributesBase {
class GVAR(instanceAddress): Edit {
property = QGVAR(instanceAddress);
@@ -47,26 +47,27 @@ class CfgVehicles {
defaultValue = "localhost";
};
class GVAR(instancePort): Edit {
property = "armatak_module_mediamtx_video_stream_instance_port";
displayname = "MediaMTX Provider Port";
tooltip = "MediaMTX Provider Port for handling video streams";
property = QGVAR(instancePort);
displayname = QUOTE(MediaMTX Provider Port);
tooltip = QUOTE(MediaMTX Provider Port for handling video streams);
typeName = "STRING";
defaultValue = "8554";
};
class GVAR(instanceAuthUser): Edit {
property = QGVAR(instanceAuthUser);
displayname = "MediaMTX Provider Username";
tooltip = "MediaMTX Provider Instance Username";
displayname = QUOTE(MediaMTX Provider Username);
tooltip = QUOTE(MediaMTX Provider Instance Username);
typeName = "STRING";
defaultValue = "administrator";
};
class GVAR(instanceAuthPassword): Edit {
property = QGVAR(instanceAuthPassword);
displayname = "MediaMTX Provider Password";
tooltip = "MediaMTX Provider Instance Password";
displayname = QUOTE(MediaMTX Provider Password);
tooltip = QUOTE(MediaMTX Provider Instance Password);
typeName = "STRING";
defaultValue = "password";
};
};
*/
};
};
};

View File

@@ -1 +1 @@
PREP(videoParser);
PREP(videoParser);

View File

@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
ADDON = true;
ADDON = true;

View File

@@ -1,3 +1,3 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
#include "XEH_PREP.hpp"

View File

@@ -20,4 +20,4 @@ class CfgPatches {
};
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include "CfgVehicles.hpp"

View File

@@ -80,4 +80,4 @@ if (isServer) exitWith {
};
};
true;
true;

View File

@@ -11,4 +11,4 @@ overview = "ARMATAK Addons allows Arma 3 sessions to be parsed to TAK Clients";
hideName = 0;
hidePicture = 0;
dlcColor[] = { 0.23, 0.39, 0.30, 1 };
logoSmall = "logo_small_ca.paa";
logoSmall = "logo_small_ca.paa";