diff --git a/addons/medical/functions/fnc_updateTourniquets.sqf b/addons/medical/functions/fnc_updateTourniquets.sqf deleted file mode 100644 index 3065ea4f07d..00000000000 --- a/addons/medical/functions/fnc_updateTourniquets.sqf +++ /dev/null @@ -1,26 +0,0 @@ -#include "script_component.hpp" -/* - * Author: diwako - * Update tourniquets on the body image on the menu. - * - * Arguments: - * 0: Display - * 1: Tourniquets - * - * Return Value: - * None - * - * Example: - * [some_display, [0,0,0,0,0,0]] call ace_medical_fnc_updateTourniquets - * - * Public: No - */ - -params ["_display", "_tourniquets"]; - -// Handle tourniquets -private _availableSelections = [0, 0, 56, 57, 58, 59]; -for "_i" from 2 to 5 do { - private _tourn = _tourniquets select _i; - (_display displayCtrl (_availableSelections select _i)) ctrlSetTextColor [0, 0, 0.8, _tourn]; -}; diff --git a/addons/medical_treatment/XEH_PREP.hpp b/addons/medical_treatment/XEH_PREP.hpp index eaf7adc4e7d..389b4b4d826 100644 --- a/addons/medical_treatment/XEH_PREP.hpp +++ b/addons/medical_treatment/XEH_PREP.hpp @@ -43,7 +43,6 @@ PREP(bodyCleanupLoop); PREP(calculateBlood); PREP(canAccessMedicalEquipment); PREP(canBandage); -PREP(dropDownTriageCard); PREP(findMostEffectiveWound); PREP(getBandageTime); PREP(getTriageStatus); diff --git a/addons/medical_treatment/functions/fnc_dropDownTriageCard.sqf b/addons/medical_treatment/functions/fnc_dropDownTriageCard.sqf deleted file mode 100644 index 6342a4169f8..00000000000 --- a/addons/medical_treatment/functions/fnc_dropDownTriageCard.sqf +++ /dev/null @@ -1,33 +0,0 @@ -#include "script_component.hpp" -/* - * Author: Glowbal - * Display triage card for a unit - * - * Arguments: - * 0: Show - * - * Return Value: - * None - * - * Example: - * [true] call ace_medical_treatment_fnc_dropDownTriageCard - * - * Public: No - */ - -params ["_show"]; - -disableSerialization; -private _display = uiNamespace getVariable QGVAR(triageCard); -if (isNil "_display") exitWith {}; - -private _pos = [0,0,0,0]; -if (_show) then { - _pos = ctrlPosition (_display displayCtrl 2001); -}; -for "_idc" from 2002 to 2006 step 1 do { - _pos set [1, (_pos select 1) + (_pos select 3)]; - private _ctrl = (_display displayCtrl _idc); - _ctrl ctrlSetPosition _pos; - _ctrl ctrlCommit 0; -};