mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
38 lines
872 B
C++
38 lines
872 B
C++
|
#include "script_component.hpp"
|
||
|
|
||
|
#if __has_include("\csla_cfg\config.bin")
|
||
|
#else
|
||
|
#define PATCH_SKIP "CSLA - Iron Curtain"
|
||
|
#endif
|
||
|
|
||
|
#if __has_include("\z\ace\addons\explosives\script_component.hpp")
|
||
|
#else
|
||
|
#ifndef PATCH_SKIP
|
||
|
#define PATCH_SKIP "ACE Explosives"
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
#ifdef PATCH_SKIP
|
||
|
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
||
|
#else
|
||
|
|
||
|
class CfgPatches {
|
||
|
class ADDON {
|
||
|
name = COMPONENT_NAME;
|
||
|
units[] = {};
|
||
|
weapons[] = {};
|
||
|
requiredVersion = REQUIRED_VERSION;
|
||
|
requiredAddons[] = {"ace_explosives", "CSLA", "US85"};
|
||
|
skipWhenMissingDependencies = 1; // drop __has_include and addon.toml after 2.14
|
||
|
author = ECSTRING(common,ACETeam);
|
||
|
authors[] = {"Dahlgren"};
|
||
|
url = ECSTRING(main,URL);
|
||
|
VERSION_CONFIG;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#include "CfgMagazines.hpp"
|
||
|
#include "CfgVehicles.hpp"
|
||
|
|
||
|
#endif
|