Skip to content

Commit

Permalink
Merge pull request #54 from bux/mortars-cleanup
Browse files Browse the repository at this point in the history
Mortars cleanup
  • Loading branch information
ElTyranos authored Aug 29, 2020
2 parents 585b754 + cd7689e commit eceb7d8
Show file tree
Hide file tree
Showing 8 changed files with 251 additions and 337 deletions.
6 changes: 3 additions & 3 deletions addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 37
#define MINOR 1
#define MAJOR 40
#define MINOR 0
#define PATCHLVL 0
#define BUILD 2
#define BUILD 1
16 changes: 8 additions & 8 deletions addons/mortar/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

class Extended_PreStart_EventHandlers
{
class ace_mk6mortar
{
init = "call compile preProcessFileLineNumbers '\z\ace\addons\mk6mortar\XEH_preStart.sqf'";
};
};
// class Extended_PreStart_EventHandlers
// {
// class ace_mk6mortar
// {
// init = "call compile preProcessFileLineNumbers '\z\ace\addons\mk6mortar\XEH_preStart.sqf'";
// };
// };

class Extended_PreInit_EventHandlers {
class ADDON {
Expand Down Expand Up @@ -35,4 +35,4 @@ class Extended_FiredBIS_EventHandlers {
firedBIS = QUOTE(_this call FUNC(handleFired));
};
};
};
};
33 changes: 27 additions & 6 deletions addons/mortar/CfgMagazineGroups.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
class ace_csw_groups { // Ammo that can be loaded into CSW's
///// 82 mm ammo (for BM 37)
class LIB_1Rnd_82mm_Mo_HE { // The magazine which the player can place into their inventory
LIB_1Rnd_82mm_Mo_HE = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
LIB_1rnd_82mmHE_BM37 = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
};
class LIB_1rnd_82mmHE_BM37 { // The magazine which the player can place into their inventory
LIB_1rnd_82mmHE_BM37 = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
LIB_8Rnd_82mmHE_BM37 = 1;
};
class LIB_1Rnd_82mm_Mo_Smoke { // The magazine which the player can place into their inventory
LIB_1Rnd_82mm_Mo_Smoke = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
LIB_82mm_BM37_SmokeShell = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
};
class LIB_82mm_BM37_SmokeShell { // The magazine which the player can place into their inventory
LIB_82mm_BM37_SmokeShell = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
};
class LIB_1Rnd_82mm_Mo_Illum { // The magazine which the player can place into their inventory
LIB_1Rnd_82mm_Mo_Illum = 1; // Magazine that is loaded into the weapon as per CfgWeapons >> weapon >> magazines
Expand All @@ -13,10 +20,17 @@ class ace_csw_groups { // Ammo that can be loaded into CSW's

///// 81 mm ammo (for GrWr 34)
class LIB_1Rnd_81mm_Mo_HE {
LIB_1Rnd_81mm_Mo_HE = 1;
LIB_1rnd_81mmHE_GRWR34 = 1;
};
class LIB_1rnd_81mmHE_GRWR34 {
LIB_1rnd_81mmHE_GRWR34 = 1;
LIB_8rnd_81mmHE_GRWR34 = 1;
};
class LIB_1Rnd_81mm_Mo_Smoke {
LIB_1Rnd_81mm_Mo_Smoke = 1;
LIB_81mm_GRWR34_SmokeShell = 1;
};
class LIB_81mm_GRWR34_SmokeShell {
LIB_81mm_GRWR34_SmokeShell = 1;
};
class LIB_1Rnd_81mm_Mo_Illum {
LIB_1Rnd_81mm_Mo_Illum = 1;
Expand All @@ -25,10 +39,17 @@ class ace_csw_groups { // Ammo that can be loaded into CSW's

///// 60 mm ammo (for M2)
class LIB_1Rnd_60mm_Mo_HE {
LIB_1Rnd_60mm_Mo_HE = 1;
LIB_1rnd_60mmHE_M2 = 1;
};
class LIB_1rnd_60mmHE_M2 {
LIB_1rnd_60mmHE_M2 = 1;
LIB_8rnd_60mmHE_M2 = 1;
};
class LIB_1Rnd_60mm_Mo_Smoke {
LIB_1Rnd_60mm_Mo_Smoke = 1;
LIB_60mm_M2_SmokeShell = 1;
};
class LIB_60mm_M2_SmokeShell {
LIB_60mm_M2_SmokeShell = 1;
};
class LIB_1Rnd_60mm_Mo_Illum {
LIB_1Rnd_60mm_Mo_Illum = 1;
Expand Down
Loading

0 comments on commit eceb7d8

Please sign in to comment.