ACE3/addons/medical_engine
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 Tools - Add dummy rtms to make ace buildable by current mikro tools (#9135) 2023-01-28 14:13:45 -06:00
functions Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
$PBOPREFIX$ merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
CfgActions.hpp Medical Engine - Hide actions that have ACE interactions (#8003) 2020-11-29 19:21:02 +01:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgExtendedAnimation.hpp Medical Engine - Fix unconscious animation state checks (#8623) 2021-11-08 00:15:52 +01:00
CfgFunctions.hpp Medical Engine - Disable third party medical systems (#8289) 2021-07-23 21:32:36 +02:00
CfgMoves.hpp Medical Engine - Fix unconscious animation state checks (#8623) 2021-11-08 00:15:52 +01:00
CfgVehicles.hpp Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
CfgWeapons.hpp merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
config.cpp Medical Engine - Disable third party medical systems (#8289) 2021-07-23 21:32:36 +02:00
initSettings.sqf Medical - Fix #8389 (#8390) 2021-08-23 18:27:00 -05:00
README.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
script_component.hpp Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
script_macros_config.hpp Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
script_macros_medical.hpp Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
stringtable.xml Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
XEH_postInit.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
XEH_preInit.sqf Medical - Rework wound handling (#8278) 2022-02-17 20:03:12 +00:00
XEH_PREP.hpp Medical Engine - Disable third party medical systems (#8289) 2021-07-23 21:32:36 +02:00
XEH_preStart.sqf merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00

ace_medical_engine

Links Arma 3 soldier health simulation to ACE medical system.