ACE3/addons/medical_treatment/XEH_PREP.hpp

71 lines
1.5 KiB
C++
Raw Normal View History

2016-09-19 07:55:30 +00:00
2016-10-20 00:14:11 +00:00
// actions
PREP(actionCheckBloodPressure);
PREP(actionCheckBloodPressureLocal);
PREP(actionCheckPulse);
PREP(actionCheckPulseLocal);
PREP(actionCheckResponse);
PREP(actionDiagnose);
PREP(actionLoadUnit);
PREP(actionPlaceInBodyBag);
PREP(actionUnloadUnit);
2017-10-03 03:37:22 +00:00
PREP(addLoadPatientActions);
// treaments
PREP(canTreat);
PREP(canTreatCached);
PREP(treatment);
PREP(treatment_failure);
PREP(treatment_success);
PREP(treatmentBandage);
PREP(treatmentBandageLocal);
2018-04-27 14:43:41 +00:00
PREP(treatmentCPR);
PREP(treatmentCPR_failure);
PREP(treatmentCPR_progress);
PREP(treatmentCPR_start);
PREP(treatmentCPRLocal);
PREP(treatmentFullHeal);
PREP(treatmentFullHealLocal);
PREP(treatmentIV);
PREP(treatmentIVLocal);
PREP(treatmentMedication);
PREP(treatmentMedicationLocal);
PREP(treatmentSurgicalKit_onProgress);
PREP(treatmentTourniquet);
PREP(treatmentTourniquetLocal);
PREP(treatmentTourniquetRemove);
2016-09-18 17:48:49 +00:00
2016-10-20 00:14:11 +00:00
// misc
PREP(addToLog);
PREP(addToTriageCard);
PREP(bodyCleanupLoop);
2018-04-27 14:43:41 +00:00
PREP(calculateBlood);
2016-10-20 00:14:11 +00:00
PREP(canAccessMedicalEquipment);
PREP(dropDownTriageCard);
PREP(findMostEffectiveWound);
PREP(getBandageTime);
2016-10-20 00:14:11 +00:00
PREP(getTriageStatus);
PREP(handleBandageOpening);
PREP(hasTourniquetAppliedTo);
PREP(healTime);
PREP(isInMedicalFacility);
PREP(isInMedicalVehicle);
PREP(isMedic);
PREP(isMedicalVehicle);
2016-10-20 00:14:11 +00:00
PREP(onMedicationUsage);
PREP(serverRemoveBody);
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 22:17:48 +00:00
PREP(setTriageStatus);
2016-10-20 00:14:11 +00:00
// items
2016-09-18 17:48:49 +00:00
PREP(checkItems);
PREP(hasItem);
PREP(hasItems);
PREP(useItem);
PREP(useItems);
2016-09-19 07:55:30 +00:00
// litter
PREP(litterCleanupLoop);
2016-09-19 07:55:30 +00:00
PREP(litterCreate);
PREP(litterHandleCreate);