ACE3/addons/medical_engine/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_applyAnimAfterRagdoll.sqf Medical Engine - Synchronize random unconscious anims (#8671) 2021-11-11 16:34:56 -06:00
fnc_damageBodyPart.sqf Move #includes before function headers (#6484) 2018-07-30 10:22:14 +01:00
fnc_disableThirdParty.sqf Medical Engine - Disable third party medical systems (#8289) 2021-07-23 21:32:36 +02:00
fnc_getHitpointArmor.sqf Various - Use configOf command for faster lookup (#8100) 2021-02-18 12:58:08 -06:00
fnc_getItemArmor.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_handleDamage.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
fnc_setStructuralDamage.sqf Medical - Improve some error msgs (#7588) 2020-04-05 05:01:51 +02:00
fnc_setUnconsciousAnim.sqf Medical Engine - Fix unconscious animation state checks (#8623) 2021-11-08 00:15:52 +01:00
fnc_updateBodyPartVisuals.sqf Formatting. Lazy eval 2019-03-21 14:34:51 +01:00
fnc_updateDamageEffects.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
script_component.hpp merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00