ACE3/addons/medical_treatment
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
..
data Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
functions Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
sounds implement custom treatment sounds 2016-09-29 18:45:18 +02:00
ui Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
$PBOPREFIX$ Add first step in medical rewrite 2016-06-30 17:33:29 +02:00
ACE_Medical_Facilities.hpp Add Global Mobilization Compatibility (#7835) 2021-10-14 10:48:54 -05:00
ACE_Medical_Treatment_Actions.hpp Medical Treatment - Improve Medical Actions underwater (#9096) 2023-05-15 23:47:00 -06:00
ACE_Medical_Treatment.hpp fix minor cut re-opening (#8296) 2021-06-27 13:25:55 -05:00
Cfg3DEN.hpp HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgReplacementItems.hpp Fast medical item replacement (#7224) 2019-10-11 15:00:25 -05:00
CfgVehicles.hpp Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
CfgWeapons.hpp Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
config.cpp Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
initSettings.sqf Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
script_component.hpp values, simplify 2020-02-23 14:25:11 +01:00
stringtable.xml Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
XEH_postInit.sqf General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
XEH_preInit.sqf Fast medical item replacement (#7224) 2019-10-11 15:00:25 -05:00
XEH_PREP.hpp Medical Treatment - Suture (#9020) 2023-03-06 14:17:01 -06:00
XEH_preStart.sqf Change split medical in two components 2016-06-13 17:00:56 +02:00