Skip to content

Commit

Permalink
CUP Compats - Cleanup temp __has_include (#9832)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Mar 30, 2024
1 parent a4dbff3 commit 9293623
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 42 deletions.
3 changes: 0 additions & 3 deletions addons/compat_cup_terrains/addon.toml

This file was deleted.

11 changes: 0 additions & 11 deletions addons/compat_cup_terrains/config.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#include "script_component.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 ADDON {
name = COMPONENT_NAME;
Expand All @@ -34,5 +25,3 @@ class CfgPatches {

#include "CfgVehicles.hpp"
#include "CfgEventHandlers.hpp"

#endif
3 changes: 0 additions & 3 deletions addons/compat_cup_vehicles/addon.toml

This file was deleted.

11 changes: 0 additions & 11 deletions addons/compat_cup_vehicles/config.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
#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 ADDON {
name = COMPONENT_NAME;
Expand All @@ -29,5 +20,3 @@ class CfgPatches {

#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"

#endif
3 changes: 0 additions & 3 deletions addons/compat_cup_weapons/addon.toml

This file was deleted.

11 changes: 0 additions & 11 deletions addons/compat_cup_weapons/config.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
#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 ADDON {
name = COMPONENT_NAME;
Expand All @@ -27,5 +18,3 @@ class CfgPatches {
#include "CfgMagazines.hpp"
#include "CfgWeapons.hpp"
#include "CfgEventHandlers.hpp"

#endif

0 comments on commit 9293623

Please sign in to comment.