diff --git a/addons/medical_vitals/$PBOPREFIX$ b/addons/medical_vitals/$PBOPREFIX$ new file mode 100644 index 0000000000..c3a2843a0e --- /dev/null +++ b/addons/medical_vitals/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\medical_vitals diff --git a/addons/medical_vitals/config.cpp b/addons/medical_vitals/config.cpp new file mode 100644 index 0000000000..e2b494b65a --- /dev/null +++ b/addons/medical_vitals/config.cpp @@ -0,0 +1,15 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_medical"}; + author = ECSTRING(common,ACETeam); + authors[] = {"Glowbal", "KoffeinFlummi"}; + url = ECSTRING(main,URL); + VERSION_CONFIG; + }; +}; diff --git a/addons/medical/functions/fnc_handleUnitVitals.sqf b/addons/medical_vitals/functions/fnc_handleUnitVitals.sqf similarity index 100% rename from addons/medical/functions/fnc_handleUnitVitals.sqf rename to addons/medical_vitals/functions/fnc_handleUnitVitals.sqf diff --git a/addons/medical/functions/fnc_updateHeartRate.sqf b/addons/medical_vitals/functions/fnc_updateHeartRate.sqf similarity index 100% rename from addons/medical/functions/fnc_updateHeartRate.sqf rename to addons/medical_vitals/functions/fnc_updateHeartRate.sqf diff --git a/addons/medical/functions/fnc_updatePainSuppress.sqf b/addons/medical_vitals/functions/fnc_updatePainSuppress.sqf similarity index 100% rename from addons/medical/functions/fnc_updatePainSuppress.sqf rename to addons/medical_vitals/functions/fnc_updatePainSuppress.sqf diff --git a/addons/medical/functions/fnc_updatePeripheralResistance.sqf b/addons/medical_vitals/functions/fnc_updatePeripheralResistance.sqf similarity index 100% rename from addons/medical/functions/fnc_updatePeripheralResistance.sqf rename to addons/medical_vitals/functions/fnc_updatePeripheralResistance.sqf diff --git a/addons/medical_vitals/script_component.hpp b/addons/medical_vitals/script_component.hpp new file mode 100644 index 0000000000..4ceb4fea63 --- /dev/null +++ b/addons/medical_vitals/script_component.hpp @@ -0,0 +1,18 @@ +#define COMPONENT medical_vitals +#define COMPONENT_BEAUTIFIED Medical Vitals +#include "\z\ace\addons\main\script_mod.hpp" + +// #define DEBUG_MODE_FULL +#define DISABLE_COMPILE_CACHE +// #define ENABLE_PERFORMANCE_COUNTERS + +#ifdef DEBUG_ENABLED_MEDICAL_VITALS + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_SETTINGS_MEDICAL_VITALS + #define DEBUG_SETTINGS DEBUG_SETTINGS_MEDICAL_VITALS +#endif + +#include "\z\ace\addons\main\script_macros.hpp" +#include "\z\ace\addons\medical\script_macros_medical.hpp"