ACE3/addons/medical_treatment
mharis001 8d2bba4b35
Rewrite Medical GUI (#6831)
* Add a macro for the bloodloss scaling factor

* Adjust bloodloss threshold for red icon

* Remove bloodloss color scaling factor

The issue is actually the other way round, the factor of 20 would
instantly make bodyparts red on taking a wound.

* Implemet 10 color steps provided by ShackTac

This replaces the old method of colouring the interaction menu icons
and body image selections with a new method that has 10 distinct color
steps (matching across the icons and the body image).

* Use macros for constants

* Implement blue damage colouring

This re-adds visualisation for colouring based on damage. The case where
a limb has a tourniquet will hopefully be handled by an overlayed icon.

* Tidy up file structure

* Move patient information display to medical_ui

* Make common colour conversion code into functions

* Add tourniquet icon overlay to body image

* Fix mispelling I forgot to commit

* Update icon paths to new white cross icon

* Clean mess after rebase

* Add new medical menu gui

* Add updating injury list and body image

* Add updating treatment category buttons

* Update onMenuClose function

* Delete unused functions

* Add action buttons and triage card to menu

* Move medical menu PFH to separate function

* Move setTriageStatus to treatment

* Add triage select dropdown

* Add toggle button action

* Fix mouse moving randomly when opening

* Add logs list update and remove unused functions

* Hide tourniquet icons by default

* Remove CfgInGameUI (already in feedback)

* Update patient info display

* Update triage card display

* Add settings to control interact menu actions

* Cleanup files/paths

* Move triage status update to common function

* Add icons for interact menu actions

* Modify icon color for interact menu actions

* Update canOpenMenu for new setting

* Hide pain information for unconscious

* Stringtable cleanup

* Use switch for pain text

* Change minor triage status to minimal

* Fix injury list to use new stringtable entry names

* Fix medical actions check when disabled

* Skip distance check in same vehicle

* More cleanup

* Fix CI error

* Requested changes

* Fix INJURIES string

* Fix include after comment block

* Fix missing ;

Co-Authored-By: mharis001 <34453221+mharis001@users.noreply.github.com>
2019-03-24 18:17:48 -04:00
..
data Merge branch 'master' into medical-rewrite 2019-03-17 17:39:43 +01:00
functions Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
sounds implement custom treatment sounds 2016-09-29 18:45:18 +02:00
ui/items Strip medical component (#6442) 2018-07-18 19:13:25 +01:00
$PBOPREFIX$ Add first step in medical rewrite 2016-06-30 17:33:29 +02:00
ACE_Medical_Treatment_Actions.hpp Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
ACE_Medical_Treatment.hpp Fixed typo 2016-12-14 18:33:36 +01:00
ACE_Settings.hpp move settings to sqf 2019-03-24 00:37:39 -05:00
CfgEden.hpp Fix event name overlap and macros (#6514) 2018-08-11 11:40:06 +01:00
CfgEventHandlers.hpp Enable treatmnet actions 2016-09-18 19:48:49 +02:00
CfgVehicles.hpp Fix some strings 2019-03-24 00:50:36 -05:00
CfgWeapons.hpp Remove medkit (#6473) 2018-07-26 17:14:11 +01:00
config.cpp Fix required addons in medical restructure (#6441) 2018-07-18 19:19:28 +01:00
initSettings.sqf move settings to sqf 2019-03-24 00:37:39 -05:00
script_component.hpp Disable debugging (#6482) 2018-07-30 00:07:30 +02:00
stringtable.xml Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
XEH_postInit.sqf Remove medkit (#6473) 2018-07-26 17:14:11 +01:00
XEH_preInit.sqf move settings to sqf 2019-03-24 00:37:39 -05:00
XEH_PREP.hpp Rewrite Medical GUI (#6831) 2019-03-24 18:17:48 -04:00
XEH_preStart.sqf Change split medical in two components 2016-06-13 17:00:56 +02:00