mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 21:23:30 +00:00
added end of line in all files
This commit is contained in:
@@ -157,4 +157,4 @@ class Cfg3den {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,4 +88,4 @@ class CfgFunctions {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PREP(logMessage);
|
||||
PREP(notify);
|
||||
PREP(notify);
|
||||
|
||||
@@ -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)];
|
||||
|
||||
@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
ADDON = true;
|
||||
ADDON = true;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
@@ -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]];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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]];
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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]];
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -24,4 +24,4 @@ if (isNil "_group_name") then {
|
||||
};
|
||||
};
|
||||
|
||||
_group_name
|
||||
_group_name
|
||||
|
||||
@@ -37,4 +37,4 @@ if (!isNil "_pre_defined_role") then {
|
||||
_callsign = _pre_defined_callsign;
|
||||
};
|
||||
|
||||
_group_role
|
||||
_group_role
|
||||
|
||||
@@ -30,4 +30,4 @@ if (!isNil "armatak_attribute_marker_callsign" or armatak_attribute_marker_calls
|
||||
_callsign = armatak_attribute_marker_callsign;
|
||||
};
|
||||
|
||||
_callsign
|
||||
_callsign
|
||||
|
||||
@@ -117,4 +117,4 @@ if (!isNil "armatak_attribute_marker_type" or armatak_attribute_marker_type != '
|
||||
_role = armatak_attribute_marker_type;
|
||||
};
|
||||
|
||||
_role
|
||||
_role
|
||||
|
||||
@@ -22,4 +22,4 @@ if (!isNil "armatak_attribute_unit_callsign" or armatak_attribute_unit_callsign
|
||||
_callsign = armatak_attribute_unit_callsign;
|
||||
};
|
||||
|
||||
_callsign
|
||||
_callsign
|
||||
|
||||
@@ -11,4 +11,4 @@ if (isNil "_uuid") then {
|
||||
_unit setVariable ["_atak_uid", _uuid];
|
||||
};
|
||||
|
||||
_uuid
|
||||
_uuid
|
||||
|
||||
@@ -14,4 +14,4 @@ if (_nameCount == 1) then {
|
||||
} else {
|
||||
format ["%1 %2", _firstName select [0, 1], _lastName]
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
params[_type, _message];
|
||||
|
||||
"armatak" callExtension ["log", [_type, _message]]
|
||||
"armatak" callExtension ["log", [_type, _message]]
|
||||
|
||||
@@ -18,4 +18,4 @@ switch (_type) do {
|
||||
default {
|
||||
systemChat format ["%1 - %2", _title, _message];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define build 0
|
||||
#define major 1
|
||||
#define minor 1
|
||||
#define patch 0
|
||||
#define patch 0
|
||||
|
||||
Reference in New Issue
Block a user