diff --git a/.hemtt/project.toml b/.hemtt/project.toml index 0c2309e..9a15616 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -19,11 +19,10 @@ author = "ArmaForces" [version] path = "addons/main/script_version.hpp" +# Unused in HEMTT v1.11 or higher, kept for backwards compatibility [asc] exclude = [ - "initSettings.sqf", - "initKeybinds.sqf", - "initSettingsChannelNames.sqf", + ".inc.sqf", ] [hemtt.launch] diff --git a/addons/acre/XEH_preInit.sqf b/addons/acre/XEH_preInit.sqf index 1be61b4..d26f6a0 100644 --- a/addons/acre/XEH_preInit.sqf +++ b/addons/acre/XEH_preInit.sqf @@ -7,7 +7,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" // Add arsenal category if (EGVAR(common,aceArsenal) && {GVAR(addArsenalCategory)}) then { diff --git a/addons/acre/initSettings.sqf b/addons/acre/initSettings.inc.sqf similarity index 97% rename from addons/acre/initSettings.sqf rename to addons/acre/initSettings.inc.sqf index e32e44e..6da0d9a 100644 --- a/addons/acre/initSettings.sqf +++ b/addons/acre/initSettings.inc.sqf @@ -81,4 +81,4 @@ if (EGVAR(common,aceArsenal)) then { ] call CBA_fnc_addSetting; }; -#include "initSettingsChannelNames.sqf" +#include "initSettingsChannelNames.inc.sqf" diff --git a/addons/acre/initSettingsChannelNames.sqf b/addons/acre/initSettingsChannelNames.inc.sqf similarity index 100% rename from addons/acre/initSettingsChannelNames.sqf rename to addons/acre/initSettingsChannelNames.inc.sqf diff --git a/addons/ai_disembark/XEH_preInit.sqf b/addons/ai_disembark/XEH_preInit.sqf index ad5e92f..54578b5 100644 --- a/addons/ai_disembark/XEH_preInit.sqf +++ b/addons/ai_disembark/XEH_preInit.sqf @@ -5,7 +5,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ["CAManBase", "GetOutMan", { _this call FUNC(onDisembark); diff --git a/addons/ai_disembark/initSettings.sqf b/addons/ai_disembark/initSettings.inc.sqf similarity index 100% rename from addons/ai_disembark/initSettings.sqf rename to addons/ai_disembark/initSettings.inc.sqf diff --git a/addons/back_to_game/XEH_preInit.sqf b/addons/back_to_game/XEH_preInit.sqf index eb14b64..a9976e4 100644 --- a/addons/back_to_game/XEH_preInit.sqf +++ b/addons/back_to_game/XEH_preInit.sqf @@ -5,7 +5,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" if (hasInterface) then { GVAR(teleport) = false; // Used as flag for teleportation agreement diff --git a/addons/back_to_game/initSettings.sqf b/addons/back_to_game/initSettings.inc.sqf similarity index 100% rename from addons/back_to_game/initSettings.sqf rename to addons/back_to_game/initSettings.inc.sqf diff --git a/addons/fatigue/XEH_preInit.sqf b/addons/fatigue/XEH_preInit.sqf index 00c4bd6..6706cf8 100644 --- a/addons/fatigue/XEH_preInit.sqf +++ b/addons/fatigue/XEH_preInit.sqf @@ -5,6 +5,6 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/fatigue/initSettings.sqf b/addons/fatigue/initSettings.inc.sqf similarity index 100% rename from addons/fatigue/initSettings.sqf rename to addons/fatigue/initSettings.inc.sqf diff --git a/addons/friendly_fire/XEH_preInit.sqf b/addons/friendly_fire/XEH_preInit.sqf index 1d0ec58..fafb9c5 100644 --- a/addons/friendly_fire/XEH_preInit.sqf +++ b/addons/friendly_fire/XEH_preInit.sqf @@ -1,6 +1,6 @@ #include "script_component.hpp" ADDON = false; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/friendly_fire/initSettings.sqf b/addons/friendly_fire/initSettings.inc.sqf similarity index 100% rename from addons/friendly_fire/initSettings.sqf rename to addons/friendly_fire/initSettings.inc.sqf diff --git a/addons/grass/XEH_preInit.sqf b/addons/grass/XEH_preInit.sqf index 00c4bd6..6706cf8 100644 --- a/addons/grass/XEH_preInit.sqf +++ b/addons/grass/XEH_preInit.sqf @@ -5,6 +5,6 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/grass/initSettings.sqf b/addons/grass/initSettings.inc.sqf similarity index 100% rename from addons/grass/initSettings.sqf rename to addons/grass/initSettings.inc.sqf diff --git a/addons/insurgents/XEH_preInit.sqf b/addons/insurgents/XEH_preInit.sqf index ce90def..daf685f 100644 --- a/addons/insurgents/XEH_preInit.sqf +++ b/addons/insurgents/XEH_preInit.sqf @@ -5,7 +5,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" GVAR(randomGear) = createHashMap; diff --git a/addons/insurgents/initSettings.sqf b/addons/insurgents/initSettings.inc.sqf similarity index 100% rename from addons/insurgents/initSettings.sqf rename to addons/insurgents/initSettings.inc.sqf diff --git a/addons/pointing/XEH_postInit.sqf b/addons/pointing/XEH_postInit.sqf index 1cc435c..88b4233 100644 --- a/addons/pointing/XEH_postInit.sqf +++ b/addons/pointing/XEH_postInit.sqf @@ -1,6 +1,6 @@ #include "script_component.hpp" -#include "initKeybinds.sqf" +#include "initKeybinds.inc.sqf" if (IS_MOD_LOADED(diwako_dui_radar)) then { [QGVAR(pointed), { diff --git a/addons/pointing/XEH_preInit.sqf b/addons/pointing/XEH_preInit.sqf index 00c4bd6..6706cf8 100644 --- a/addons/pointing/XEH_preInit.sqf +++ b/addons/pointing/XEH_preInit.sqf @@ -5,6 +5,6 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/pointing/initKeybinds.sqf b/addons/pointing/initKeybinds.inc.sqf similarity index 100% rename from addons/pointing/initKeybinds.sqf rename to addons/pointing/initKeybinds.inc.sqf diff --git a/addons/pointing/initSettings.sqf b/addons/pointing/initSettings.inc.sqf similarity index 100% rename from addons/pointing/initSettings.sqf rename to addons/pointing/initSettings.inc.sqf diff --git a/addons/remotesensors/XEH_preInit.sqf b/addons/remotesensors/XEH_preInit.sqf index 1d0ec58..fafb9c5 100644 --- a/addons/remotesensors/XEH_preInit.sqf +++ b/addons/remotesensors/XEH_preInit.sqf @@ -1,6 +1,6 @@ #include "script_component.hpp" ADDON = false; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/remotesensors/initSettings.sqf b/addons/remotesensors/initSettings.inc.sqf similarity index 100% rename from addons/remotesensors/initSettings.sqf rename to addons/remotesensors/initSettings.inc.sqf diff --git a/addons/respawn/XEH_preInit.sqf b/addons/respawn/XEH_preInit.sqf index ec517bb..5e0ed81 100644 --- a/addons/respawn/XEH_preInit.sqf +++ b/addons/respawn/XEH_preInit.sqf @@ -5,7 +5,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" if (hasInterface) then { // Save current time delay in case it changes (to adjust remaining respawn time) diff --git a/addons/respawn/initSettings.sqf b/addons/respawn/initSettings.inc.sqf similarity index 100% rename from addons/respawn/initSettings.sqf rename to addons/respawn/initSettings.inc.sqf diff --git a/addons/safestart/XEH_preInit.sqf b/addons/safestart/XEH_preInit.sqf index 4824975..07a7b2e 100644 --- a/addons/safestart/XEH_preInit.sqf +++ b/addons/safestart/XEH_preInit.sqf @@ -5,7 +5,7 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" [QGVAR(enableSafety), { params ["_player"]; diff --git a/addons/safestart/initSettings.sqf b/addons/safestart/initSettings.inc.sqf similarity index 100% rename from addons/safestart/initSettings.sqf rename to addons/safestart/initSettings.inc.sqf diff --git a/addons/spectator/XEH_preInit.sqf b/addons/spectator/XEH_preInit.sqf index 00c4bd6..6706cf8 100644 --- a/addons/spectator/XEH_preInit.sqf +++ b/addons/spectator/XEH_preInit.sqf @@ -5,6 +5,6 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/spectator/initSettings.sqf b/addons/spectator/initSettings.inc.sqf similarity index 100% rename from addons/spectator/initSettings.sqf rename to addons/spectator/initSettings.inc.sqf diff --git a/addons/tagging/XEH_preInit.sqf b/addons/tagging/XEH_preInit.sqf index 1d0ec58..fafb9c5 100644 --- a/addons/tagging/XEH_preInit.sqf +++ b/addons/tagging/XEH_preInit.sqf @@ -1,6 +1,6 @@ #include "script_component.hpp" ADDON = false; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/tagging/initSettings.sqf b/addons/tagging/initSettings.inc.sqf similarity index 100% rename from addons/tagging/initSettings.sqf rename to addons/tagging/initSettings.inc.sqf diff --git a/addons/towing/XEH_preInit.sqf b/addons/towing/XEH_preInit.sqf index 785751b..4984be9 100644 --- a/addons/towing/XEH_preInit.sqf +++ b/addons/towing/XEH_preInit.sqf @@ -3,6 +3,6 @@ ADDON = false; if (!EGVAR(common,aceTowing)) exitWith {}; -#include "initSettings.sqf" +#include "initSettings.inc.sqf" ADDON = true; diff --git a/addons/towing/initSettings.sqf b/addons/towing/initSettings.inc.sqf similarity index 100% rename from addons/towing/initSettings.sqf rename to addons/towing/initSettings.inc.sqf