ACE3/addons/medical/dev
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
..
debugDisplay.sqf Medical AI - Adjust healing logic for rewrite (#6902) 2019-07-03 09:59:28 -05:00
reportSettings.sqf Utilize isNotEqualTo (#7929) 2021-02-27 11:05:05 -06:00
test_hitpointConfigs.sqf Medical - fix the Enoch pilot uniform not taking damage, fix hitpoints test (#7527) 2020-02-16 18:34:46 -06:00
watchVariable.sqf Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00