mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add missing PREPs
This commit is contained in:
parent
5bc57cd793
commit
7d55163463
17
addons/medical_statemachine/CfgEventHandlers.hpp
Normal file
17
addons/medical_statemachine/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,17 @@
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
7
addons/medical_statemachine/XEH_PREP.hpp
Normal file
7
addons/medical_statemachine/XEH_PREP.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
PREP(enteredStateCardiacArrest);
|
||||
PREP(enteredStateFatalInjury);
|
||||
PREP(handleStateDefault);
|
||||
PREP(handleStateInjured);
|
||||
PREP(handleStateUnconscious);
|
||||
PREP(leftStateCardiacArrest);
|
||||
PREP(transitionStateSecondChance);
|
2
addons/medical_statemachine/XEH_postInit.sqf
Normal file
2
addons/medical_statemachine/XEH_postInit.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
#include "script_component.hpp"
|
||||
|
7
addons/medical_statemachine/XEH_preInit.sqf
Normal file
7
addons/medical_statemachine/XEH_preInit.sqf
Normal file
@ -0,0 +1,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
ADDON = false;
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
ADDON = true;
|
3
addons/medical_statemachine/XEH_preStart.sqf
Normal file
3
addons/medical_statemachine/XEH_preStart.sqf
Normal file
@ -0,0 +1,3 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
#include "XEH_PREP.hpp"
|
@ -0,0 +1,24 @@
|
||||
PREP(addHeartRadeAdjustment);
|
||||
PREP(getBloodLoss);
|
||||
PREP(getBloodPressure);
|
||||
PREP(getBloodVolumeChanges);
|
||||
PREP(getCardiacOutput);
|
||||
PREP(getHeartRate);
|
||||
PREP(getPainPerceived);
|
||||
PREP(getPainTotal);
|
||||
PREP(hasStableVitals);
|
||||
PREP(hasTourniquetAppliedTo);
|
||||
PREP(initUnit);
|
||||
PREP(isBeingCarried);
|
||||
PREP(isBeingDragged);
|
||||
PREP(isInMedicalFacility);
|
||||
PREP(isInMedicalVehicle);
|
||||
PREP(isInStableoCondition);
|
||||
PREP(isMedic);
|
||||
PREP(isMedicalVehicle);
|
||||
PREP(isUnconscious);
|
||||
PREP(setCardiacArrest);
|
||||
PREP(setDead);
|
||||
PREP(setHeartRate);
|
||||
PREP(setPainTotal);
|
||||
PREP(setUnconscious);
|
@ -20,10 +20,10 @@ PREP(treatment_success);
|
||||
|
||||
PREP(treatmentBandage);
|
||||
PREP(treatmentBandageLocal);
|
||||
PREP(treatmentCPR);
|
||||
PREP(treatmentCPR_failure);
|
||||
PREP(treatmentCPR_progress);
|
||||
PREP(treatmentCPR_start);
|
||||
PREP(treatmentCPR);
|
||||
PREP(treatmentCPRLocal);
|
||||
PREP(treatmentFullHeal);
|
||||
PREP(treatmentFullHealLocal);
|
||||
@ -41,6 +41,7 @@ PREP(treatmentTourniquetRemove);
|
||||
// misc
|
||||
PREP(addToLog);
|
||||
PREP(addToTriageCard);
|
||||
PREP(calculateBlood);
|
||||
PREP(canAccessMedicalEquipment);
|
||||
PREP(dropDownTriageCard);
|
||||
PREP(getTriageStatus);
|
||||
@ -50,7 +51,6 @@ PREP(HealTimeMedkit);
|
||||
PREP(isBeingCarried);
|
||||
PREP(isBeingDragged);
|
||||
PREP(onMedicationUsage);
|
||||
PREP(calculateBlood);
|
||||
|
||||
// items
|
||||
PREP(checkItems);
|
||||
|
17
addons/medical_vitals/CfgEventHandlers.hpp
Normal file
17
addons/medical_vitals/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,17 @@
|
||||
class Extended_PreStart_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
4
addons/medical_vitals/XEH_PREP.hpp
Normal file
4
addons/medical_vitals/XEH_PREP.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
PREP(handleUnitVitals);
|
||||
PREP(updateHeartRate);
|
||||
PREP(updatePainSuppress);
|
||||
PREP(updatePeripheralResistance);
|
2
addons/medical_vitals/XEH_postInit.sqf
Normal file
2
addons/medical_vitals/XEH_postInit.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
#include "script_component.hpp"
|
||||
|
7
addons/medical_vitals/XEH_preInit.sqf
Normal file
7
addons/medical_vitals/XEH_preInit.sqf
Normal file
@ -0,0 +1,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
ADDON = false;
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
ADDON = true;
|
3
addons/medical_vitals/XEH_preStart.sqf
Normal file
3
addons/medical_vitals/XEH_preStart.sqf
Normal file
@ -0,0 +1,3 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
#include "XEH_PREP.hpp"
|
Loading…
Reference in New Issue
Block a user