mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-17 02:22:48 +00:00
added end of line in all files
This commit is contained in:
@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
|
|||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
PREP_RECOMPILE_END;
|
PREP_RECOMPILE_END;
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
|
|||||||
@@ -32,4 +32,4 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "dialog.hpp"
|
#include "dialog.hpp"
|
||||||
|
|||||||
@@ -71,4 +71,4 @@ class armatak_udp_socket_start_dialog {
|
|||||||
h = "0.055 * safezoneH";
|
h = "0.055 * safezoneH";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
* [player] call armatak_client_fnc_convertClientLocation;
|
* [player] call armatak_client_fnc_convertClientLocation;
|
||||||
*
|
*
|
||||||
* Public: Yes
|
* Public: Yes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
params["_latitude", "_longitude", "_altitude"];
|
params["_latitude", "_longitude", "_altitude"];
|
||||||
|
|
||||||
@@ -82,4 +82,4 @@ switch (toLower worldName) do {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
_realLocation
|
_realLocation
|
||||||
|
|||||||
@@ -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 = [_uuid, _pos select 0, _pos select 1, _pos select 2, _callsign, _bearing, _speed, _callsign];
|
||||||
|
|
||||||
_payload
|
_payload
|
||||||
|
|||||||
@@ -28,4 +28,4 @@ player setVariable [QGVAR(eudConnected), true];
|
|||||||
}, 0.5, []] call CBA_fnc_addPerFrameHandler;
|
}, 0.5, []] call CBA_fnc_addPerFrameHandler;
|
||||||
|
|
||||||
deleteVehicle _logic;
|
deleteVehicle _logic;
|
||||||
closeDialog 1;
|
closeDialog 1;
|
||||||
|
|||||||
@@ -157,4 +157,4 @@ class Cfg3den {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -88,4 +88,4 @@ class CfgFunctions {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
PREP(logMessage);
|
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"];
|
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"
|
#include "XEH_PREP.hpp"
|
||||||
PREP_RECOMPILE_END;
|
PREP_RECOMPILE_END;
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#include "script_component.hpp"
|
#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];
|
_dpCot = [_link_uid, _contact_callsign, _digitalPointerPosition select 0, _digitalPointerPosition select 1, _digitalPointerPosition select 2];
|
||||||
|
|
||||||
"armatak" callExtension ["tcp_socket:send_digital_pointer_cot", [_dpCot]];
|
"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];
|
_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;
|
_group_role = [_x] call armatak_fnc_extract_group_role;
|
||||||
|
|
||||||
[_x, _callsign, _group_name, _group_role] call armatak_fnc_send_eud_cot;
|
[_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];
|
_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 {
|
} else {
|
||||||
_warning = format ["<t color='#FF0021'>ARMATAK</t><br/> %1", "There is no TCP Socket running to be stopped"];
|
_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;
|
[[_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;
|
_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 = 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 = 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 = armatak_attribute_unit_callsign;
|
||||||
};
|
};
|
||||||
|
|
||||||
_callsign
|
_callsign
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ if (isNil "_uuid") then {
|
|||||||
_unit setVariable ["_atak_uid", _uuid];
|
_unit setVariable ["_atak_uid", _uuid];
|
||||||
};
|
};
|
||||||
|
|
||||||
_uuid
|
_uuid
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ if (_nameCount == 1) then {
|
|||||||
} else {
|
} else {
|
||||||
format ["%1 %2", _firstName select [0, 1], _lastName]
|
format ["%1 %2", _firstName select [0, 1], _lastName]
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
params[_type, _message];
|
params[_type, _message];
|
||||||
|
|
||||||
"armatak" callExtension ["log", [_type, _message]]
|
"armatak" callExtension ["log", [_type, _message]]
|
||||||
|
|||||||
@@ -18,4 +18,4 @@ switch (_type) do {
|
|||||||
default {
|
default {
|
||||||
systemChat format ["%1 - %2", _title, _message];
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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;
|
_RealLongitude = (_playerLongitude / _playerMaxLongitude) * _LongitudeDifference + _MapMinLongitude;
|
||||||
_RealLatitude = (_playerLatitude / _playerMaxLatitude) * _LatitudeDifference + _MapMinLatitude;
|
_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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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;
|
_RealLongitude = (_playerLongitude / _playerMaxLongitude) * _LongitudeDifference + _MapMinLongitude;
|
||||||
_RealLatitude = (_playerLatitude / _playerMaxLatitude) * _LatitudeDifference + _MapMinLatitude;
|
_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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 _realLat = _SW_lat + (_fx * _edgeSE_lat) + (_fy * _edgeNW_lat);
|
||||||
private _realLon = _SW_lon + (_fx * _edgeSE_lon) + (_fy * _edgeNW_lon);
|
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 EXTENSION_NAME QUOTE(armatak)
|
||||||
|
|
||||||
#define CALLEXT(var) EXTENSION_NAME callExtension [QUOTE(var),[]]
|
#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 build 0
|
||||||
#define major 1
|
#define major 1
|
||||||
#define minor 1
|
#define minor 1
|
||||||
#define patch 0
|
#define patch 0
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ class Extended_PreInit_EventHandlers {
|
|||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -87,4 +87,4 @@ class CfgVehicles {
|
|||||||
function = QFUNC(routerEntityAdd);
|
function = QFUNC(routerEntityAdd);
|
||||||
icon = "\a3\Modules_F_Curator\Data\iconRadio_ca.paa";
|
icon = "\a3\Modules_F_Curator\Data\iconRadio_ca.paa";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
|
|||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
PREP_RECOMPILE_END;
|
PREP_RECOMPILE_END;
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ class CfgPatches {
|
|||||||
|
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "dialog.hpp"
|
#include "dialog.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
|
|||||||
@@ -139,4 +139,4 @@ class armatak_zeus_custom_marker_dialog {
|
|||||||
h = "0.055 * safezoneH";
|
h = "0.055 * safezoneH";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -54,4 +54,4 @@ if (isServer) exitWith {
|
|||||||
}, 2, []] call CBA_fnc_addPerFrameHandler;
|
}, 2, []] call CBA_fnc_addPerFrameHandler;
|
||||||
};
|
};
|
||||||
|
|
||||||
true;
|
true;
|
||||||
|
|||||||
@@ -57,4 +57,4 @@ GVAR(syncedUnits) = missionNamespace getVariable "armatak_marked_units";
|
|||||||
} forEach GVAR(syncedUnits);
|
} forEach GVAR(syncedUnits);
|
||||||
}, 2, []] call CBA_fnc_addPerFrameHandler;
|
}, 2, []] call CBA_fnc_addPerFrameHandler;
|
||||||
deleteVehicle _logic;
|
deleteVehicle _logic;
|
||||||
closeDialog 1;
|
closeDialog 1;
|
||||||
|
|||||||
@@ -41,4 +41,4 @@ switch (false) do {
|
|||||||
|
|
||||||
deleteVehicle _logic;
|
deleteVehicle _logic;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,4 +39,4 @@ switch (false) do {
|
|||||||
|
|
||||||
deleteVehicle _logic;
|
deleteVehicle _logic;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class CfgVehicles {
|
|||||||
canSetArea = 0;
|
canSetArea = 0;
|
||||||
canSetAreaShape = 0;
|
canSetAreaShape = 0;
|
||||||
canSetAreaHeight = 0;
|
canSetAreaHeight = 0;
|
||||||
|
/*
|
||||||
class Attributes: AttributesBase {
|
class Attributes: AttributesBase {
|
||||||
class GVAR(instanceAddress): Edit {
|
class GVAR(instanceAddress): Edit {
|
||||||
property = QGVAR(instanceAddress);
|
property = QGVAR(instanceAddress);
|
||||||
@@ -47,26 +47,27 @@ class CfgVehicles {
|
|||||||
defaultValue = "localhost";
|
defaultValue = "localhost";
|
||||||
};
|
};
|
||||||
class GVAR(instancePort): Edit {
|
class GVAR(instancePort): Edit {
|
||||||
property = "armatak_module_mediamtx_video_stream_instance_port";
|
property = QGVAR(instancePort);
|
||||||
displayname = "MediaMTX Provider Port";
|
displayname = QUOTE(MediaMTX Provider Port);
|
||||||
tooltip = "MediaMTX Provider Port for handling video streams";
|
tooltip = QUOTE(MediaMTX Provider Port for handling video streams);
|
||||||
typeName = "STRING";
|
typeName = "STRING";
|
||||||
defaultValue = "8554";
|
defaultValue = "8554";
|
||||||
};
|
};
|
||||||
class GVAR(instanceAuthUser): Edit {
|
class GVAR(instanceAuthUser): Edit {
|
||||||
property = QGVAR(instanceAuthUser);
|
property = QGVAR(instanceAuthUser);
|
||||||
displayname = "MediaMTX Provider Username";
|
displayname = QUOTE(MediaMTX Provider Username);
|
||||||
tooltip = "MediaMTX Provider Instance Username";
|
tooltip = QUOTE(MediaMTX Provider Instance Username);
|
||||||
typeName = "STRING";
|
typeName = "STRING";
|
||||||
defaultValue = "administrator";
|
defaultValue = "administrator";
|
||||||
};
|
};
|
||||||
class GVAR(instanceAuthPassword): Edit {
|
class GVAR(instanceAuthPassword): Edit {
|
||||||
property = QGVAR(instanceAuthPassword);
|
property = QGVAR(instanceAuthPassword);
|
||||||
displayname = "MediaMTX Provider Password";
|
displayname = QUOTE(MediaMTX Provider Password);
|
||||||
tooltip = "MediaMTX Provider Instance Password";
|
tooltip = QUOTE(MediaMTX Provider Instance Password);
|
||||||
typeName = "STRING";
|
typeName = "STRING";
|
||||||
defaultValue = "password";
|
defaultValue = "password";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
PREP(videoParser);
|
PREP(videoParser);
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ PREP_RECOMPILE_START;
|
|||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
PREP_RECOMPILE_END;
|
PREP_RECOMPILE_END;
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ class CfgPatches {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
|
|||||||
@@ -80,4 +80,4 @@ if (isServer) exitWith {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
true;
|
true;
|
||||||
|
|||||||
2
mod.cpp
2
mod.cpp
@@ -11,4 +11,4 @@ overview = "ARMATAK Addons allows Arma 3 sessions to be parsed to TAK Clients";
|
|||||||
hideName = 0;
|
hideName = 0;
|
||||||
hidePicture = 0;
|
hidePicture = 0;
|
||||||
dlcColor[] = { 0.23, 0.39, 0.30, 1 };
|
dlcColor[] = { 0.23, 0.39, 0.30, 1 };
|
||||||
logoSmall = "logo_small_ca.paa";
|
logoSmall = "logo_small_ca.paa";
|
||||||
|
|||||||
Reference in New Issue
Block a user