ACE3/addons/medical_damage
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$ Add first step in medical rewrite 2016-06-30 17:33:29 +02:00
ACE_Medical_Injuries.hpp Medical - Disable blood spurts for fire, burn and drown damage types (#9001) 2022-08-25 12:05:50 -05:00
ACE_Settings.hpp move settings to sqf 2019-03-24 00:37:39 -05:00
CfgAmmo.hpp Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00
CfgEden.hpp Medical - Add ability for unit specific damage threshold (#7455) 2020-04-20 02:17:13 +02:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
config.cpp Medical - Add ability for unit specific damage threshold (#7455) 2020-04-20 02:17:13 +02:00
initSettings.sqf Medical - Fix #8389 (#8390) 2021-08-23 18:27:00 -05:00
script_component.hpp Medical - Death from sum of trauma (#7195) 2019-10-08 10:45:09 -05:00
stringtable.xml Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
XEH_preInit.sqf medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
XEH_PREP.hpp medical_damage - cleanup woundHandler naming (#8824) 2022-02-20 17:23:56 -06:00
XEH_preStart.sqf Add first step in medical rewrite 2016-06-30 17:33:29 +02:00