From 51c8b546c09cae9165f51fb6156322cdc5f8df89 Mon Sep 17 00:00:00 2001 From: Magnetar Date: Thu, 4 Oct 2018 16:43:06 +0200 Subject: [PATCH] Include before headers --- addons/bft/functions/fnc_addDefaultSideEncryptionKey.sqf | 2 +- addons/bft/functions/fnc_chatMessage_getId.sqf | 2 +- addons/bft/functions/fnc_chatMessages_get.sqf | 2 +- addons/bft/functions/fnc_chatMessages_send.sqf | 2 +- addons/bft/functions/fnc_checkInventory.sqf | 2 +- addons/bft/functions/fnc_checkItem.sqf | 2 +- addons/bft/functions/fnc_createGroup.sqf | 2 +- addons/bft/functions/fnc_deviceDataToMapData.sqf | 2 +- addons/bft/functions/fnc_encryptionKeyMatch.sqf | 2 +- addons/bft/functions/fnc_generateEncryptionKey.sqf | 2 +- addons/bft/functions/fnc_getAllReportingModes.sqf | 2 +- addons/bft/functions/fnc_getDeviceData.sqf | 2 +- addons/bft/functions/fnc_getEncryptionKey.sqf | 2 +- addons/bft/functions/fnc_getGroupColor.sqf | 2 +- addons/bft/functions/fnc_getGroupData.sqf | 2 +- addons/bft/functions/fnc_getInterfaces.sqf | 2 +- addons/bft/functions/fnc_getMagazineID.sqf | 2 +- addons/bft/functions/fnc_getOwnedDevices.sqf | 2 +- addons/bft/functions/fnc_getTypeIcon.sqf | 2 +- addons/bft/functions/fnc_handleAddDeviceData.sqf | 2 +- addons/bft/functions/fnc_handleColorFilteringChanged.sqf | 2 +- addons/bft/functions/fnc_handleDeviceClosed.sqf | 2 +- addons/bft/functions/fnc_handleDeviceDataChanged.sqf | 2 +- addons/bft/functions/fnc_handleDeviceOpened.sqf | 2 +- addons/bft/functions/fnc_handleEngine.sqf | 2 +- addons/bft/functions/fnc_handleItemCreated.sqf | 2 +- addons/bft/functions/fnc_handleKilled.sqf | 2 +- .../bft/functions/fnc_handleRegisteredEncryptionKeysChanged.sqf | 2 +- addons/bft/functions/fnc_handleRegisteredModeChanged.sqf | 2 +- addons/bft/functions/fnc_handleRequestAllData.sqf | 2 +- addons/bft/functions/fnc_handleSyncedArrayDelete.sqf | 2 +- addons/bft/functions/fnc_handleSyncedArrayPushback.sqf | 2 +- addons/bft/functions/fnc_handleSyncedArrayUpdate.sqf | 2 +- addons/bft/functions/fnc_handleUpdateAllEncryptionKeys.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceAppData.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceCallsign.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceElementType.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceGroup.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceKeys.sqf | 2 +- addons/bft/functions/fnc_handleUpdateDeviceOwner.sqf | 2 +- addons/bft/functions/fnc_handleVehicleDeviceKilled.sqf | 2 +- addons/bft/functions/fnc_isDeviceOwned.sqf | 2 +- addons/bft/functions/fnc_removeDeviceByOwner.sqf | 2 +- addons/bft/functions/fnc_setDeviceAppData.sqf | 2 +- addons/bft/functions/fnc_setDeviceCallsign.sqf | 2 +- addons/bft/functions/fnc_setDeviceElementType.sqf | 2 +- addons/bft/functions/fnc_setDeviceGroup.sqf | 2 +- addons/bft/functions/fnc_setDeviceKeys.sqf | 2 +- addons/bft/functions/fnc_setDeviceOwner.sqf | 2 +- addons/bft/functions/fnc_syncedArrayDelete.sqf | 2 +- addons/bft/functions/fnc_syncedArrayGetNextID.sqf | 2 +- addons/bft/functions/fnc_syncedArrayPushback.sqf | 2 +- addons/bft/functions/fnc_syncedArrayUpdate.sqf | 2 +- addons/bft/functions/fnc_updateAllEncryptionKeys.sqf | 2 +- addons/bft/functions/fnc_updateAvailableDevicesPosition.sqf | 2 +- addons/bft/functions/fnc_updateGroup.sqf | 2 +- addons/bft/functions/fnc_updateRegisteredEncryptionKeys.sqf | 2 +- addons/bft/functions/fnc_updateRegisteredModes.sqf | 2 +- addons/bft/functions/fnc_validateInventory.sqf | 2 +- addons/bft/functions/fnc_vehicleInit.sqf | 2 +- addons/bft_devices/functions/fnc_addNotification.sqf | 2 +- addons/bft_devices/functions/fnc_canOpenDevice.sqf | 2 +- addons/bft_devices/functions/fnc_centerMapOnPlayerPosition.sqf | 2 +- addons/bft_devices/functions/fnc_createAction.sqf | 2 +- addons/bft_devices/functions/fnc_createHelmetCam.sqf | 2 +- addons/bft_devices/functions/fnc_createUavCam.sqf | 2 +- addons/bft_devices/functions/fnc_ctrlMapCenter.sqf | 2 +- addons/bft_devices/functions/fnc_currentTime.sqf | 2 +- addons/bft_devices/functions/fnc_decBrightness.sqf | 2 +- addons/bft_devices/functions/fnc_decTextSize.sqf | 2 +- addons/bft_devices/functions/fnc_degreeToOctant.sqf | 2 +- addons/bft_devices/functions/fnc_deleteHelmetCam.sqf | 2 +- addons/bft_devices/functions/fnc_deleteUavCam.sqf | 2 +- addons/bft_devices/functions/fnc_dirTo.sqf | 2 +- addons/bft_devices/functions/fnc_distance2D.sqf | 2 +- addons/bft_devices/functions/fnc_getBFTActionChildren.sqf | 2 +- addons/bft_devices/functions/fnc_getBackgroundPosition.sqf | 2 +- .../functions/fnc_getInterfaceSettingsFromConfig.sqf | 2 +- addons/bft_devices/functions/fnc_getSettings.sqf | 2 +- addons/bft_devices/functions/fnc_ifClose.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnDrawBFT.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnKeyDown.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnLBSelChanged.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnLoad.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnMouseButtonUp.sqf | 2 +- addons/bft_devices/functions/fnc_ifOnUnload.sqf | 2 +- addons/bft_devices/functions/fnc_ifOpen.sqf | 2 +- addons/bft_devices/functions/fnc_ifUpdate.sqf | 2 +- addons/bft_devices/functions/fnc_incBrightness.sqf | 2 +- addons/bft_devices/functions/fnc_incTextSize.sqf | 2 +- addons/bft_devices/functions/fnc_isDialog.sqf | 2 +- addons/bft_devices/functions/fnc_msgGuiLoad.sqf | 2 +- addons/bft_devices/functions/fnc_onIfToggleKey.sqf | 2 +- addons/bft_devices/functions/fnc_onIfTogglePositionKey.sqf | 2 +- addons/bft_devices/functions/fnc_onIfZoomKey.sqf | 2 +- addons/bft_devices/functions/fnc_onPlayerChanged.sqf | 2 +- addons/bft_devices/functions/fnc_openDevice.sqf | 2 +- addons/bft_devices/functions/fnc_processNotifications.sqf | 2 +- addons/bft_devices/functions/fnc_remoteControlUAV.sqf | 2 +- addons/bft_devices/functions/fnc_setInterfacePosition.sqf | 2 +- addons/bft_devices/functions/fnc_setSettings.sqf | 2 +- addons/bft_devices/functions/fnc_toggleIconText.sqf | 2 +- addons/bft_devices/functions/fnc_toggleInterfaceMode.sqf | 2 +- addons/bft_devices/functions/fnc_toggleMapMenu.sqf | 2 +- addons/bft_devices/functions/fnc_toggleMapTools.sqf | 2 +- addons/bft_devices/functions/fnc_toggleMapType.sqf | 2 +- addons/bft_devices/functions/fnc_toggleNightMode.sqf | 2 +- addons/bft_devices/functions/fnc_updateHCamList.sqf | 2 +- addons/bft_devices/functions/fnc_updateTextAndIconSize.sqf | 2 +- addons/bft_devices/functions/fnc_updateUAVList.sqf | 2 +- addons/bft_drawing/functions/fnc_editingDraw_editBFT.sqf | 2 +- addons/bft_drawing/functions/fnc_mapDraw.sqf | 2 +- addons/bft_drawing/functions/fnc_setDrawText.sqf | 2 +- addons/bft_drawing/functions/fnc_updateDrawSize.sqf | 2 +- 114 files changed, 114 insertions(+), 114 deletions(-) diff --git a/addons/bft/functions/fnc_addDefaultSideEncryptionKey.sqf b/addons/bft/functions/fnc_addDefaultSideEncryptionKey.sqf index c1f26c08ba..06a26e87ff 100644 --- a/addons/bft/functions/fnc_addDefaultSideEncryptionKey.sqf +++ b/addons/bft/functions/fnc_addDefaultSideEncryptionKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_side", "_key"]; diff --git a/addons/bft/functions/fnc_chatMessage_getId.sqf b/addons/bft/functions/fnc_chatMessage_getId.sqf index 932f9ede29..6702c61773 100644 --- a/addons/bft/functions/fnc_chatMessage_getId.sqf +++ b/addons/bft/functions/fnc_chatMessage_getId.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Get Chat messages Id @@ -15,7 +16,6 @@ * Public: Yes */ -#include "script_component.hpp" params ["_deviceId", "_otherDeviceId"]; diff --git a/addons/bft/functions/fnc_chatMessages_get.sqf b/addons/bft/functions/fnc_chatMessages_get.sqf index a8ee4f2a8b..5275007d50 100644 --- a/addons/bft/functions/fnc_chatMessages_get.sqf +++ b/addons/bft/functions/fnc_chatMessages_get.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Get All Chat messages sent between two devices @@ -16,7 +17,6 @@ * Public: Yes */ -#include "script_component.hpp" params ["_deviceId", "_otherDeviceId"]; diff --git a/addons/bft/functions/fnc_chatMessages_send.sqf b/addons/bft/functions/fnc_chatMessages_send.sqf index a53440af4c..6965476a78 100644 --- a/addons/bft/functions/fnc_chatMessages_send.sqf +++ b/addons/bft/functions/fnc_chatMessages_send.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Get Chat messages Id @@ -15,7 +16,6 @@ * Public: Yes */ -#include "script_component.hpp" params ["_deviceId", "_otherDeviceId", "_message"]; diff --git a/addons/bft/functions/fnc_checkInventory.sqf b/addons/bft/functions/fnc_checkInventory.sqf index 770a9eaf70..1028bd0a65 100644 --- a/addons/bft/functions/fnc_checkInventory.sqf +++ b/addons/bft/functions/fnc_checkInventory.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_unit"]; diff --git a/addons/bft/functions/fnc_checkItem.sqf b/addons/bft/functions/fnc_checkItem.sqf index 3af5b13afe..fb290f3858 100644 --- a/addons/bft/functions/fnc_checkItem.sqf +++ b/addons/bft/functions/fnc_checkItem.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_unit", "_item"]; diff --git a/addons/bft/functions/fnc_createGroup.sqf b/addons/bft/functions/fnc_createGroup.sqf index 3eeb3442c6..e66a800e32 100644 --- a/addons/bft/functions/fnc_createGroup.sqf +++ b/addons/bft/functions/fnc_createGroup.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -13,7 +14,6 @@ * Public: No */ -#include "script_component.hpp" params ["_groupID"]; diff --git a/addons/bft/functions/fnc_deviceDataToMapData.sqf b/addons/bft/functions/fnc_deviceDataToMapData.sqf index 6e9576e152..84ca3816c3 100644 --- a/addons/bft/functions/fnc_deviceDataToMapData.sqf +++ b/addons/bft/functions/fnc_deviceDataToMapData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" private _deviceID = D_GET_ID(_this); private _owner = D_GET_OWNER(_this); diff --git a/addons/bft/functions/fnc_encryptionKeyMatch.sqf b/addons/bft/functions/fnc_encryptionKeyMatch.sqf index 3869afc3b8..003ad394db 100644 --- a/addons/bft/functions/fnc_encryptionKeyMatch.sqf +++ b/addons/bft/functions/fnc_encryptionKeyMatch.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_keySetOne", "_keySetTwo"]; diff --git a/addons/bft/functions/fnc_generateEncryptionKey.sqf b/addons/bft/functions/fnc_generateEncryptionKey.sqf index 75733e3a42..29ba76bd82 100644 --- a/addons/bft/functions/fnc_generateEncryptionKey.sqf +++ b/addons/bft/functions/fnc_generateEncryptionKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" private _newKeyArray = []; diff --git a/addons/bft/functions/fnc_getAllReportingModes.sqf b/addons/bft/functions/fnc_getAllReportingModes.sqf index 7fea71c543..b58b14da7f 100644 --- a/addons/bft/functions/fnc_getAllReportingModes.sqf +++ b/addons/bft/functions/fnc_getAllReportingModes.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -13,7 +14,6 @@ * Public: No */ -#include "script_component.hpp" private _deviceConfigs = "true" configClasses (configFile >> "ACE_BFT" >> "Devices"); diff --git a/addons/bft/functions/fnc_getDeviceData.sqf b/addons/bft/functions/fnc_getDeviceData.sqf index 3078d2edff..9ac9745a3a 100644 --- a/addons/bft/functions/fnc_getDeviceData.sqf +++ b/addons/bft/functions/fnc_getDeviceData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID"]; diff --git a/addons/bft/functions/fnc_getEncryptionKey.sqf b/addons/bft/functions/fnc_getEncryptionKey.sqf index e311f01aa3..2352e9b8ea 100644 --- a/addons/bft/functions/fnc_getEncryptionKey.sqf +++ b/addons/bft/functions/fnc_getEncryptionKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_side"]; diff --git a/addons/bft/functions/fnc_getGroupColor.sqf b/addons/bft/functions/fnc_getGroupColor.sqf index 74b657e309..4446e90f8b 100644 --- a/addons/bft/functions/fnc_getGroupColor.sqf +++ b/addons/bft/functions/fnc_getGroupColor.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_groupID"]; diff --git a/addons/bft/functions/fnc_getGroupData.sqf b/addons/bft/functions/fnc_getGroupData.sqf index e315a02a78..7f3c65a311 100644 --- a/addons/bft/functions/fnc_getGroupData.sqf +++ b/addons/bft/functions/fnc_getGroupData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_groupID"]; diff --git a/addons/bft/functions/fnc_getInterfaces.sqf b/addons/bft/functions/fnc_getInterfaces.sqf index 67e5580466..6a7a41396f 100644 --- a/addons/bft/functions/fnc_getInterfaces.sqf +++ b/addons/bft/functions/fnc_getInterfaces.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -17,7 +18,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_unit"]; diff --git a/addons/bft/functions/fnc_getMagazineID.sqf b/addons/bft/functions/fnc_getMagazineID.sqf index bb1de526f8..23aab6e3d0 100644 --- a/addons/bft/functions/fnc_getMagazineID.sqf +++ b/addons/bft/functions/fnc_getMagazineID.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_detailsEntry"]; diff --git a/addons/bft/functions/fnc_getOwnedDevices.sqf b/addons/bft/functions/fnc_getOwnedDevices.sqf index afe4bdcb86..22f0bf0477 100644 --- a/addons/bft/functions/fnc_getOwnedDevices.sqf +++ b/addons/bft/functions/fnc_getOwnedDevices.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_owner"]; diff --git a/addons/bft/functions/fnc_getTypeIcon.sqf b/addons/bft/functions/fnc_getTypeIcon.sqf index 679c354618..92797a1dfe 100644 --- a/addons/bft/functions/fnc_getTypeIcon.sqf +++ b/addons/bft/functions/fnc_getTypeIcon.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_side", "_type"]; diff --git a/addons/bft/functions/fnc_handleAddDeviceData.sqf b/addons/bft/functions/fnc_handleAddDeviceData.sqf index 12b722479a..d56ecd003f 100644 --- a/addons/bft/functions/fnc_handleAddDeviceData.sqf +++ b/addons/bft/functions/fnc_handleAddDeviceData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // [_magID, [_deviceSide, _deviceEncryptionKeys], _assignableInformation, _app, -1, _owner] diag_log format["added to deviceData: %1", _this]; diff --git a/addons/bft/functions/fnc_handleColorFilteringChanged.sqf b/addons/bft/functions/fnc_handleColorFilteringChanged.sqf index d4ff13850a..a977b37ce7 100644 --- a/addons/bft/functions/fnc_handleColorFilteringChanged.sqf +++ b/addons/bft/functions/fnc_handleColorFilteringChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" { private _groupID = (_x select 6) select 0; diff --git a/addons/bft/functions/fnc_handleDeviceClosed.sqf b/addons/bft/functions/fnc_handleDeviceClosed.sqf index 45c20a175b..cd3cd23742 100644 --- a/addons/bft/functions/fnc_handleDeviceClosed.sqf +++ b/addons/bft/functions/fnc_handleDeviceClosed.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" GVAR(currentOpenedDevice) = []; GVAR(registeredEncyptionKeys) = []; diff --git a/addons/bft/functions/fnc_handleDeviceDataChanged.sqf b/addons/bft/functions/fnc_handleDeviceDataChanged.sqf index 46eb9c3d5b..e8006cff60 100644 --- a/addons/bft/functions/fnc_handleDeviceDataChanged.sqf +++ b/addons/bft/functions/fnc_handleDeviceDataChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_data"]; diff --git a/addons/bft/functions/fnc_handleDeviceOpened.sqf b/addons/bft/functions/fnc_handleDeviceOpened.sqf index fa32196e97..40fd7bf68f 100644 --- a/addons/bft/functions/fnc_handleDeviceOpened.sqf +++ b/addons/bft/functions/fnc_handleDeviceOpened.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" // by default, consider the device not having a receiver private _refreshRateRX = -1; diff --git a/addons/bft/functions/fnc_handleEngine.sqf b/addons/bft/functions/fnc_handleEngine.sqf index 880e48835d..7f3c484740 100644 --- a/addons/bft/functions/fnc_handleEngine.sqf +++ b/addons/bft/functions/fnc_handleEngine.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_object", "_turnedOn"]; diff --git a/addons/bft/functions/fnc_handleItemCreated.sqf b/addons/bft/functions/fnc_handleItemCreated.sqf index eafc27debc..df60902cfc 100644 --- a/addons/bft/functions/fnc_handleItemCreated.sqf +++ b/addons/bft/functions/fnc_handleItemCreated.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -14,7 +15,6 @@ * Public: No */ -#include "script_component.hpp" params ["_owner", "_item", "_magazine", "_magID", ["_initialState", STATE_NORMAL]]; diff --git a/addons/bft/functions/fnc_handleKilled.sqf b/addons/bft/functions/fnc_handleKilled.sqf index df1e30ca98..3567559d86 100644 --- a/addons/bft/functions/fnc_handleKilled.sqf +++ b/addons/bft/functions/fnc_handleKilled.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_object"]; if (!isServer) exitwith {}; diff --git a/addons/bft/functions/fnc_handleRegisteredEncryptionKeysChanged.sqf b/addons/bft/functions/fnc_handleRegisteredEncryptionKeysChanged.sqf index 297579bfa9..de8e6d5aa1 100644 --- a/addons/bft/functions/fnc_handleRegisteredEncryptionKeysChanged.sqf +++ b/addons/bft/functions/fnc_handleRegisteredEncryptionKeysChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_newEncryptionKeys", "_add"]; diff --git a/addons/bft/functions/fnc_handleRegisteredModeChanged.sqf b/addons/bft/functions/fnc_handleRegisteredModeChanged.sqf index cdadcc831a..4b4889f360 100644 --- a/addons/bft/functions/fnc_handleRegisteredModeChanged.sqf +++ b/addons/bft/functions/fnc_handleRegisteredModeChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_viewModes", "_add"]; diff --git a/addons/bft/functions/fnc_handleRequestAllData.sqf b/addons/bft/functions/fnc_handleRequestAllData.sqf index 30a0f37a75..bf198c7977 100644 --- a/addons/bft/functions/fnc_handleRequestAllData.sqf +++ b/addons/bft/functions/fnc_handleRequestAllData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_origin"]; diff --git a/addons/bft/functions/fnc_handleSyncedArrayDelete.sqf b/addons/bft/functions/fnc_handleSyncedArrayDelete.sqf index 1519d86494..02c614ed59 100644 --- a/addons/bft/functions/fnc_handleSyncedArrayDelete.sqf +++ b/addons/bft/functions/fnc_handleSyncedArrayDelete.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal @@ -13,7 +14,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_elementID"]; diff --git a/addons/bft/functions/fnc_handleSyncedArrayPushback.sqf b/addons/bft/functions/fnc_handleSyncedArrayPushback.sqf index cb9ac1f5f0..3fb4953547 100644 --- a/addons/bft/functions/fnc_handleSyncedArrayPushback.sqf +++ b/addons/bft/functions/fnc_handleSyncedArrayPushback.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_data"]; diff --git a/addons/bft/functions/fnc_handleSyncedArrayUpdate.sqf b/addons/bft/functions/fnc_handleSyncedArrayUpdate.sqf index 697524edb6..2af7853f32 100644 --- a/addons/bft/functions/fnc_handleSyncedArrayUpdate.sqf +++ b/addons/bft/functions/fnc_handleSyncedArrayUpdate.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal @@ -14,7 +15,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_data"]; diff --git a/addons/bft/functions/fnc_handleUpdateAllEncryptionKeys.sqf b/addons/bft/functions/fnc_handleUpdateAllEncryptionKeys.sqf index cedc8d6f3c..88e94ec204 100644 --- a/addons/bft/functions/fnc_handleUpdateAllEncryptionKeys.sqf +++ b/addons/bft/functions/fnc_handleUpdateAllEncryptionKeys.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,4 +11,3 @@ * Public: No */ -#include "script_component.hpp" diff --git a/addons/bft/functions/fnc_handleUpdateDeviceAppData.sqf b/addons/bft/functions/fnc_handleUpdateDeviceAppData.sqf index 82b92fe65e..b39634683d 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceAppData.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceAppData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_newData"]; diff --git a/addons/bft/functions/fnc_handleUpdateDeviceCallsign.sqf b/addons/bft/functions/fnc_handleUpdateDeviceCallsign.sqf index e041a15947..31b0e3416d 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceCallsign.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceCallsign.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_callsign"]; diff --git a/addons/bft/functions/fnc_handleUpdateDeviceElementType.sqf b/addons/bft/functions/fnc_handleUpdateDeviceElementType.sqf index df806fcb7e..8c66242acf 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceElementType.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceElementType.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_elementType"]; diff --git a/addons/bft/functions/fnc_handleUpdateDeviceGroup.sqf b/addons/bft/functions/fnc_handleUpdateDeviceGroup.sqf index dbc66ff62c..296ab5a306 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceGroup.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceGroup.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_groupID"]; diff --git a/addons/bft/functions/fnc_handleUpdateDeviceKeys.sqf b/addons/bft/functions/fnc_handleUpdateDeviceKeys.sqf index c947c88e13..0718063bd6 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceKeys.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceKeys.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_keys"]; diff --git a/addons/bft/functions/fnc_handleUpdateDeviceOwner.sqf b/addons/bft/functions/fnc_handleUpdateDeviceOwner.sqf index a701471181..e02533f466 100644 --- a/addons/bft/functions/fnc_handleUpdateDeviceOwner.sqf +++ b/addons/bft/functions/fnc_handleUpdateDeviceOwner.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_newOwner"]; diff --git a/addons/bft/functions/fnc_handleVehicleDeviceKilled.sqf b/addons/bft/functions/fnc_handleVehicleDeviceKilled.sqf index 84bc2bb2d8..cfad67cf35 100644 --- a/addons/bft/functions/fnc_handleVehicleDeviceKilled.sqf +++ b/addons/bft/functions/fnc_handleVehicleDeviceKilled.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -10,7 +11,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceId"]; diff --git a/addons/bft/functions/fnc_isDeviceOwned.sqf b/addons/bft/functions/fnc_isDeviceOwned.sqf index 9a5d730841..80d7cf94d1 100644 --- a/addons/bft/functions/fnc_isDeviceOwned.sqf +++ b/addons/bft/functions/fnc_isDeviceOwned.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_unit", "_deviceID"]; diff --git a/addons/bft/functions/fnc_removeDeviceByOwner.sqf b/addons/bft/functions/fnc_removeDeviceByOwner.sqf index f29faf87af..376594467d 100644 --- a/addons/bft/functions/fnc_removeDeviceByOwner.sqf +++ b/addons/bft/functions/fnc_removeDeviceByOwner.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Remove all devices of given owner in the available devices collection @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceData"]; diff --git a/addons/bft/functions/fnc_setDeviceAppData.sqf b/addons/bft/functions/fnc_setDeviceAppData.sqf index d9fe160652..afa843ff78 100644 --- a/addons/bft/functions/fnc_setDeviceAppData.sqf +++ b/addons/bft/functions/fnc_setDeviceAppData.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_deviceData"]; diff --git a/addons/bft/functions/fnc_setDeviceCallsign.sqf b/addons/bft/functions/fnc_setDeviceCallsign.sqf index bca9829453..459f211d52 100644 --- a/addons/bft/functions/fnc_setDeviceCallsign.sqf +++ b/addons/bft/functions/fnc_setDeviceCallsign.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_callsign"]; diff --git a/addons/bft/functions/fnc_setDeviceElementType.sqf b/addons/bft/functions/fnc_setDeviceElementType.sqf index 56a3030a64..ce71714fa5 100644 --- a/addons/bft/functions/fnc_setDeviceElementType.sqf +++ b/addons/bft/functions/fnc_setDeviceElementType.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_elementType"]; diff --git a/addons/bft/functions/fnc_setDeviceGroup.sqf b/addons/bft/functions/fnc_setDeviceGroup.sqf index 4c100e6fe0..90c24d4166 100644 --- a/addons/bft/functions/fnc_setDeviceGroup.sqf +++ b/addons/bft/functions/fnc_setDeviceGroup.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_groupID"]; diff --git a/addons/bft/functions/fnc_setDeviceKeys.sqf b/addons/bft/functions/fnc_setDeviceKeys.sqf index 558dc84330..5c72b7c0c4 100644 --- a/addons/bft/functions/fnc_setDeviceKeys.sqf +++ b/addons/bft/functions/fnc_setDeviceKeys.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_keys"]; diff --git a/addons/bft/functions/fnc_setDeviceOwner.sqf b/addons/bft/functions/fnc_setDeviceOwner.sqf index 6f85bb6380..60a5308c04 100644 --- a/addons/bft/functions/fnc_setDeviceOwner.sqf +++ b/addons/bft/functions/fnc_setDeviceOwner.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_newOwner"]; diff --git a/addons/bft/functions/fnc_syncedArrayDelete.sqf b/addons/bft/functions/fnc_syncedArrayDelete.sqf index d12108ab34..c179b2c3cd 100644 --- a/addons/bft/functions/fnc_syncedArrayDelete.sqf +++ b/addons/bft/functions/fnc_syncedArrayDelete.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_dataID"]; diff --git a/addons/bft/functions/fnc_syncedArrayGetNextID.sqf b/addons/bft/functions/fnc_syncedArrayGetNextID.sqf index 6a883a67ef..b06e07e5ea 100644 --- a/addons/bft/functions/fnc_syncedArrayGetNextID.sqf +++ b/addons/bft/functions/fnc_syncedArrayGetNextID.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName"]; diff --git a/addons/bft/functions/fnc_syncedArrayPushback.sqf b/addons/bft/functions/fnc_syncedArrayPushback.sqf index 8f7cf36a8c..5fe50656bd 100644 --- a/addons/bft/functions/fnc_syncedArrayPushback.sqf +++ b/addons/bft/functions/fnc_syncedArrayPushback.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_data"]; diff --git a/addons/bft/functions/fnc_syncedArrayUpdate.sqf b/addons/bft/functions/fnc_syncedArrayUpdate.sqf index c6d1c0ea2b..aaecc2ae68 100644 --- a/addons/bft/functions/fnc_syncedArrayUpdate.sqf +++ b/addons/bft/functions/fnc_syncedArrayUpdate.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -12,7 +13,6 @@ * Public: No */ -#include "script_component.hpp" params ["_varName", "_data"]; diff --git a/addons/bft/functions/fnc_updateAllEncryptionKeys.sqf b/addons/bft/functions/fnc_updateAllEncryptionKeys.sqf index 59894cf1a8..0fc55da2ae 100644 --- a/addons/bft/functions/fnc_updateAllEncryptionKeys.sqf +++ b/addons/bft/functions/fnc_updateAllEncryptionKeys.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -13,7 +14,6 @@ * Public: No */ -#include "script_component.hpp" params ["_side", " _oldKey", " _newKey"]; diff --git a/addons/bft/functions/fnc_updateAvailableDevicesPosition.sqf b/addons/bft/functions/fnc_updateAvailableDevicesPosition.sqf index 77080c82a3..ebcb28bf2b 100644 --- a/addons/bft/functions/fnc_updateAvailableDevicesPosition.sqf +++ b/addons/bft/functions/fnc_updateAvailableDevicesPosition.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal, Gundy * @@ -21,7 +22,6 @@ * Public: No */ -#include "script_component.hpp" params ["_startNewLoop", "_refreshRateRX"]; diff --git a/addons/bft/functions/fnc_updateGroup.sqf b/addons/bft/functions/fnc_updateGroup.sqf index 0935105169..02c1ab7c7a 100644 --- a/addons/bft/functions/fnc_updateGroup.sqf +++ b/addons/bft/functions/fnc_updateGroup.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -13,7 +14,6 @@ * Public: No */ -#include "script_component.hpp" if (count _this < 3) exitwith {}; diff --git a/addons/bft/functions/fnc_updateRegisteredEncryptionKeys.sqf b/addons/bft/functions/fnc_updateRegisteredEncryptionKeys.sqf index d7a7f7ccdd..474e776ab5 100644 --- a/addons/bft/functions/fnc_updateRegisteredEncryptionKeys.sqf +++ b/addons/bft/functions/fnc_updateRegisteredEncryptionKeys.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal, Gundy * @@ -15,7 +16,6 @@ * Public: No */ -#include "script_component.hpp" params ["_keys", "_add"]; diff --git a/addons/bft/functions/fnc_updateRegisteredModes.sqf b/addons/bft/functions/fnc_updateRegisteredModes.sqf index 179bbe457e..d278f26e4d 100644 --- a/addons/bft/functions/fnc_updateRegisteredModes.sqf +++ b/addons/bft/functions/fnc_updateRegisteredModes.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal, Gundy * @@ -15,7 +16,6 @@ * Public: No */ -#include "script_component.hpp" params ["_modes", "_add"]; diff --git a/addons/bft/functions/fnc_validateInventory.sqf b/addons/bft/functions/fnc_validateInventory.sqf index 35d0cb02db..283031dcbc 100644 --- a/addons/bft/functions/fnc_validateInventory.sqf +++ b/addons/bft/functions/fnc_validateInventory.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_unit"]; diff --git a/addons/bft/functions/fnc_vehicleInit.sqf b/addons/bft/functions/fnc_vehicleInit.sqf index 2261e0602e..afbf5240fa 100644 --- a/addons/bft/functions/fnc_vehicleInit.sqf +++ b/addons/bft/functions/fnc_vehicleInit.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" params ["_vehicle"]; diff --git a/addons/bft_devices/functions/fnc_addNotification.sqf b/addons/bft_devices/functions/fnc_addNotification.sqf index 43f03bf8ee..2b4749af1a 100644 --- a/addons/bft_devices/functions/fnc_addNotification.sqf +++ b/addons/bft_devices/functions/fnc_addNotification.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -18,7 +19,6 @@ * Public: No */ -#include "script_component.hpp" params ["_appID", "_notification", "_decayTime"]; diff --git a/addons/bft_devices/functions/fnc_canOpenDevice.sqf b/addons/bft_devices/functions/fnc_canOpenDevice.sqf index 79cbadc4bc..8775ed0714 100644 --- a/addons/bft_devices/functions/fnc_canOpenDevice.sqf +++ b/addons/bft_devices/functions/fnc_canOpenDevice.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Check if a device can be opened @@ -15,7 +16,6 @@ * Public: No */ -#include "script_component.hpp" params ["_player", "_target", "_targetDeviceType"]; diff --git a/addons/bft_devices/functions/fnc_centerMapOnPlayerPosition.sqf b/addons/bft_devices/functions/fnc_centerMapOnPlayerPosition.sqf index 900843a7df..ed1ec80c69 100644 --- a/addons/bft_devices/functions/fnc_centerMapOnPlayerPosition.sqf +++ b/addons/bft_devices/functions/fnc_centerMapOnPlayerPosition.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" [_this select 0, [["mapWorldPos", getPosASL vehicle ACE_player]], true, true] call FUNC(setSettings); diff --git a/addons/bft_devices/functions/fnc_createAction.sqf b/addons/bft_devices/functions/fnc_createAction.sqf index 66c3902851..d3f8f90894 100644 --- a/addons/bft_devices/functions/fnc_createAction.sqf +++ b/addons/bft_devices/functions/fnc_createAction.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Create and add a new device action to the BFT action collection @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_player", "_target", "_targetDeviceType", "_displayName", ["_icon", ""]]; diff --git a/addons/bft_devices/functions/fnc_createHelmetCam.sqf b/addons/bft_devices/functions/fnc_createHelmetCam.sqf index 34ac719627..670425a047 100644 --- a/addons/bft_devices/functions/fnc_createHelmetCam.sqf +++ b/addons/bft_devices/functions/fnc_createHelmetCam.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -17,7 +18,6 @@ * Public: No */ -#include "script_component.hpp" params ["_renderTarget", "_data"]; diff --git a/addons/bft_devices/functions/fnc_createUavCam.sqf b/addons/bft_devices/functions/fnc_createUavCam.sqf index 53cf659974..740e282f28 100644 --- a/addons/bft_devices/functions/fnc_createUavCam.sqf +++ b/addons/bft_devices/functions/fnc_createUavCam.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -22,7 +23,6 @@ * Public: No */ -#include "script_component.hpp" params ["_deviceID", "_uavCams"]; diff --git a/addons/bft_devices/functions/fnc_ctrlMapCenter.sqf b/addons/bft_devices/functions/fnc_ctrlMapCenter.sqf index f63a557667..6c0e56c5b7 100644 --- a/addons/bft_devices/functions/fnc_ctrlMapCenter.sqf +++ b/addons/bft_devices/functions/fnc_ctrlMapCenter.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_ctrlScreen"]; diff --git a/addons/bft_devices/functions/fnc_currentTime.sqf b/addons/bft_devices/functions/fnc_currentTime.sqf index 853c5cb110..9478cf315c 100644 --- a/addons/bft_devices/functions/fnc_currentTime.sqf +++ b/addons/bft_devices/functions/fnc_currentTime.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" private _date = date; private _hour = _date select 3; diff --git a/addons/bft_devices/functions/fnc_decBrightness.sqf b/addons/bft_devices/functions/fnc_decBrightness.sqf index 78ed79cb13..1ae766aaf2 100644 --- a/addons/bft_devices/functions/fnc_decBrightness.sqf +++ b/addons/bft_devices/functions/fnc_decBrightness.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_decTextSize.sqf b/addons/bft_devices/functions/fnc_decTextSize.sqf index 4b05b2db64..6235980d84 100644 --- a/addons/bft_devices/functions/fnc_decTextSize.sqf +++ b/addons/bft_devices/functions/fnc_decTextSize.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_degreeToOctant.sqf b/addons/bft_devices/functions/fnc_degreeToOctant.sqf index 9063cb3845..294d6c74c8 100644 --- a/addons/bft_devices/functions/fnc_degreeToOctant.sqf +++ b/addons/bft_devices/functions/fnc_degreeToOctant.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_dir"]; diff --git a/addons/bft_devices/functions/fnc_deleteHelmetCam.sqf b/addons/bft_devices/functions/fnc_deleteHelmetCam.sqf index b70aad6fa8..4d63395658 100644 --- a/addons/bft_devices/functions/fnc_deleteHelmetCam.sqf +++ b/addons/bft_devices/functions/fnc_deleteHelmetCam.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" if (!isNil QGVAR(hCams)) then { private _cam = GVAR(hCams) select 0; diff --git a/addons/bft_devices/functions/fnc_deleteUavCam.sqf b/addons/bft_devices/functions/fnc_deleteUavCam.sqf index 2582c44d97..8001555855 100644 --- a/addons/bft_devices/functions/fnc_deleteUavCam.sqf +++ b/addons/bft_devices/functions/fnc_deleteUavCam.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -21,7 +22,6 @@ * Public: No */ -#include "script_component.hpp" params [ ["_camToDelete", objNull, [objNull]] ]; diff --git a/addons/bft_devices/functions/fnc_dirTo.sqf b/addons/bft_devices/functions/fnc_dirTo.sqf index 915a33ed7b..7b3efd767b 100644 --- a/addons/bft_devices/functions/fnc_dirTo.sqf +++ b/addons/bft_devices/functions/fnc_dirTo.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -17,7 +18,6 @@ * Public: No */ -#include "script_component.hpp" params ["_pos1", "_pos2"]; diff --git a/addons/bft_devices/functions/fnc_distance2D.sqf b/addons/bft_devices/functions/fnc_distance2D.sqf index 0b9047d2fb..d267becffc 100644 --- a/addons/bft_devices/functions/fnc_distance2D.sqf +++ b/addons/bft_devices/functions/fnc_distance2D.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -17,7 +18,6 @@ * Public: No */ -#include "script_component.hpp" params ["_pos1", "_pos2"]; diff --git a/addons/bft_devices/functions/fnc_getBFTActionChildren.sqf b/addons/bft_devices/functions/fnc_getBFTActionChildren.sqf index 3524a374de..a67fd58b40 100644 --- a/addons/bft_devices/functions/fnc_getBFTActionChildren.sqf +++ b/addons/bft_devices/functions/fnc_getBFTActionChildren.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Gets magazine children for interaciton menu @@ -15,7 +16,6 @@ * Public: No */ -#include "script_component.hpp" params ["_target", "_player"]; diff --git a/addons/bft_devices/functions/fnc_getBackgroundPosition.sqf b/addons/bft_devices/functions/fnc_getBackgroundPosition.sqf index e2df957a0f..28e33b306b 100644 --- a/addons/bft_devices/functions/fnc_getBackgroundPosition.sqf +++ b/addons/bft_devices/functions/fnc_getBackgroundPosition.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -18,7 +19,6 @@ * Public: No */ -#include "script_component.hpp" #include "\z\ace\addons\bft_devices\UI\defines\shared_defines.hpp" diff --git a/addons/bft_devices/functions/fnc_getInterfaceSettingsFromConfig.sqf b/addons/bft_devices/functions/fnc_getInterfaceSettingsFromConfig.sqf index e670036935..74a18e30a0 100644 --- a/addons/bft_devices/functions/fnc_getInterfaceSettingsFromConfig.sqf +++ b/addons/bft_devices/functions/fnc_getInterfaceSettingsFromConfig.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interface"]; diff --git a/addons/bft_devices/functions/fnc_getSettings.sqf b/addons/bft_devices/functions/fnc_getSettings.sqf index 319124c5db..bbe6c97c95 100644 --- a/addons/bft_devices/functions/fnc_getSettings.sqf +++ b/addons/bft_devices/functions/fnc_getSettings.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -26,7 +27,6 @@ * Public: No */ -#include "script_component.hpp" private ["_property"]; diff --git a/addons/bft_devices/functions/fnc_ifClose.sqf b/addons/bft_devices/functions/fnc_ifClose.sqf index f8920c9f0b..e73ad2dfc3 100644 --- a/addons/bft_devices/functions/fnc_ifClose.sqf +++ b/addons/bft_devices/functions/fnc_ifClose.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" if !(I_CLOSED) then { // [_ifType,_displayName,_player,_playerKilledEhId,_vehicle,_vehicleGetOutEhId] diff --git a/addons/bft_devices/functions/fnc_ifOnDrawBFT.sqf b/addons/bft_devices/functions/fnc_ifOnDrawBFT.sqf index 51d11d3d68..790d3d39df 100644 --- a/addons/bft_devices/functions/fnc_ifOnDrawBFT.sqf +++ b/addons/bft_devices/functions/fnc_ifOnDrawBFT.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -18,7 +19,6 @@ * Public: No */ -#include "script_component.hpp" #include "\z\ace\addons\bft_devices\UI\defines\shared_defines.hpp" diff --git a/addons/bft_devices/functions/fnc_ifOnKeyDown.sqf b/addons/bft_devices/functions/fnc_ifOnKeyDown.sqf index a7a1ab8efa..cf7690ef22 100644 --- a/addons/bft_devices/functions/fnc_ifOnKeyDown.sqf +++ b/addons/bft_devices/functions/fnc_ifOnKeyDown.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -20,7 +21,6 @@ * Public: No */ -#include "script_component.hpp" #include "\a3\editor_f\Data\Scripts\dikCodes.h" diff --git a/addons/bft_devices/functions/fnc_ifOnLBSelChanged.sqf b/addons/bft_devices/functions/fnc_ifOnLBSelChanged.sqf index 9c821ec296..44d61f150d 100644 --- a/addons/bft_devices/functions/fnc_ifOnLBSelChanged.sqf +++ b/addons/bft_devices/functions/fnc_ifOnLBSelChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -20,7 +21,6 @@ * Public: No */ -#include "script_component.hpp" // ignore function call if the interface has not finished setup if (GVAR(ifOpenStart) || I_CLOSED) exitWith {true}; diff --git a/addons/bft_devices/functions/fnc_ifOnLoad.sqf b/addons/bft_devices/functions/fnc_ifOnLoad.sqf index 0fd01bb44e..4208357f67 100644 --- a/addons/bft_devices/functions/fnc_ifOnLoad.sqf +++ b/addons/bft_devices/functions/fnc_ifOnLoad.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_display"]; diff --git a/addons/bft_devices/functions/fnc_ifOnMouseButtonUp.sqf b/addons/bft_devices/functions/fnc_ifOnMouseButtonUp.sqf index a441133017..423386b6dd 100644 --- a/addons/bft_devices/functions/fnc_ifOnMouseButtonUp.sqf +++ b/addons/bft_devices/functions/fnc_ifOnMouseButtonUp.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -20,7 +21,6 @@ * Public: No */ -#include "script_component.hpp" // ignore function call if the interface has not finished setup if (GVAR(ifOpenStart) || I_CLOSED) exitWith {true}; diff --git a/addons/bft_devices/functions/fnc_ifOnUnload.sqf b/addons/bft_devices/functions/fnc_ifOnUnload.sqf index 645bbd9500..54e0daa6c9 100644 --- a/addons/bft_devices/functions/fnc_ifOnUnload.sqf +++ b/addons/bft_devices/functions/fnc_ifOnUnload.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // remove helmet and UAV cameras [] call FUNC(deleteHelmetCam); diff --git a/addons/bft_devices/functions/fnc_ifOpen.sqf b/addons/bft_devices/functions/fnc_ifOpen.sqf index 97bf8153e5..537adede56 100644 --- a/addons/bft_devices/functions/fnc_ifOpen.sqf +++ b/addons/bft_devices/functions/fnc_ifOpen.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -39,7 +40,6 @@ * Public: No */ -#include "script_component.hpp" #include "\z\ace\addons\bft_devices\UI\defines\shared_defines.hpp" diff --git a/addons/bft_devices/functions/fnc_ifUpdate.sqf b/addons/bft_devices/functions/fnc_ifUpdate.sqf index 7002753f76..bba3ac6e46 100644 --- a/addons/bft_devices/functions/fnc_ifUpdate.sqf +++ b/addons/bft_devices/functions/fnc_ifUpdate.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy, TheMagnetar * @@ -18,7 +19,6 @@ * Public: No */ -#include "script_component.hpp" #include "\z\ace\addons\bft_devices\UI\defines\shared_defines.hpp" diff --git a/addons/bft_devices/functions/fnc_incBrightness.sqf b/addons/bft_devices/functions/fnc_incBrightness.sqf index 5134dc03c5..c2ddad671d 100644 --- a/addons/bft_devices/functions/fnc_incBrightness.sqf +++ b/addons/bft_devices/functions/fnc_incBrightness.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_incTextSize.sqf b/addons/bft_devices/functions/fnc_incTextSize.sqf index eaed0ff970..a3c619f90a 100644 --- a/addons/bft_devices/functions/fnc_incTextSize.sqf +++ b/addons/bft_devices/functions/fnc_incTextSize.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_isDialog.sqf b/addons/bft_devices/functions/fnc_isDialog.sqf index 6011ddef8b..29258be202 100644 --- a/addons/bft_devices/functions/fnc_isDialog.sqf +++ b/addons/bft_devices/functions/fnc_isDialog.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -20,7 +21,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceName"]; diff --git a/addons/bft_devices/functions/fnc_msgGuiLoad.sqf b/addons/bft_devices/functions/fnc_msgGuiLoad.sqf index d8483c5bf9..8bfb6da450 100644 --- a/addons/bft_devices/functions/fnc_msgGuiLoad.sqf +++ b/addons/bft_devices/functions/fnc_msgGuiLoad.sqf @@ -1,5 +1,5 @@ +#include "script_component.hpp" // not yet ported -#include "script_component.hpp" true \ No newline at end of file diff --git a/addons/bft_devices/functions/fnc_onIfToggleKey.sqf b/addons/bft_devices/functions/fnc_onIfToggleKey.sqf index e8cd3f825f..250fa4ac1c 100644 --- a/addons/bft_devices/functions/fnc_onIfToggleKey.sqf +++ b/addons/bft_devices/functions/fnc_onIfToggleKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_type"]; diff --git a/addons/bft_devices/functions/fnc_onIfTogglePositionKey.sqf b/addons/bft_devices/functions/fnc_onIfTogglePositionKey.sqf index c78ea4a113..f591e5003c 100644 --- a/addons/bft_devices/functions/fnc_onIfTogglePositionKey.sqf +++ b/addons/bft_devices/functions/fnc_onIfTogglePositionKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // bail if there is no interface open if (I_CLOSED) exitWith {false}; diff --git a/addons/bft_devices/functions/fnc_onIfZoomKey.sqf b/addons/bft_devices/functions/fnc_onIfZoomKey.sqf index b52df137bf..dd2100f095 100644 --- a/addons/bft_devices/functions/fnc_onIfZoomKey.sqf +++ b/addons/bft_devices/functions/fnc_onIfZoomKey.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // bail if there is no interface open, or it is still being started if (GVAR(ifOpenStart) || (I_CLOSED)) exitWith {false}; diff --git a/addons/bft_devices/functions/fnc_onPlayerChanged.sqf b/addons/bft_devices/functions/fnc_onPlayerChanged.sqf index 2c451c73ad..e624eb6db9 100644 --- a/addons/bft_devices/functions/fnc_onPlayerChanged.sqf +++ b/addons/bft_devices/functions/fnc_onPlayerChanged.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // close any interface that might still be open [] call FUNC(ifclose); diff --git a/addons/bft_devices/functions/fnc_openDevice.sqf b/addons/bft_devices/functions/fnc_openDevice.sqf index a1e1c6a70b..5ece3684ed 100644 --- a/addons/bft_devices/functions/fnc_openDevice.sqf +++ b/addons/bft_devices/functions/fnc_openDevice.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Glowbal * Open a device if owned @@ -15,7 +16,6 @@ * Public: No */ -#include "script_component.hpp" params ["_player", "_target", "_targetDeviceType"]; diff --git a/addons/bft_devices/functions/fnc_processNotifications.sqf b/addons/bft_devices/functions/fnc_processNotifications.sqf index 746bead52c..2618a0b3ad 100644 --- a/addons/bft_devices/functions/fnc_processNotifications.sqf +++ b/addons/bft_devices/functions/fnc_processNotifications.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" #include "\z\ace\addons\bft_devices\UI\defines\shared_defines.hpp" diff --git a/addons/bft_devices/functions/fnc_remoteControlUAV.sqf b/addons/bft_devices/functions/fnc_remoteControlUAV.sqf index 75d05ddc75..a182754bb5 100644 --- a/addons/bft_devices/functions/fnc_remoteControlUAV.sqf +++ b/addons/bft_devices/functions/fnc_remoteControlUAV.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // see if there is a selected UAV and if it is alive before continuing if (isNil QGVAR(actUav) || {!alive GVAR(actUav)}) exitWith {false}; diff --git a/addons/bft_devices/functions/fnc_setInterfacePosition.sqf b/addons/bft_devices/functions/fnc_setInterfacePosition.sqf index 67da5e5ad0..78bb25ef27 100644 --- a/addons/bft_devices/functions/fnc_setInterfacePosition.sqf +++ b/addons/bft_devices/functions/fnc_setInterfacePosition.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -17,7 +18,6 @@ * Public: No */ -#include "script_component.hpp" disableSerialization; diff --git a/addons/bft_devices/functions/fnc_setSettings.sqf b/addons/bft_devices/functions/fnc_setSettings.sqf index 686b908b9c..67d0599c1a 100644 --- a/addons/bft_devices/functions/fnc_setSettings.sqf +++ b/addons/bft_devices/functions/fnc_setSettings.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -27,7 +28,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID", "_properties", ["_updateInterface", true], ["_forceInterfaceUpdate", false] ]; diff --git a/addons/bft_devices/functions/fnc_toggleIconText.sqf b/addons/bft_devices/functions/fnc_toggleIconText.sqf index 4599b717b0..d04c87a8ea 100644 --- a/addons/bft_devices/functions/fnc_toggleIconText.sqf +++ b/addons/bft_devices/functions/fnc_toggleIconText.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_toggleInterfaceMode.sqf b/addons/bft_devices/functions/fnc_toggleInterfaceMode.sqf index bcc5815f3c..9d87841774 100644 --- a/addons/bft_devices/functions/fnc_toggleInterfaceMode.sqf +++ b/addons/bft_devices/functions/fnc_toggleInterfaceMode.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" if (I_CLOSED) exitWith {true}; diff --git a/addons/bft_devices/functions/fnc_toggleMapMenu.sqf b/addons/bft_devices/functions/fnc_toggleMapMenu.sqf index 1cd0f65e3b..4bf18c9330 100644 --- a/addons/bft_devices/functions/fnc_toggleMapMenu.sqf +++ b/addons/bft_devices/functions/fnc_toggleMapMenu.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_toggleMapTools.sqf b/addons/bft_devices/functions/fnc_toggleMapTools.sqf index c2f076caf3..c925e92bf2 100644 --- a/addons/bft_devices/functions/fnc_toggleMapTools.sqf +++ b/addons/bft_devices/functions/fnc_toggleMapTools.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_toggleMapType.sqf b/addons/bft_devices/functions/fnc_toggleMapType.sqf index 61ecd5be8c..c43163f6d5 100644 --- a/addons/bft_devices/functions/fnc_toggleMapType.sqf +++ b/addons/bft_devices/functions/fnc_toggleMapType.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy, TheMagnetar * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_toggleNightMode.sqf b/addons/bft_devices/functions/fnc_toggleNightMode.sqf index 0705f829ef..7d25c5dadb 100644 --- a/addons/bft_devices/functions/fnc_toggleNightMode.sqf +++ b/addons/bft_devices/functions/fnc_toggleNightMode.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_interfaceID"]; diff --git a/addons/bft_devices/functions/fnc_updateHCamList.sqf b/addons/bft_devices/functions/fnc_updateHCamList.sqf index 260b9d2b05..a055227acc 100644 --- a/addons/bft_devices/functions/fnc_updateHCamList.sqf +++ b/addons/bft_devices/functions/fnc_updateHCamList.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // bail if no interface is open if (I_CLOSED) exitWith {true}; diff --git a/addons/bft_devices/functions/fnc_updateTextAndIconSize.sqf b/addons/bft_devices/functions/fnc_updateTextAndIconSize.sqf index 7f10381d0e..5629fdf22a 100644 --- a/addons/bft_devices/functions/fnc_updateTextAndIconSize.sqf +++ b/addons/bft_devices/functions/fnc_updateTextAndIconSize.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" GVAR(iconSize) = GVAR(textAndIconScaleFactor) * 2; GVAR(ownIconBaseSize) = 18 * GVAR(textAndIconScaleFactor) / 12; diff --git a/addons/bft_devices/functions/fnc_updateUAVList.sqf b/addons/bft_devices/functions/fnc_updateUAVList.sqf index b4e7633cf8..42dec29a44 100644 --- a/addons/bft_devices/functions/fnc_updateUAVList.sqf +++ b/addons/bft_devices/functions/fnc_updateUAVList.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" // bail if no interface is open if (I_CLOSED) exitWith {}; diff --git a/addons/bft_drawing/functions/fnc_editingDraw_editBFT.sqf b/addons/bft_drawing/functions/fnc_editingDraw_editBFT.sqf index 641fbb3bff..1ae9bf47ab 100644 --- a/addons/bft_drawing/functions/fnc_editingDraw_editBFT.sqf +++ b/addons/bft_drawing/functions/fnc_editingDraw_editBFT.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: [W] Fett_Li * Will be Draw Eventhandler for the map when clicked on a blueforcetracking symbol @@ -11,7 +12,6 @@ * Public: No */ -#include "script_component.hpp" disableSerialization; diff --git a/addons/bft_drawing/functions/fnc_mapDraw.sqf b/addons/bft_drawing/functions/fnc_mapDraw.sqf index 5d653a62ee..e17c596db8 100644 --- a/addons/bft_drawing/functions/fnc_mapDraw.sqf +++ b/addons/bft_drawing/functions/fnc_mapDraw.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: [W] Fett_Li * Will be draw eventhandler for the map, display salute reports, blueforcetrackers, etc. @@ -10,7 +11,6 @@ * * Public: No */ -#include "script_component.hpp" params ["_ctrl"]; diff --git a/addons/bft_drawing/functions/fnc_setDrawText.sqf b/addons/bft_drawing/functions/fnc_setDrawText.sqf index 45eec53e40..201a4ec27c 100644 --- a/addons/bft_drawing/functions/fnc_setDrawText.sqf +++ b/addons/bft_drawing/functions/fnc_setDrawText.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_drawText"]; diff --git a/addons/bft_drawing/functions/fnc_updateDrawSize.sqf b/addons/bft_drawing/functions/fnc_updateDrawSize.sqf index ed751ba1a5..b65a8d1ac9 100644 --- a/addons/bft_drawing/functions/fnc_updateDrawSize.sqf +++ b/addons/bft_drawing/functions/fnc_updateDrawSize.sqf @@ -1,3 +1,4 @@ +#include "script_component.hpp" /* * Author: Gundy * @@ -16,7 +17,6 @@ * Public: No */ -#include "script_component.hpp" params ["_multiplier"];