2015-01-18 21:16:35 +00:00
#include "script_component.hpp"
2015-02-03 19:09:25 +00:00
ADDON = false;
2015-01-18 21:16:35 +00:00
2016-11-23 19:35:25 +00:00
PREP_RECOMPILE_START;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
2016-11-23 19:35:25 +00:00
PREP_RECOMPILE_END;
2015-04-18 15:31:03 +00:00
2019-03-24 05:37:39 +00:00
#include "initSettings.sqf"
2016-11-07 21:21:07 +00:00
2019-03-25 03:17:46 +00:00
// Add warning for old functions that were technically public, Remove at 3.14.0
{
missionNamespace setVariable [_x, compileFinal format ['diag_log text "ACE Medical WARNING: Formerly public function [%1] has no effect in medical rewrite."; nil', _x]];
2019-06-03 15:31:46 +00:00
} forEach [
QFUNC(actionPlaceInBodyBag),
QFUNC(actionRemoveTourniquet),
QFUNC(addHeartRateAdjustment),
QFUNC(addToLog),
QFUNC(addToTriageCard),
QFUNC(addUnconsciousCondition),
QFUNC(addVitalLoop),
QFUNC(canAccessMedicalEquipment),
QFUNC(canTreat),
QFUNC(displayTriageCard),
QFUNC(dropDownTriageCard),
QFUNC(getTriageStatus),
QFUNC(getUnconsciousCondition),
QFUNC(hasItem),
QFUNC(hasItems),
QFUNC(hasTourniquetAppliedTo),
QFUNC(isInMedicalFacility),
QFUNC(isInMedicalVehicle),
QFUNC(isMedic),
QFUNC(isMedicalVehicle),
QFUNC(itemCheck),
QFUNC(selectionNameToNumber),
QFUNC(setCardiacArrest),
QFUNC(setDead),
QFUNC(setHitPointDamage),
QFUNC(showBloodEffect),
QFUNC(treatment),
QFUNC(treatmentAdvanced_bandage),
QFUNC(treatmentAdvanced_CPR),
QFUNC(treatmentAdvanced_CPRLocal),
QFUNC(treatmentAdvanced_medication),
QFUNC(treatmentAdvanced_medicationLocal),
QFUNC(treatmentIV),
QFUNC(treatmentIVLocal),
QFUNC(unconsciousPFH),
QFUNC(useItem),
QFUNC(useItems)
];
2019-03-25 03:17:46 +00:00
2015-01-18 21:16:35 +00:00
ADDON = true;