-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4f47fad
Showing
457 changed files
with
15,784 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Arma eXtended Environment | ||
This mod adds a variety of additional functions & features on top of Arma3, CBA and the ACE3 framework. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
axe_common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class BIS_AddonInfo { | ||
author = "O. Jemineh"; | ||
timepacked = "1569837899"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class Extended_PreInit_EventHandlers { | ||
|
||
class AXE_Common_EH_initSettings { | ||
init = "call AXE_common_fnc_initSettings"; | ||
}; | ||
|
||
}; | ||
|
||
class Extended_PostInit_EventHandlers { | ||
|
||
class AXE_Common_EH_initialize { | ||
init = "call AXE_common_fnc_initialize"; | ||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
class CfgFunctions { | ||
|
||
class AXE_Common { | ||
|
||
tag = "axe_common"; | ||
|
||
class Common { | ||
file = "\axe_common\functions"; | ||
class initialize {}; | ||
class initSettings {}; | ||
}; | ||
|
||
}; | ||
|
||
class AXE_Functions { | ||
|
||
tag = "axe"; | ||
|
||
class Addons { | ||
file = "\axe_common\functions\addons"; | ||
class getAddonAuthor {}; | ||
class getAddonAuthors {}; | ||
class getAddonName {}; | ||
class getAddonRequiredAddons {}; | ||
class getAddonRequiredVersion {}; | ||
class getAddonUnits {}; | ||
class getAddonURL {}; | ||
class getAddonVersion {}; | ||
class getAddonVersionArray {}; | ||
class getAddonVersionString {}; | ||
class getAddonWeapons {}; | ||
class isAddon {}; | ||
}; | ||
|
||
class Common { | ||
file = "\axe_common\functions\common"; | ||
class addItem {}; | ||
class attachToRel {}; | ||
class createLitter {}; | ||
class createLitterServer {}; | ||
class isAdmin {}; | ||
class isCurator {}; | ||
class isInBuilding {}; | ||
}; | ||
|
||
class Diagnostic { | ||
file = "\axe_common\functions\diagnostics"; | ||
class diagLog {}; | ||
class isDebug {}; | ||
class log {}; | ||
}; | ||
|
||
class SafeMode { | ||
file = "\axe_common\functions\safemode"; | ||
class weaponFiremodeSound {}; | ||
class weaponLock {}; | ||
class weaponUnlock {}; | ||
}; | ||
|
||
class Settings { | ||
file = "\axe_common\functions\settings"; | ||
class getKeybindString {}; | ||
class needRestart {}; | ||
class needRestartLocal {}; | ||
}; | ||
|
||
class Sounds { | ||
file = "\axe_common\functions\sounds"; | ||
class getSoundDuration {}; | ||
class getSoundPath {}; | ||
class isSpeaking {}; | ||
class loop3d {}; | ||
class loop3dGlobal {}; | ||
class play3d {}; | ||
class play3dGlobal {}; | ||
class playSound {}; | ||
class playSoundGlobal {}; | ||
class playSound3d {}; | ||
class say3d {}; | ||
class say3dGlobal {}; | ||
class speak3d {}; | ||
class speak3dGlobal {}; | ||
class stop3d; | ||
class stop3dGlobal; | ||
}; | ||
|
||
class Videos { | ||
file = "\axe_common\functions\videos"; | ||
class playVideo {}; | ||
class playVideoOnce {}; | ||
class videoKeyDown {}; | ||
}; | ||
|
||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include "\axe_main\script_macros.hpp" | ||
#include "BIS_AddonInfo.hpp" | ||
|
||
class CfgPatches { | ||
|
||
class AXE_Common { | ||
name = "$STR_AXE_Common_Title"; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"axe_main", | ||
"axe_hints" | ||
}; | ||
units[] = {}; | ||
weapons[] = {}; | ||
author = "$STR_AXE_Common_Author"; | ||
authors[] = { | ||
"O. Jemineh" | ||
}; | ||
url = "$STR_AXE_Common_URL"; | ||
VERSION_CONFIG; | ||
}; | ||
|
||
}; | ||
|
||
#include "CfgEventHandlers.hpp" | ||
#include "CfgFunctions.hpp" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonAuthor.sqf | ||
* by Ojemineh | ||
* | ||
* get addon author | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <STRING> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonAuthor; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = ""; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getText (configfile >> "CfgPatches" >> _classname >> "author"); | ||
}; | ||
|
||
_return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonAuthors.sqf | ||
* by Ojemineh | ||
* | ||
* get addon authors | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <ARRAY> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonAuthors; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = []; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getArray (configfile >> "CfgPatches" >> _classname >> "authors"); | ||
}; | ||
|
||
_return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonName.sqf | ||
* by Ojemineh | ||
* | ||
* get addon name | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <STRING> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonName; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = ""; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getText (configfile >> "CfgPatches" >> _classname >> "name"); | ||
}; | ||
|
||
_return |
33 changes: 33 additions & 0 deletions
33
addons/common/functions/addons/fn_getAddonRequiredAddons.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonRequiredAddons.sqf | ||
* by Ojemineh | ||
* | ||
* get addon required addons | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <ARRAY> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonRequiredAddons; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = []; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getArray (configfile >> "CfgPatches" >> _classname >> "requiredAddons"); | ||
}; | ||
|
||
_return |
33 changes: 33 additions & 0 deletions
33
addons/common/functions/addons/fn_getAddonRequiredVersion.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonRequiredVersion.sqf | ||
* by Ojemineh | ||
* | ||
* get addon required version | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <STRING> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonRequiredVersion; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = 0; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getNumber (configfile >> "CfgPatches" >> _classname >> "requiredVersion"); | ||
}; | ||
|
||
_return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonURL.sqf | ||
* by Ojemineh | ||
* | ||
* get addon url | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <STRING> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonURL; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = ""; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getText (configfile >> "CfgPatches" >> _classname >> "url"); | ||
}; | ||
|
||
_return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* ARMA EXTENDED ENVIRONMENT | ||
* \axe_common\functions\addons\fn_getAddonUnits.sqf | ||
* by Ojemineh | ||
* | ||
* get addon units | ||
* | ||
* Arguments: | ||
* 0: classname - <STRING> | ||
* | ||
* Return: | ||
* <ARRAY> | ||
* | ||
* Example: | ||
* ["axe_core"] call AXE_fnc_getAddonUnits; | ||
* | ||
*/ | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private ["_classname"]; | ||
|
||
_classname = [_this, 0, "", [""]] call BIS_fnc_param; | ||
|
||
// ------------------------------------------------------------------------------------------------- | ||
|
||
private _return = []; | ||
|
||
if (isClass (configfile >> "CfgPatches" >> _classname)) then { | ||
_return = getArray (configfile >> "CfgPatches" >> _classname >> "units"); | ||
}; | ||
|
||
_return |
Oops, something went wrong.