ACE3/addons/medical_menu/ACE_Settings.hpp

34 lines
1.2 KiB
C++
Raw Normal View History

2015-08-07 18:15:09 +00:00
class ACE_Settings {
class GVAR(allow) {
displayName = CSTRING(allow);
description = CSTRING(allow_Descr);
value = 1;
2015-08-08 18:22:19 +00:00
typeName = "SCALAR";
values[] = {ECSTRING(common,Disabled), ECSTRING(common,Enabled), ECSTRING(common,VehiclesOnly)};
category = ECSTRING(medical,Category_Medical);
2015-08-07 18:15:09 +00:00
};
class GVAR(useMenu) {
displayName = CSTRING(useMenu);
description = CSTRING(useMenu_Descr);
2015-08-08 18:22:19 +00:00
value = 0;
typeName = "SCALAR";
values[] = {ECSTRING(common,Disabled), ECSTRING(common,Enabled), ECSTRING(common,VehiclesOnly)};
2015-08-07 18:15:09 +00:00
isClientSettable = 1;
category = ECSTRING(medical,Category_Medical);
2015-08-07 18:15:09 +00:00
};
class GVAR(openAfterTreatment) {
displayName = CSTRING(openAfterTreatment);
description = CSTRING(openAfterTreatment_Descr);
typeName = "BOOL";
value = 1;
isClientSettable = 1;
category = ECSTRING(medical,Category_Medical);
2015-08-07 18:15:09 +00:00
};
class GVAR(maxRange) {
2015-10-13 18:40:16 +00:00
//for ref: 3d interaction (MEDICAL_ACTION_DISTANCE) is 1.75
value = 3;
typeName = "SCALAR";
2015-10-13 18:40:16 +00:00
category = ECSTRING(medical,Category_Medical);
};
2015-08-07 18:15:09 +00:00
};