ACE3/addons
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
..
advanced_ballistics HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
advanced_fatigue Advanced Fatigue - Improve misc. code (#8800) 2022-03-08 21:41:56 -06:00
advanced_throwing Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
ai Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00
aircraft Aircraft - Drone Tools (#8276) 2022-05-05 11:07:54 -05:00
apl Trenches - Add camouflage action using surfaceTexture (#8935) 2022-07-15 15:42:00 +01:00
arsenal Arsenal - Fix null comparison (#9213) 2023-06-10 18:59:13 +02:00
artillerytables HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
atragmx Ballistics - Add 12.7x108mm APDS AB values (#9191) 2023-06-22 16:01:09 +03:00
attach Localization - Improve Simplified Chinese (#8781) 2022-02-14 15:57:50 -06:00
backpacks General - Change object config lookups to configOf (#8795) 2022-03-08 21:41:21 -06:00
ballistics Ballistics - Add 12.7x108mm APDS AB values (#9191) 2023-06-22 16:01:09 +03:00
captives Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
cargo Docs - Add Grim to maintainers (#9223) 2023-06-19 16:31:17 +03:00
casings Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
chemlights Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
common Common - Fix added throwables not being throwable (#9186) 2023-06-24 05:09:30 +03:00
compat_ws Optionals - Load dynamically based on presence of mod (__has_include) (#9116) 2023-04-30 16:53:43 -05:00
concertina_wire Add images and icon to concertina wire. (#9071) 2022-10-13 12:13:20 -05:00
cookoff Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
csw Docs - Add Grim to maintainers (#9223) 2023-06-19 16:31:17 +03:00
dagr Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
disarming HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
disposable Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
dogtags Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
dragging Dragging - Improve carrying by allowing carried object to be loaded into vehicle by key or mouse (#9138) 2023-06-23 15:11:16 +03:00
dragon Tools - Add dummy rtms to make ace buildable by current mikro tools (#9135) 2023-01-28 14:13:45 -06:00
explosives Explosives - Add "ace_explosives_setup" CBA Event (#9197) 2023-06-20 13:36:57 -06:00
fastroping HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
fcs Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
field_rations Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
finger Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
fire Fire - Fix fire spread to invincible units and not being able to be put on fire by proximity if multiple units are on fire (#8632) 2023-06-24 05:34:31 +03:00
flashlights Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
flashsuppressors Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
fonts Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
fortify Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
frag Frag/Medical Damage - Treat shrapnel as grenade damage (#9218) 2023-06-22 04:06:52 -03:00
gestures Tools - Add dummy rtms to make ace buildable by current mikro tools (#9135) 2023-01-28 14:13:45 -06:00
gforces Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
goggles HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
grenades Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
gunbag Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
headless Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
hearing Hearing - Remove outdated 12.7x108mm audibleFire value (#9193) 2023-06-22 04:06:07 -03:00
hellfire Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
hitreactions Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
hot HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
hunterkiller Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
huntir Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
intelitems Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
interact_menu Forbit use of (optional) in function headers, always require a value 2023-05-01 17:33:07 +02:00
interaction Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
inventory Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
javelin HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
kestrel4500 HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
killtracker Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
laser Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
laserpointer Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
logistics_rope Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
logistics_uavbattery Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
logistics_wirecutter Logistics Wirecutter - Check if fence model is in FENCE_P3DS even if config check fails. (#9201) 2023-06-24 05:10:04 +03:00
magazinerepack Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
main Optionals - Load dynamically based on presence of mod (__has_include) (#9116) 2023-04-30 16:53:43 -05:00
map Use function documentation script (#6897) 2023-04-30 23:03:35 +02:00
map_gestures Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
maptools Use polyline marker for straight lines (#9174) 2023-04-03 12:18:47 -05:00
marker_flags Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
markers Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
maverick HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
medical Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_ai Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_blood Medical Blood - Add source of blooddrop to events (#9102) 2023-02-01 05:03:44 -06:00
medical_damage Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_engine Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_feedback Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
medical_gui Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_statemachine Docs - Add Grim to maintainers (#9223) 2023-06-19 16:31:17 +03:00
medical_status Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_treatment Medical - Change medical to use hashmaps for wound storage (#8926) 2023-06-24 08:11:56 +03:00
medical_vitals Medical Vitals - Add event to vitals loop (#8891) 2022-05-03 18:04:58 -05:00
metis change name (#8805) 2022-01-30 11:54:30 -06:00
microdagr Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
minedetector Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
missileguidance Missile Guidance - Use weaponsInfo to optimize fire-mode selection (#8879) 2022-08-29 09:33:58 +01:00
missionmodules Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
mk6mortar Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
modules General - Change object config lookups to configOf (#8795) 2022-03-08 21:41:21 -06:00
movement Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00
mx2a HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
nametags Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
nightvision Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
nlaw Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
noidle Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
noradio Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
norearm Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
novehicleclanlogo Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
optics Korean Translation Improved (#9164) 2023-03-10 19:17:36 -06:00
optionsmenu Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
overheating Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
overpressure Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
parachute Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
pylons HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
quickmount Quickmount - Fix teleport bug in UAV through change seat (#9065) 2023-01-31 17:12:19 -06:00
rangecard HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
realisticnames Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
realisticweights Ballistics/Realistic Weights - Improve LMG_Mk200_F (#8811) 2022-03-03 17:19:10 -06:00
rearm Forbit use of (optional) in function headers, always require a value 2023-05-01 17:33:07 +02:00
recoil HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
refuel Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
reload Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
reloadlaunchers Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
repair Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
respawn Respawn - fix script error (#9166) 2023-03-20 13:18:57 -05:00
safemode Safety - Add optional flag to hide hint (#9086) 2022-12-03 13:57:16 -06:00
sandbag Localization - Improve Simplified Chinese (#8781) 2022-02-14 15:57:50 -06:00
scopes Scopes - Add tool to diagnose scope height (#9152) 2023-04-30 16:57:34 -05:00
sitting Korean Translation 100% done (#8899) 2022-05-09 20:28:28 -05:00
slideshow Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
smallarms Localization - Improve Simplified Chinese (#8781) 2022-02-14 15:57:50 -06:00
spectator HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
spottingscope HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
switchunits HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
tacticalladder Translations - Add and Improve Missing Japanese (#8924) 2022-05-27 14:06:51 -05:00
tagging Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
thermals Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
towing Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
trenches Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
tripod Cleanup - Trim all trailing whitespace (#8651) 2021-10-30 16:42:03 -05:00
ui Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
vector HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
vehicle_damage Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
vehiclelock Translations - Russian (#9095) 2022-12-03 13:57:43 -06:00
vehicles Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
viewdistance Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
viewports Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
viewrestriction Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
volume Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00
weaponselect Weapon Select - Remove vehicle smoke selection key (#9144) 2023-02-09 13:17:24 -06:00
weather HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
winddeflection Localization - Improve Simplified Chinese (#8781) 2022-02-14 15:57:50 -06:00
xm157 Scopes - Add tool to diagnose scope height (#9152) 2023-04-30 16:57:34 -05:00
yardage450 HEMTT v10 Compatibility (#9105) 2023-02-01 23:28:55 -06:00
zeus Update Spanish translation (#9203) 2023-05-29 18:22:37 -05:00