Skip to content

Commit

Permalink
Move compatibilities to main mod and conditionally load (#1270)
Browse files Browse the repository at this point in the history
Co-authored-by: jonpas <[email protected]>
  • Loading branch information
Mike-MF and jonpas authored Sep 6, 2023
1 parent 4614ef0 commit 1b87a44
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 46 deletions.
1 change: 1 addition & 0 deletions addons/compat_csla/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
idi\acre\addons\compat_csla
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sys_csla
compat_csla
===

Compatibility with Arma 3 Creator DLC: [CSLA Iron Curtain](https://store.steampowered.com/app/1294440/Arma_3_Creator_DLC_CSLA_Iron_Curtain/).
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class CfgPatches {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"acre_main"};
requiredAddons[] = {"acre_main", "CSLA"};
skipWhenMissingDependencies = 1;
author = ECSTRING(main,Author);
authors[] = {"CSLA Studio"};
url = ECSTRING(main,URL);
Expand All @@ -16,6 +17,6 @@ class CfgPatches {

class CfgAcreWorlds {
class stozec {
wrp = "\idi\acre\addons\sys_csla\stozec.fakewrp";
wrp = QPATHTOF(stozec.fakewrp);
};
};
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#define COMPONENT sys_csla
#define COMPONENT compat_csla
#define COMPONENT_BEAUTIFIED CSLA Iron Curtain Compatibility
#include "\idi\acre\addons\main\script_mod.hpp"

#ifdef DEBUG_ENABLED_SYS_CSLA
#ifdef DEBUG_ENABLED_COMPAT_CSLA
#define DEBUG_MODE_FULL
#endif

#ifdef DEBUG_ENABLED_SYS_CSLA
#define DEBUG_SETTINGS DEBUG_SETTINGS_SYS_CSLA
#ifdef DEBUG_ENABLED_COMPAT_CSLA
#define DEBUG_SETTINGS DEBUG_SETTINGS_COMPAT_CSLA
#endif

#include "\idi\acre\addons\main\script_macros.hpp"
File renamed without changes.
1 change: 1 addition & 0 deletions addons/compat_gm/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
idi\acre\addons\compat_gm
File renamed without changes.
2 changes: 1 addition & 1 deletion optionals/sys_gm/README.md → addons/compat_gm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sys_gm
compat_gm
===

Compatibility with Arma 3 Creator DLC: [Global Mobilization - Cold War Germany](http://www.global-mobilization.com/).
Loading

0 comments on commit 1b87a44

Please sign in to comment.