ACE3/addons/medical
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
..
dev Medical - Change medical to use hashmaps for wound storage (#8926) 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
ui Merge branch 'master' into medical-rewrite 2019-03-17 17:39:43 +01:00
$PBOPREFIX$ Add first step in medical rewrite 2016-06-30 17:33:29 +02:00
ACE_Settings.hpp Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgVehicles.hpp Medical - add dummy cfgVehicle entries for old modules (#7091) 2019-07-05 15:32:19 -05:00
config.cpp Medical - Fix hitpoints on VR units (#7098) 2019-07-12 10:03:22 -05:00
initSettings.sqf initial push (#8099) 2021-02-18 12:58:26 -06:00
script_component.hpp Small med stuff (#7084) 2019-07-03 10:40:42 -05:00
stringtable.xml Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
XEH_postInit.sqf Minor RPT cleanup (#7658) 2020-04-22 10:05:22 -05:00
XEH_preInit.sqf General - Remove deprecated functions (#8878) 2022-04-17 08:27:19 +01:00
XEH_PREP.hpp Medical - Add functions to serialize / deserialize the medical state of a unit (#7944) 2021-07-23 15:49:04 +02:00
XEH_preStart.sqf Medical - fix the Enoch pilot uniform not taking damage, fix hitpoints test (#7527) 2020-02-16 18:34:46 -06:00