mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
CUP Compats - Don't load if cup's compats present (temporary) (#9824)
* CUP Compats - Don't load if cup's compats present (temporary) * cup veh and ter
This commit is contained in:
parent
67fa53fd2c
commit
f63704911e
3
addons/compat_cup_terrains/addon.toml
Normal file
3
addons/compat_cup_terrains/addon.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[tools]
|
||||||
|
pboProject_noBinConfig = true
|
||||||
|
sqfvm_skipConfigChecks = true
|
@ -1,6 +1,15 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
#include "\z\ace\addons\refuel\defines.hpp"
|
#include "\z\ace\addons\refuel\defines.hpp"
|
||||||
|
|
||||||
|
// Remove after next cup release
|
||||||
|
#pragma hemtt flag pe23_ignore_has_include
|
||||||
|
#if __has_include("\cup\CUP_Terrains_ACE_compat\config.bin")
|
||||||
|
#define PATCH_SKIP "CUP_Terrains_ACE_compat"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef PATCH_SKIP
|
||||||
|
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
||||||
|
#else
|
||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
name = COMPONENT_NAME;
|
name = COMPONENT_NAME;
|
||||||
@ -25,3 +34,5 @@ class CfgPatches {
|
|||||||
|
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
3
addons/compat_cup_vehicles/addon.toml
Normal file
3
addons/compat_cup_vehicles/addon.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[tools]
|
||||||
|
pboProject_noBinConfig = true
|
||||||
|
sqfvm_skipConfigChecks = true
|
@ -1,5 +1,14 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
// Remove after next cup release
|
||||||
|
#pragma hemtt flag pe23_ignore_has_include
|
||||||
|
#if __has_include("\cup\CUP_Vehicles_ACE_compat\config.bin")
|
||||||
|
#define PATCH_SKIP "CUP_Vehicles_ACE_compat"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef PATCH_SKIP
|
||||||
|
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
||||||
|
#else
|
||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
name = COMPONENT_NAME;
|
name = COMPONENT_NAME;
|
||||||
@ -20,3 +29,5 @@ class CfgPatches {
|
|||||||
|
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
3
addons/compat_cup_weapons/addon.toml
Normal file
3
addons/compat_cup_weapons/addon.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[tools]
|
||||||
|
pboProject_noBinConfig = true
|
||||||
|
sqfvm_skipConfigChecks = true
|
@ -1,5 +1,14 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
// Remove after next cup release
|
||||||
|
#pragma hemtt flag pe23_ignore_has_include
|
||||||
|
#if __has_include("\cup\CUP_Weapons_ACE_compat\config.bin")
|
||||||
|
#define PATCH_SKIP "CUP_Weapons_ACE_compat"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef PATCH_SKIP
|
||||||
|
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
||||||
|
#else
|
||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
name = COMPONENT_NAME;
|
name = COMPONENT_NAME;
|
||||||
@ -18,3 +27,5 @@ class CfgPatches {
|
|||||||
#include "CfgMagazines.hpp"
|
#include "CfgMagazines.hpp"
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user