From 8bb83aa0283200070ff6c3da80a6e22dcf11b9f6 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 7 Dec 2023 09:31:33 -0600 Subject: [PATCH] Tools - Add `requiredVersion` to all sub configs (#1633) --- addons/accessory/MRT_AccFncs/config.cpp | 3 +++ addons/jr/asdg_jointmuzzles/config.cpp | 3 +++ addons/jr/asdg_jointrails/config.cpp | 3 +++ addons/ui/ui_helper/config.cpp | 1 + addons/xeh/CBA_Extended_EventHandlers/config.cpp | 3 +++ addons/xeh/Extended_EventHandlers/config.cpp | 3 +++ addons/xeh/ee/config.cpp | 3 +++ addons/xeh/xeh_a3/config.cpp | 1 + 8 files changed, 20 insertions(+) diff --git a/addons/accessory/MRT_AccFncs/config.cpp b/addons/accessory/MRT_AccFncs/config.cpp index 6d94a6b75d..8778def0ff 100644 --- a/addons/accessory/MRT_AccFncs/config.cpp +++ b/addons/accessory/MRT_AccFncs/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class MRT_AccFncs { units[] = {}; requiredAddons[] = {"cba_accessory"}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/jr/asdg_jointmuzzles/config.cpp b/addons/jr/asdg_jointmuzzles/config.cpp index 315fc6a9ed..c8a25a17f5 100644 --- a/addons/jr/asdg_jointmuzzles/config.cpp +++ b/addons/jr/asdg_jointmuzzles/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class asdg_jointmuzzles { requiredAddons[] = {"cba_jr"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/jr/asdg_jointrails/config.cpp b/addons/jr/asdg_jointrails/config.cpp index 9a2964b39e..a0825f679b 100644 --- a/addons/jr/asdg_jointrails/config.cpp +++ b/addons/jr/asdg_jointrails/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class asdg_jointrails { requiredAddons[] = {"cba_jr"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/ui/ui_helper/config.cpp b/addons/ui/ui_helper/config.cpp index e0078fd8da..67bd10fac3 100644 --- a/addons/ui/ui_helper/config.cpp +++ b/addons/ui/ui_helper/config.cpp @@ -4,5 +4,6 @@ class CfgPatches { class SUBADDON { requiredAddons[] = {"cba_ui"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/xeh/CBA_Extended_EventHandlers/config.cpp b/addons/xeh/CBA_Extended_EventHandlers/config.cpp index 71804cecbb..778905fedd 100644 --- a/addons/xeh/CBA_Extended_EventHandlers/config.cpp +++ b/addons/xeh/CBA_Extended_EventHandlers/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class CBA_Extended_EventHandlers { requiredAddons[] = {"cba_xeh"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/xeh/Extended_EventHandlers/config.cpp b/addons/xeh/Extended_EventHandlers/config.cpp index 632e4d0e78..0f6c7d01db 100644 --- a/addons/xeh/Extended_EventHandlers/config.cpp +++ b/addons/xeh/Extended_EventHandlers/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class Extended_EventHandlers { requiredAddons[] = {"cba_xeh"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/xeh/ee/config.cpp b/addons/xeh/ee/config.cpp index 1dc18df178..80ead34c70 100644 --- a/addons/xeh/ee/config.cpp +++ b/addons/xeh/ee/config.cpp @@ -1,6 +1,9 @@ +#include "..\script_component.hpp" + class CfgPatches { class cba_ee { requiredAddons[] = {"cba_xeh"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; }; diff --git a/addons/xeh/xeh_a3/config.cpp b/addons/xeh/xeh_a3/config.cpp index 094b03cccc..8e9a62f678 100644 --- a/addons/xeh/xeh_a3/config.cpp +++ b/addons/xeh/xeh_a3/config.cpp @@ -5,5 +5,6 @@ class CfgPatches { class SUBADDON { requiredAddons[] = {"cba_xeh"}; units[] = {}; + requiredVersion = REQUIRED_VERSION; }; };