ACE3/addons/medical_status
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
..
functions Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
$PBOPREFIX$ Added seperate status component 2017-04-01 20:41:45 +02:00
ACE_settings.hpp Medical - Cleanup settings (#7057) 2019-06-28 11:50:11 -05:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
config.cpp ACE_settings captiliaztion 2019-03-21 09:46:23 -05:00
initSettings.sqf initial push (#8099) 2021-02-18 12:58:26 -06:00
script_component.hpp Medical - Improve adjustment calcs / wound blood loss / medications (#6910) 2019-04-27 14:12:11 -05:00
stringtable.xml Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
XEH_postInit.sqf Move medical settings into their respective components (#6493) 2018-08-06 17:08:43 +01:00
XEH_preInit.sqf Update XEH_preInit.sqf (#8143) 2021-03-03 15:50:08 -06:00
XEH_PREP.hpp Medical Status - Fix double execution of killed event (#7561) 2020-02-29 16:09:00 -06:00
XEH_preStart.sqf Added proper addon basics to status, moved more functions into status 2017-04-26 22:05:40 +02:00