ACE3/addons/medical_status/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_addMedicationAdjustment.sqf Use function documentation script (#6897) 2023-04-30 23:03:35 +02:00
fnc_adjustPainLevel.sqf Medical - Various debugging and fix cpr anim speed (#7122) 2019-08-06 08:10:33 -05:00
fnc_getBloodLoss.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_getBloodPressure.sqf Medical - Fix severity of wound bleeding and adjust cardiac output calculations (#7010) 2019-06-10 11:23:21 -05:00
fnc_getBloodVolumeChange.sqf Medical - Cleanup settings (#7057) 2019-06-28 11:50:11 -05:00
fnc_getCardiacOutput.sqf Medical - Rework CPR and Bleeding in cardiac arrest (#7060) 2019-06-27 19:01:20 -05:00
fnc_getMedicationCount.sqf Medical - epiBoostsSpontaneousWakeUp (#7076) 2019-09-28 16:11:32 -05:00
fnc_handleKilled.sqf Medical - Update setDead to use setHitpointDamage instigator param (#8397) 2021-11-15 09:31:56 -06:00
fnc_handleKilledMission.sqf Medical - Update setDead to use setHitpointDamage instigator param (#8397) 2021-11-15 09:31:56 -06:00
fnc_hasStableVitals.sqf Move #includes before function headers (#6484) 2018-07-30 10:22:14 +01:00
fnc_initUnit.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_isBeingCarried.sqf Move #includes before function headers (#6484) 2018-07-30 10:22:14 +01:00
fnc_isBeingDragged.sqf Move #includes before function headers (#6484) 2018-07-30 10:22:14 +01:00
fnc_isInStableCondition.sqf Medical - Only stitch wounds on not bleeding body parts (#7044) 2019-09-28 21:48:19 +01:00
fnc_setCardiacArrestState.sqf Only set unconscious upon entering CA (#7503) 2020-02-04 11:17:25 +00:00
fnc_setDead.sqf Medical Statemachine - Improve edge case death handling (#8788) 2022-03-07 12:28:51 -06:00
fnc_setUnconsciousState.sqf Common - Add separate blockSpeaking status for acre direct (#8904) 2022-05-08 13:20:15 -05:00
fnc_updateWoundBloodLoss.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
script_component.hpp Fix preprocessor includes 2018-04-27 15:21:49 +01:00