Skip to content

Commit

Permalink
Merge pull request #1728 from lambdatiger/CSLA_Update_1.2
Browse files Browse the repository at this point in the history
CSLA Compats - Update for CSLA 1.2
  • Loading branch information
PabstMirror authored Feb 1, 2025
2 parents 60da38e + 0132d1b commit 23eb517
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/jam/jam_csla/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class CfgWeapons {

class US85_MachinegunBase_7_62: US85_MachinegunBase_5_56 {};

class US85_M60: US85_MachinegunBase_7_62 {
class US85_M60_base: US85_MachinegunBase_7_62 {
magazineWell[] += {"CBA_762x51_LINKS"};
};

Expand Down
33 changes: 30 additions & 3 deletions addons/xeh/xeh_csla/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define XEH_ENABLED_INHERIT class EventHandlers: EventHandlers {class XEH_CLASS: XEH_CLASS_BASE {};}; SLX_XEH_DISABLED = 0
class CfgVehicles {
class StaticATWeapon;
class CSLA_9K113_Stat: StaticATWeapon {
Expand All @@ -16,21 +17,47 @@ class CfgVehicles {

class Plane_Base_F;
class CSLA_Plane_base_F: Plane_Base_F {};
class CSLA_CIV_Plane_base_F: CSLA_Plane_base_F {};
class CSLA_CIV_Plane_base_F: CSLA_Plane_base_F {
class EventHandlers;
};
class CSLA_CIV_Plane_base: CSLA_CIV_Plane_base_F {
XEH_ENABLED;
XEH_ENABLED_INHERIT;
};

class StaticMGWeapon;
class CSLA_UK59L_Stat: StaticMGWeapon {
XEH_ENABLED;
};

class CSLA_UK59T_Stat: StaticMGWeapon {
XEH_ENABLED;
};

class CSLA_DShKM_h_Stat: StaticMGWeapon {
XEH_ENABLED;
};

class CSLA_AGS17_Stat: StaticMGWeapon {
XEH_ENABLED;
};

class US85_M60_Stat: StaticMGWeapon {
XEH_ENABLED;
};

class US85_M2l: StaticMGWeapon {
XEH_ENABLED;
};

class US85_Mk19_stat: StaticMGWeapon {
XEH_ENABLED;
};

class US85_M252_Stat: Mortar_01_base_F {
XEH_ENABLED;
};

class HelicopterWreck;
class CSLA_Mi24_wreck: HelicopterWreck {
XEH_ENABLED;
};
};

0 comments on commit 23eb517

Please sign in to comment.