ACE3/addons/medical_gui/ACE_Settings.hpp

35 lines
1.2 KiB
C++
Raw Normal View History

2016-07-15 10:23:26 +00:00
class ACE_Settings {
class GVAR(allow) {
displayName = CSTRING(allow);
description = CSTRING(allow_Descr);
value = 1;
typeName = "SCALAR";
values[] = {ECSTRING(common,Disabled), ECSTRING(common,Enabled), ECSTRING(common,VehiclesOnly)};
category = ECSTRING(medical,Category_Medical);
};
class GVAR(useMenu) {
displayName = CSTRING(useMenu);
description = CSTRING(useMenu_Descr);
2017-04-22 17:22:51 +00:00
value = 1;
2016-07-15 10:23:26 +00:00
typeName = "SCALAR";
values[] = {ECSTRING(common,Disabled), ECSTRING(common,Enabled), ECSTRING(common,VehiclesOnly)};
isClientSettable = 1;
category = ECSTRING(medical,Category_Medical);
};
class GVAR(openAfterTreatment) {
displayName = CSTRING(openAfterTreatment);
description = CSTRING(openAfterTreatment_Descr);
typeName = "BOOL";
value = 1;
isClientSettable = 1;
category = ECSTRING(medical,Category_Medical);
};
class GVAR(maxRange) {
//for ref: 3d interaction (MEDICAL_ACTION_DISTANCE) is 1.75
value = 3;
typeName = "SCALAR";
category = ECSTRING(medical,Category_Medical);
sliderSettings[] = {0, 10, 3, 1};
2016-07-15 10:23:26 +00:00
};
};