ACE3/addons/medical_damage/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_debug_explosiveTest.sqf medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
fnc_determineIfFatal.sqf Medical - Add ability for unit specific damage threshold (#7455) 2020-04-20 02:17:13 +02:00
fnc_getTypeOfDamage.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_handleIncapacitation.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_interpolatePoints.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_parseConfigForInjuries.sqf medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
fnc_parseWoundHandlersCfg.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_woundReceived.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_woundsHandlerBase.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_woundsHandlerBurning.sqf medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
fnc_woundsHandlerVehiclecrash.sqf medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
script_component.hpp Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00