ace extensions class for modularity

This commit is contained in:
commy2 2015-04-20 18:48:58 +02:00
parent 14214090dc
commit ea368511b7
6 changed files with 19 additions and 5 deletions

View File

@ -15,4 +15,8 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "RscTitles.hpp" #include "RscTitles.hpp"
#include "ACE_Settings.hpp" #include "ACE_Settings.hpp"
class ACE_Extensions {
extensions[] += {"ace_advanced_ballistics"};
};

View File

@ -257,4 +257,4 @@ if(isMultiplayer && { time > 0 || isNull player } ) then {
diag_log text format ["[ACE] ERROR: %1", _errorMsg]; diag_log text format ["[ACE] ERROR: %1", _errorMsg];
["[ACE] ERROR", _errorMsg, {findDisplay 46 closeDisplay 0}] call FUNC(errorMessage); ["[ACE] ERROR", _errorMsg, {findDisplay 46 closeDisplay 0}] call FUNC(errorMessage);
}; };
} forEach ACE_DLLS; } forEach getArray (configFile >> "ACE_Extensions" >> "extensions");

View File

@ -160,3 +160,7 @@ class RscDisplayMain: RscStandardDisplay {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscDisplayMain"",'GUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_5('header','tail',{0},{},_this select 0)] call COMPILE_FILE(functions\fnc_errorMessage)); onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscDisplayMain"",'GUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_5('header','tail',{0},{},_this select 0)] call COMPILE_FILE(functions\fnc_errorMessage));
}; };
*/ */
class ACE_Extensions {
extensions[] = {};
};

View File

@ -11,6 +11,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_COMMON #define DEBUG_SETTINGS DEBUG_SETTINGS_COMMON
#endif #endif
#include "\z\ace\addons\main\script_macros.hpp" #include "\z\ace\addons\main\script_macros.hpp"
#define ACE_DLLS ["ace_breakLine","ace_advanced_ballistics","ace_fcs"]

View File

@ -20,3 +20,7 @@ class CfgPatches {
#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"
#include "CfgOptics.hpp" #include "CfgOptics.hpp"
class ACE_Extensions {
extensions[] += {"ace_fcs"};
};

View File

@ -30,3 +30,7 @@ class ACE_Settings {
displayName = "$STR_ACE_Interact_Menu_UseListMenu"; displayName = "$STR_ACE_Interact_Menu_UseListMenu";
}; };
}; };
class ACE_Extensions {
extensions[] += {"ace_breakLine"};
};