mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - add dummy cfgVehicle entries for old modules (#7091)
* Medical - add dummy cfgVehicle entries for old modules * add medical_menu * Update addons/medical/CfgVehicles.hpp Co-Authored-By: jonpas <jonpas33@gmail.com>
This commit is contained in:
parent
1534f8cd8d
commit
e1c650d56e
@ -1,7 +1,23 @@
|
|||||||
class CfgVehicles {
|
class CfgVehicles {
|
||||||
|
// Backwards compatibility
|
||||||
|
// Left as dumb modules so that old missions don't error about missing vehicles
|
||||||
class Logic;
|
class Logic;
|
||||||
// Left as dumb logic so that old missions don't error about missing vehicle
|
class Module_F: Logic {
|
||||||
class ACE_moduleMedicalSettings: Logic {
|
class EventHandlers;
|
||||||
|
};
|
||||||
|
class ACE_moduleMedicalSettings: Module_F {
|
||||||
|
author = ECSTRING(common,ACETeam);
|
||||||
scope = 1;
|
scope = 1;
|
||||||
|
displayName = "[ACE] Retired Medical module (will have no effect)";
|
||||||
|
class EventHandlers: EventHandlers {
|
||||||
|
init = "diag_log text format ['[ACE] (Medical) Warning retired module [%1] placed (will have no effect)', typeOf (_this select 0)];";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
class ACE_moduleBasicMedicalSettings: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleAdvancedMedicalSettings: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleReviveSettings: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleAssignMedicRoles: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleAssignMedicVehicle: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleAssignMedicalFacility: ACE_moduleMedicalSettings {};
|
||||||
|
class ACE_moduleMedicalMenuSettings: ACE_moduleMedicalSettings {};
|
||||||
|
};
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
#define COMPONENT_BEAUTIFIED Medical Treatment
|
#define COMPONENT_BEAUTIFIED Medical Treatment
|
||||||
#include "\z\ace\addons\main\script_mod.hpp"
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
#define DEBUG_MODE_FULL
|
// #define DEBUG_MODE_FULL
|
||||||
#define DISABLE_COMPILE_CACHE
|
// #define DISABLE_COMPILE_CACHE
|
||||||
#define ENABLE_PERFORMANCE_COUNTERS
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED_MEDICAL_TREATMENT
|
#ifdef DEBUG_ENABLED_MEDICAL_TREATMENT
|
||||||
#define DEBUG_MODE_FULL
|
#define DEBUG_MODE_FULL
|
||||||
|
Loading…
Reference in New Issue
Block a user