Commit 0a28b08 1 parent 92bf768 commit 0a28b08 Copy full SHA for 0a28b08
File tree 9 files changed +22
-26
lines changed
9 files changed +22
-26
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- #include " \x\cba\addons\ee \script_component.hpp"
1
+ #include " \x\cba\addons\xeh \script_component.hpp"
2
2
#undef COMPONENT
3
- #define COMPONENT ee_compat_contact
3
+ #define COMPONENT xeh_compat_contact
4
4
5
5
#if __has_include("\a3\Data_F_Contact\config.bin")
6
6
#else
7
7
#define PATCH_SKIP " Contact DLC"
8
8
#endif
9
9
10
10
#ifdef PATCH_SKIP
11
- CBA_EE_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
11
+ CBA_XEH_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
12
12
#else
13
13
class CfgPatches {
14
14
class ADDON {
Original file line number Diff line number Diff line change 1
- #include " \x\cba\addons\ee \script_component.hpp"
1
+ #include " \x\cba\addons\xeh \script_component.hpp"
2
2
#undef COMPONENT
3
- #define COMPONENT ee_compat_csla
3
+ #define COMPONENT xeh_compat_csla
4
4
5
5
#if __has_include("\csla_cfg\config.bin")
6
6
#else
7
7
#define PATCH_SKIP " CSLA - Iron Curtain"
8
8
#endif
9
9
10
10
#ifdef PATCH_SKIP
11
- CBA_EE_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
11
+ CBA_XEH_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
12
12
#else
13
13
class CfgPatches {
14
14
class ADDON {
Original file line number Diff line number Diff line change 1
- #include " \x\cba\addons\ee \script_component.hpp"
1
+ #include " \x\cba\addons\xeh \script_component.hpp"
2
2
#undef COMPONENT
3
- #define COMPONENT ee_compat_sog
3
+ #define COMPONENT xeh_compat_sog
4
4
5
5
#if __has_include("\vn\weapons_f_vietnam\config.bin")
6
6
#else
7
7
#define PATCH_SKIP " SOG-Vietnam"
8
8
#endif
9
9
10
10
#ifdef PATCH_SKIP
11
- CBA_EE_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
11
+ CBA_XEH_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
12
12
#else
13
13
class CfgPatches {
14
14
class ADDON {
Original file line number Diff line number Diff line change 1
- #include " \x\cba\addons\ee \script_component.hpp"
1
+ #include " \x\cba\addons\xeh \script_component.hpp"
2
2
#undef COMPONENT
3
- #define COMPONENT ee_compat_ws
3
+ #define COMPONENT xeh_compat_ws
4
4
5
5
#if __has_include("\lxWS\data_f_lxWS\config.bin")
6
6
#else
7
7
#define PATCH_SKIP " Western Sahara"
8
8
#endif
9
9
10
10
#ifdef PATCH_SKIP
11
- CBA_EE_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
11
+ CBA_XEH_PATCH_NOT_LOADED (ADDON,PATCH_SKIP)
12
12
#else
13
13
class CfgPatches {
14
14
class ADDON {
Original file line number Diff line number Diff line change 1
- #include " script_component.hpp"
2
-
3
1
class CfgPatches {
4
2
class cba_ee {
5
3
requiredAddons[] = {" cba_xeh" };
Original file line number Diff line number Diff line change 38
38
39
39
#include " script_xeh.hpp"
40
40
41
+ // macro add a dummy cfgPatch - this macro may be removed after 2.14 cleanup!
42
+ #define CBA_XEH_PATCH_NOT_LOADED (NAME,CAUSE ) \
43
+ class CfgPatches { \
44
+ class DOUBLES (NAME,notLoaded) { \
45
+ units[] = {}; \
46
+ weapons[] = {}; \
47
+ cba_not_loaded = CAUSE; \
48
+ }; \
49
+ };
50
+
41
51
#undef XEH_ENABLED
42
52
#define XEH_ENABLED class EventHandlers {class XEH_CLASS : XEH_CLASS_BASE {};}; SLX_XEH_DISABLED = 0
43
53
You can’t perform that action at this time.
0 commit comments