From 0c80551fd86a718058fd9f729f9773f041285de8 Mon Sep 17 00:00:00 2001 From: SzwedzikPL Date: Wed, 10 Feb 2016 01:17:18 +0100 Subject: [PATCH] ace attribute category, lower case classes --- addons/common/CfgEden.hpp | 11 +++++++++++ addons/common/config.cpp | 3 ++- addons/medical/CfgEden.hpp | 14 +++++++------- addons/repair/CfgEden.hpp | 14 +++++++------- 4 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 addons/common/CfgEden.hpp diff --git a/addons/common/CfgEden.hpp b/addons/common/CfgEden.hpp new file mode 100644 index 0000000000..1b833b0342 --- /dev/null +++ b/addons/common/CfgEden.hpp @@ -0,0 +1,11 @@ +class Cfg3DEN { + class Object { + class AttributeCategories { + class ace_attributes { + displayName = CSTRING(Options); + collapsed = 1; + class Attributes {}; + }; + }; + }; +}; diff --git a/addons/common/config.cpp b/addons/common/config.cpp index f78e19d063..8050943803 100644 --- a/addons/common/config.cpp +++ b/addons/common/config.cpp @@ -24,6 +24,7 @@ class CfgPatches { #include "CfgMoves.hpp" #include "CfgVoice.hpp" #include "CfgUnitInsignia.hpp" +#include "CfgEden.hpp" class ACE_Rsc_Display_Base { idd = -1; @@ -79,7 +80,7 @@ class CfgUIGrids { displayName = "ACE Hint"; description = "Textual in game feedback to the player."; preview = "\a3\Ui_f\data\GUI\Cfg\UIGrids\grid_hint_ca.paa"; - saveToProfile[] = {0,1}; + saveToProfile[] = {0,1}; }; }; }; diff --git a/addons/medical/CfgEden.hpp b/addons/medical/CfgEden.hpp index 2c8c614a3d..1b5919d287 100644 --- a/addons/medical/CfgEden.hpp +++ b/addons/medical/CfgEden.hpp @@ -1,10 +1,10 @@ class Cfg3DEN { class Object { class AttributeCategories { - class StateSpecial { + class ace_attributes { class Attributes { - class ACE_IsMedic { - property = QUOTE(ACE_IsMedic); + class ace_isMedic { + property = QUOTE(ace_isMedic); value = 0; control = "Combo"; displayName = CSTRING(AssignMedicRoles_role_DisplayName); @@ -19,8 +19,8 @@ class Cfg3DEN { class doctor {name = CSTRING(AssignMedicRoles_role_doctor); value = 2; default = 0;}; }; }; - class ACE_isMedicalVehicle { - property = QUOTE(ACE_isMedicalVehicle); + class ace_isMedicalVehicle { + property = QUOTE(ace_isMedicalVehicle); value = 0; control = "CheckboxNumber"; displayName = CSTRING(AssignMedicVehicle_enabled_DisplayName) @@ -30,8 +30,8 @@ class Cfg3DEN { condition = "objectVehicle"; defaultValue = 0; }; - class ACE_isMedicalFacility { - property = QUOTE(ACE_isMedicalFacility); + class ace_isMedicalFacility { + property = QUOTE(ace_isMedicalFacility); value = 0; control = "Checkbox"; displayName = CSTRING(AssignMedicalFacility_enabled_DisplayName) diff --git a/addons/repair/CfgEden.hpp b/addons/repair/CfgEden.hpp index b35d654774..085b298e46 100644 --- a/addons/repair/CfgEden.hpp +++ b/addons/repair/CfgEden.hpp @@ -1,10 +1,10 @@ class Cfg3DEN { class Object { class AttributeCategories { - class StateSpecial { + class ace_attributes { class Attributes { - class ACE_IsEngineer { - property = QUOTE(ACE_IsEngineer); + class ace_isEngineer { + property = QUOTE(ace_isEngineer); value = 0; control = "Combo"; displayName = CSTRING(AssignEngineerRole_role_DisplayName); @@ -19,8 +19,8 @@ class Cfg3DEN { class specialist {name = CSTRING(AssignEngineerRole_role_specialist); value = 2; default = 0;}; }; }; - class ACE_isRepairVehicle { - property = QUOTE(ACE_isRepairVehicle); + class ace_isRepairVehicle { + property = QUOTE(ace_isRepairVehicle); value = 0; control = "CheckboxNumber"; displayName = CSTRING(AssignRepairVehicle_role_DisplayName) @@ -30,8 +30,8 @@ class Cfg3DEN { condition = "objectVehicle"; defaultValue = 0; }; - class ACE_isRepairFacility { - property = QUOTE(ACE_isRepairFacility); + class ace_isRepairFacility { + property = QUOTE(ace_isRepairFacility); value = 0; control = "CheckboxNumber"; displayName = CSTRING(AssignRepairFacility_role_DisplayName)