diff --git a/addons/fries/$PBOPREFIX$ b/addons/fries/$PBOPREFIX$ deleted file mode 100644 index 61a5af7..0000000 --- a/addons/fries/$PBOPREFIX$ +++ /dev/null @@ -1 +0,0 @@ -z\afm\addons\fries \ No newline at end of file diff --git a/addons/fries/CfgEventHandlers.hpp b/addons/fries/CfgEventHandlers.hpp deleted file mode 100644 index a614deb..0000000 --- a/addons/fries/CfgEventHandlers.hpp +++ /dev/null @@ -1,10 +0,0 @@ -class Extended_PreInit_EventHandlers { - class ADDON { - init = QUOTE(call COMPILE_SCRIPT(XEH_preInit)); - }; -}; -class Extended_PostInit_EventHandlers { - class ADDON { - init = QUOTE(call COMPILE_SCRIPT(XEH_postInit)); - }; -}; diff --git a/addons/fries/README.md b/addons/fries/README.md deleted file mode 100644 index 4fcd83d..0000000 --- a/addons/fries/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## Fries - -Automatically adds FRIES to supported helicopters if ACE Fastroping is loaded. - -### Authors - -- [veteran29](https://github.com/veteran29) diff --git a/addons/fries/XEH_postInit.sqf b/addons/fries/XEH_postInit.sqf deleted file mode 100644 index 0b07edf..0000000 --- a/addons/fries/XEH_postInit.sqf +++ /dev/null @@ -1,11 +0,0 @@ -#include "script_component.hpp" - -if (is3DEN || !(EGVAR(common,aceFastroping))) exitWith {}; - -if (isServer) then { - ["Helicopter", "init", { - params ["_vehicle"]; - if (!GVAR(autoAdd) || {!isNumber (configOf _vehicle >> QACEGVAR(fastroping,enabled))}) exitWith {}; - _vehicle call ACEFUNC(fastroping,equipFRIES); - }, true, ["ACE_friesBase"], true] call CBA_fnc_addClassEventHandler; -}; diff --git a/addons/fries/XEH_preInit.sqf b/addons/fries/XEH_preInit.sqf deleted file mode 100644 index 1d0ec58..0000000 --- a/addons/fries/XEH_preInit.sqf +++ /dev/null @@ -1,6 +0,0 @@ -#include "script_component.hpp" -ADDON = false; - -#include "initSettings.sqf" - -ADDON = true; diff --git a/addons/fries/config.cpp b/addons/fries/config.cpp deleted file mode 100644 index 7a2e1b3..0000000 --- a/addons/fries/config.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "script_component.hpp" - -class CfgPatches { - class ADDON { - name = COMPONENT_NAME; - units[] = {}; - weapons[] = {}; - requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { - "afm_main", - "afm_common" - }; - author = "ArmaForces"; - authors[] = {"veteran29"}; - VERSION_CONFIG; - }; -}; - -#include "CfgEventHandlers.hpp" diff --git a/addons/fries/initSettings.sqf b/addons/fries/initSettings.sqf deleted file mode 100644 index d84a1ad..0000000 --- a/addons/fries/initSettings.sqf +++ /dev/null @@ -1,12 +0,0 @@ -#include "script_component.hpp" - -if (EGVAR(common,aceFastroping)) then { - [ - QGVAR(autoAdd), - "CHECKBOX", - [LSTRING(autoAdd), LSTRING(autoAdd_Description)], - LSTRING(DisplayName), - true, - true - ] call CBA_fnc_addSetting; -}; diff --git a/addons/fries/script_component.hpp b/addons/fries/script_component.hpp deleted file mode 100644 index ff47ef5..0000000 --- a/addons/fries/script_component.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#define COMPONENT fries -#include "\z\afm\addons\main\script_mod.hpp" - -// #define DEBUG_MODE_FULL -// #define DISABLE_COMPILE_CACHE - -#ifdef DEBUG_ENABLED_FRIES - #define DEBUG_MODE_FULL -#endif - -#ifdef DEBUG_SETTINGS_FRIES - #define DEBUG_SETTINGS DEBUG_SETTINGS_FRIES -#endif - -#include "\z\afm\addons\main\script_macros.hpp" diff --git a/addons/fries/stringtable.xml b/addons/fries/stringtable.xml deleted file mode 100644 index fcf87f6..0000000 --- a/addons/fries/stringtable.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - ArmaForces - FRIES - ArmaForces - FRIES - - - Auto add FRIES - Auto dodawanie FRIES - - - Automatically add FRIES to helicopters that support them. - Automatycznie dodawaj FRIES do śmigłowców które je wspierają. - - -