ACE3/addons/medical_ai/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_canRequestMedic.sqf Fix unconscious medics not being healed by other AI medics (#7995) 2020-11-08 16:32:02 -06:00
fnc_healingLogic.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
fnc_healSelf.sqf Medical AI - Adjust healing logic for rewrite (#6902) 2019-07-03 09:59:28 -05:00
fnc_healUnit.sqf Medical AI - Adjust healing logic for rewrite (#6902) 2019-07-03 09:59:28 -05:00
fnc_isInjured.sqf Medical AI - Adjust healing logic for rewrite (#6902) 2019-07-03 09:59:28 -05:00
fnc_isSafe.sqf Medical AI - Use suppressed EH to determine safety of AI (#8242) 2023-06-23 18:59:11 -03:00
fnc_playTreatmentAnim.sqf Medical AI - Adjust healing logic for rewrite (#6902) 2019-07-03 09:59:28 -05:00
fnc_requestMedic.sqf [WIP] Fix script errors reporting wrong line numbers (#6407) 2018-09-17 14:19:29 -05:00
fnc_wasRequested.sqf Utilize isNotEqualTo (#7929) 2021-02-27 11:05:05 -06:00
script_component.hpp Add Medical AI implementation for basic medical (#4311) 2016-09-04 11:25:03 +02:00