Minor RPT cleanup (#7658)

This commit is contained in:
PabstMirror 2020-04-22 10:05:22 -05:00 committed by GitHub
parent 11f1c2b626
commit 1e2b88f170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

View File

@ -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];

View File

@ -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

View File

@ -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);
// }; // };