mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor RPT cleanup (#7658)
This commit is contained in:
parent
11f1c2b626
commit
1e2b88f170
@ -20,8 +20,6 @@
|
|||||||
///////////////
|
///////////////
|
||||||
private _version = getText (configFile >> "CfgPatches" >> "ace_main" >> "versionStr");
|
private _version = getText (configFile >> "CfgPatches" >> "ace_main" >> "versionStr");
|
||||||
|
|
||||||
INFO_1("ACE is version %1.",_version);
|
|
||||||
|
|
||||||
//CBA Versioning check - close main display if using incompatible version
|
//CBA Versioning check - close main display if using incompatible version
|
||||||
private _cbaVersionAr = getArray (configFile >> "CfgPatches" >> "cba_main" >> "versionAr");
|
private _cbaVersionAr = getArray (configFile >> "CfgPatches" >> "cba_main" >> "versionAr");
|
||||||
private _cbaRequiredAr = getArray (configFile >> "CfgSettings" >> "CBA" >> "Versioning" >> "ACE" >> "dependencies" >> "CBA") select 1;
|
private _cbaRequiredAr = getArray (configFile >> "CfgSettings" >> "CBA" >> "Versioning" >> "ACE" >> "dependencies" >> "CBA") select 1;
|
||||||
@ -29,7 +27,7 @@ private _cbaRequiredAr = getArray (configFile >> "CfgSettings" >> "CBA" >> "Vers
|
|||||||
private _cbaVersionStr = _cbaVersionAr joinString ".";
|
private _cbaVersionStr = _cbaVersionAr joinString ".";
|
||||||
private _cbaRequiredStr = _cbaRequiredAr joinString ".";
|
private _cbaRequiredStr = _cbaRequiredAr joinString ".";
|
||||||
|
|
||||||
INFO_2("CBA is version %1 (min required %2)",_cbaVersionStr,_cbaRequiredStr);
|
INFO_3("ACE is version %1 - CBA is version %2 (min required %3)",_version,_cbaVersionStr,_cbaRequiredStr);
|
||||||
|
|
||||||
if ([_cbaRequiredAr, _cbaVersionAr] call cba_versioning_fnc_version_compare) then {
|
if ([_cbaRequiredAr, _cbaVersionAr] call cba_versioning_fnc_version_compare) then {
|
||||||
private _errorMsg = format ["CBA version %1 is outdated (required %2)", _cbaVersionStr, _cbaRequiredStr];
|
private _errorMsg = format ["CBA version %1 is outdated (required %2)", _cbaVersionStr, _cbaRequiredStr];
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
|
|
||||||
[QEGVAR(medical,setUnconscious), LINKFUNC(setUnconscious)] call CBA_fnc_addEventHandler;
|
[QEGVAR(medical,setUnconscious), LINKFUNC(setUnconscious)] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
// For BETA/RC - debug non-default settings to rpt:
|
|
||||||
call compile preprocessFileLineNumbers QPATHTOF(dev\reportSettings.sqf);
|
|
||||||
|
|
||||||
if (!hasInterface) exitWith {};
|
if (!hasInterface) exitWith {};
|
||||||
|
|
||||||
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
|
[missionNamespace, "ACE_setCustomAimCoef", QUOTE(ADDON), {
|
||||||
@ -13,6 +10,7 @@ if (!hasInterface) exitWith {};
|
|||||||
}] call EFUNC(common,arithmeticSetSource);
|
}] call EFUNC(common,arithmeticSetSource);
|
||||||
|
|
||||||
#ifdef DEBUG_MODE_FULL
|
#ifdef DEBUG_MODE_FULL
|
||||||
|
call compile preprocessFileLineNumbers QPATHTOF(dev\reportSettings.sqf);
|
||||||
call compile preprocessFileLineNumbers QPATHTOF(dev\watchVariable.sqf);
|
call compile preprocessFileLineNumbers QPATHTOF(dev\watchVariable.sqf);
|
||||||
call compile preprocessFileLineNumbers QPATHTOF(dev\debugDisplay.sqf);
|
call compile preprocessFileLineNumbers QPATHTOF(dev\debugDisplay.sqf);
|
||||||
#endif
|
#endif
|
||||||
|
@ -21,7 +21,7 @@ addMissionEventHandler ["Loaded",{
|
|||||||
|
|
||||||
// DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandler);
|
// DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandler);
|
||||||
// } else {
|
// } else {
|
||||||
INFO("Using woundsHandlerSQF");
|
// INFO("Using woundsHandlerSQF");
|
||||||
DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandlerSQF);
|
DFUNC(woundsHandlerActive) = LINKFUNC(woundsHandlerSQF);
|
||||||
// };
|
// };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user