ACE3/addons/medical_gui/functions
Kyle Mckay 02365609b5
Medical - Change medical to use hashmaps for wound storage (#8926)
* Refactor medical to use hashmaps for wound storage

- We most frequently want to access wounds by body part, so this makes
  that a constant time lookup.
- The body part index is no longer stored in every wound since it's
  inherent in the wound storage.
- Using body part names as the keys of the hashmap to improve code
  clarity (no more magic numbers).

closes #6468

* Add deserilization migration from old wound arrays

Will migrate from old form array wound storage to the new hashmap
strucutre during deserlization. This is relevant for communities piping
medical state out to a database or similar between sessions.

* fix issue with suture stitching

* change version number in comment

---------

Co-authored-by: Salluci <salluci.lovi@gmail.com>
2023-06-24 08:11:56 +03:00
..
fnc_addTreatmentActions.sqf Medical - Add self interaction when needed (#6912) 2019-04-01 09:40:02 -05:00
fnc_bloodLossToRGBA.sqf Medical GUI - Add ability to customize Medical GUI colors (#8350) 2021-10-12 10:11:55 +02:00
fnc_canOpenMenu.sqf Prevent opening the medical menu if the player is unconscious (#6915) 2019-04-02 08:57:28 -05:00
fnc_collectActions.sqf Headers - Fix function names in examples (#7663) 2020-04-25 08:41:45 +02:00
fnc_damageToRGBA.sqf Medical GUI - Add ability to customize Medical GUI colors (#8350) 2021-10-12 10:11:55 +02:00
fnc_displayPatientInformation.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_displayTriageCard.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_handleToggle.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_handleTriageSelect.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_menuPFH.sqf Small med stuff (#7084) 2019-07-03 10:40:42 -05:00
fnc_modifyAction.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_modifyActionTriageLevel.sqf Interaction Menu - Add triage colors to icons at passengers list (#8366) 2021-10-11 11:51:05 +02:00
fnc_onMenuClose.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_onMenuOpen.sqf Medical Menu - Hide categories if they don't have any actions (#6988) 2019-06-08 17:23:09 -05:00
fnc_openMenu.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_toggleTriageSelect.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_updateActions.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_updateBodyImage.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_updateCategories.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_updateInjuryList.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_updateLogList.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
fnc_updateTriageCard.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
fnc_updateTriageStatus.sqf Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
script_component.hpp Fix preprocessor includes 2018-04-27 15:21:49 +01:00