From f09131e670562371689b00be9c1ee52de681b5bb Mon Sep 17 00:00:00 2001 From: commy2 Date: Sun, 5 Jun 2016 23:05:14 +0200 Subject: [PATCH] Add 'name' value to all CfgPatches remove debug --- addons/ai/config.cpp | 16 +-- addons/ai/stringtable.xml | 8 ++ addons/arrays/config.cpp | 16 +-- addons/arrays/stringtable.xml | 8 ++ addons/common/config.cpp | 5 +- addons/common/stringtable.xml | 8 ++ addons/diagnostic/config.cpp | 5 +- addons/diagnostic/stringtable.xml | 8 ++ addons/diagnostic/xeh/config.cpp | 6 + addons/events/config.cpp | 5 +- addons/events/stringtable.xml | 8 ++ addons/hashes/config.cpp | 16 +-- addons/hashes/stringtable.xml | 8 ++ addons/help/CfgRscStd.hpp | 18 +-- addons/help/config.cpp | 5 +- addons/help/fnc_setCreditsLine.sqf | 4 + addons/help/stringtable.xml | 122 +++++++++--------- addons/jr/config.cpp | 5 +- addons/jr/stringtable.xml | 8 ++ addons/jr_prep/config.cpp | 7 +- addons/keybinding/config.cpp | 16 +-- addons/keybinding/stringtable.xml | 49 +++---- addons/linux/config.cpp | 5 +- addons/main/config.cpp | 7 +- addons/main/stringtable.xml | 9 ++ addons/main_a3/config.cpp | 9 +- addons/network/config.cpp | 14 +- addons/network/stringtable.xml | 8 ++ addons/strings/config.cpp | 14 +- addons/strings/stringtable.xml | 8 ++ addons/ui/config.cpp | 13 +- addons/ui/stringtable.xml | 8 ++ addons/ui_helper/config.cpp | 8 +- addons/vectors/config.cpp | 17 ++- addons/vectors/stringtable.xml | 8 ++ addons/versioning/config.cpp | 15 +-- addons/versioning/stringtable.xml | 8 ++ addons/xeh/config.cpp | 8 +- addons/xeh/stringtable.xml | 8 ++ optionals/cache_disable/config.cpp | 5 +- .../diagnostic_disable_xeh_logging/config.cpp | 3 + .../diagnostic_enable_logging/config.cpp | 22 ++-- .../diagnostic_enable_perf_loop/config.cpp | 28 ++-- .../config.cpp | 11 +- 44 files changed, 353 insertions(+), 234 deletions(-) create mode 100644 addons/ai/stringtable.xml create mode 100644 addons/arrays/stringtable.xml create mode 100644 addons/diagnostic/stringtable.xml create mode 100644 addons/events/stringtable.xml create mode 100644 addons/hashes/stringtable.xml create mode 100644 addons/jr/stringtable.xml create mode 100644 addons/network/stringtable.xml create mode 100644 addons/strings/stringtable.xml create mode 100644 addons/ui/stringtable.xml create mode 100644 addons/vectors/stringtable.xml create mode 100644 addons/versioning/stringtable.xml create mode 100644 addons/xeh/stringtable.xml diff --git a/addons/ai/config.cpp b/addons/ai/config.cpp index 1e0ae33b1..b4cd1fe97 100644 --- a/addons/ai/config.cpp +++ b/addons/ai/config.cpp @@ -1,18 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { "CBA_common" }; + requiredAddons[] = {"CBA_common"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Rommel"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; #include "CfgFunctions.hpp" - - diff --git a/addons/ai/stringtable.xml b/addons/ai/stringtable.xml new file mode 100644 index 000000000..9b72de3ff --- /dev/null +++ b/addons/ai/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Artificial Intelligence + + + diff --git a/addons/arrays/config.cpp b/addons/arrays/config.cpp index 663855417..fc397965a 100644 --- a/addons/arrays/config.cpp +++ b/addons/arrays/config.cpp @@ -1,18 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { "CBA_common" }; + requiredAddons[] = {"CBA_common"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; #include "CfgFunctions.hpp" - - diff --git a/addons/arrays/stringtable.xml b/addons/arrays/stringtable.xml new file mode 100644 index 000000000..871084679 --- /dev/null +++ b/addons/arrays/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Arrays + + + diff --git a/addons/common/config.cpp b/addons/common/config.cpp index 330e61c01..5038272c5 100644 --- a/addons/common/config.cpp +++ b/addons/common/config.cpp @@ -2,14 +2,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"A3_BaseConfig_F"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner","Sickboy","Rocko"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/common/stringtable.xml b/addons/common/stringtable.xml index b91ebb806..6db324579 100644 --- a/addons/common/stringtable.xml +++ b/addons/common/stringtable.xml @@ -1,4 +1,12 @@ + + + + Community Base Addons - Common Component + + + + diff --git a/addons/diagnostic/config.cpp b/addons/diagnostic/config.cpp index 78def0e71..4bfe3d2b5 100644 --- a/addons/diagnostic/config.cpp +++ b/addons/diagnostic/config.cpp @@ -2,13 +2,14 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"CBA_common","CBA_events","3DEN"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner","Sickboy"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/diagnostic/stringtable.xml b/addons/diagnostic/stringtable.xml new file mode 100644 index 000000000..3abef4785 --- /dev/null +++ b/addons/diagnostic/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Diagnostics + + + diff --git a/addons/diagnostic/xeh/config.cpp b/addons/diagnostic/xeh/config.cpp index 141c4415a..b6b68af51 100644 --- a/addons/diagnostic/xeh/config.cpp +++ b/addons/diagnostic/xeh/config.cpp @@ -2,6 +2,9 @@ #ifndef EH_DEBUG_ENABLED class CfgPatches { class cba_diagnostics_xeh_disabled { + author = "$STR_CBA_Author"; + name = "$STR_CBA_Optional_Component"; + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; worlds[] = {}; @@ -14,6 +17,9 @@ #include "script_component.hpp" class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = "$STR_CBA_Optional_Component"; + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; worlds[] = {}; diff --git a/addons/events/config.cpp b/addons/events/config.cpp index a0b0fd37e..c942af5ad 100644 --- a/addons/events/config.cpp +++ b/addons/events/config.cpp @@ -2,13 +2,14 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"CBA_common"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner","Sickboy","Xeno","commy2"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/events/stringtable.xml b/addons/events/stringtable.xml new file mode 100644 index 000000000..dfc45070b --- /dev/null +++ b/addons/events/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Events + + + diff --git a/addons/hashes/config.cpp b/addons/hashes/config.cpp index 663855417..fc397965a 100644 --- a/addons/hashes/config.cpp +++ b/addons/hashes/config.cpp @@ -1,18 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { "CBA_common" }; + requiredAddons[] = {"CBA_common"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; #include "CfgFunctions.hpp" - - diff --git a/addons/hashes/stringtable.xml b/addons/hashes/stringtable.xml new file mode 100644 index 000000000..f664b619c --- /dev/null +++ b/addons/hashes/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Hashes + + + diff --git a/addons/help/CfgRscStd.hpp b/addons/help/CfgRscStd.hpp index 99bdabca4..59784b9d2 100644 --- a/addons/help/CfgRscStd.hpp +++ b/addons/help/CfgRscStd.hpp @@ -2,14 +2,14 @@ class RscButton; class CBA_Credits_Ver_Btn: RscButton { idc = -1; //template - colorText[] = {1, 1, 1, 0}; - colorDisabled[] = {1, 1, 1, 0}; - colorBackground[] = {1, 1, 1, 0}; - colorBackgroundDisabled[] = {1, 1, 1, 0}; - colorBackgroundActive[] = {1, 1, 1, 0}; - colorShadow[] = {1, 1, 1, 0}; - colorFocused[] = {1, 1, 1, 0}; - soundClick[] = {"", 0.1, 1}; + colorText[] = {1,1,1,0}; + colorDisabled[] = {1,1,1,0}; + colorBackground[] = {1,1,1,0}; + colorBackgroundDisabled[] = {1,1,1,0}; + colorBackgroundActive[] = {1,1,1,0}; + colorShadow[] = {1,1,1,0}; + colorFocused[] = {1,1,1,0}; + soundClick[] = {"",0.1,1}; x = -1; y = -1; w = 0; @@ -20,7 +20,7 @@ class CBA_Credits_Ver_Btn: RscButton { class RscStructuredText; class CBA_Credits_Cont: RscStructuredText { idc = -1; //template - colorBackground[] = { 0, 0, 0, 0 }; + colorBackground[] = {0,0,0,0}; __SX(25); __SY(23); __SW(30); diff --git a/addons/help/config.cpp b/addons/help/config.cpp index bfce6792a..1fce3838c 100644 --- a/addons/help/config.cpp +++ b/addons/help/config.cpp @@ -2,14 +2,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"cba_common","cba_hashes","cba_keybinding","A3_UI_F"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"alef","Rocko","Sickboy"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/help/fnc_setCreditsLine.sqf b/addons/help/fnc_setCreditsLine.sqf index 3b3c39cf1..8d122a23e 100644 --- a/addons/help/fnc_setCreditsLine.sqf +++ b/addons/help/fnc_setCreditsLine.sqf @@ -49,6 +49,10 @@ if (isNil "_entry") exitWith {}; // addon name private _name = configName _entry; +if (isText (_entry >> "name")) then { + _name = getText (_entry >> "name"); +}; + if (!CBA_MonochromeCredits) then { _name = format ["%1", _name]; }; diff --git a/addons/help/stringtable.xml b/addons/help/stringtable.xml index 3413d1ac7..aef39e516 100644 --- a/addons/help/stringtable.xml +++ b/addons/help/stringtable.xml @@ -1,62 +1,64 @@ - - - - - Keybindings - Tastendruckzuweisung - Keybindings - Keybindings - Keybindings - Keybindings - Klawisze - Keybindings - Keybindings - - - Bugtracker - Bugtracker - Bugtracker - Bugtracker - Bugtracker - Bugtracker - Zgłaszanie błędów - Bugtracker - Bugtracker - - - Wiki (Documentation) - Wiki (Documentation) - Wiki (Documentation) - Wiki (Documentation) - Wiki (Documentation) - Wiki (Documentation) - Wiki (dokumentacja) - Wiki (Documentation) - Wiki (Documentation) - - - Credits - Credits - Credits - Credits - Credits - Credits - Twórcy - Credits - Credits - - - Credits - Addons - Credits - Addons - Credits - Addons - Credits - Addons - Credits - Addons - Credits - Addons - Twórcy - Addons - Credits - Addons - Credits - Addons - - - + + + + Community Base Addons - Help + + + + Keybindings + Tastendruckzuweisung + Keybindings + Keybindings + Keybindings + Keybindings + Klawisze + Keybindings + Keybindings + + + Bugtracker + Bugtracker + Bugtracker + Bugtracker + Bugtracker + Bugtracker + Zgłaszanie błędów + Bugtracker + Bugtracker + + + Wiki (Documentation) + Wiki (Documentation) + Wiki (Documentation) + Wiki (Documentation) + Wiki (Documentation) + Wiki (Documentation) + Wiki (dokumentacja) + Wiki (Documentation) + Wiki (Documentation) + + + Credits + Credits + Credits + Credits + Credits + Credits + Twórcy + Credits + Credits + + + Credits - Addons + Credits - Addons + Credits - Addons + Credits - Addons + Credits - Addons + Credits - Addons + Twórcy - Addons + Credits - Addons + Credits - Addons + + diff --git a/addons/jr/config.cpp b/addons/jr/config.cpp index 181556fbc..c87eea045 100644 --- a/addons/jr/config.cpp +++ b/addons/jr/config.cpp @@ -11,14 +11,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"A3_Weapons_F","A3_Weapons_F_Mark","CBA_jr_prep"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Robalo"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; class asdg_jointrails { //compat units[] = {}; diff --git a/addons/jr/stringtable.xml b/addons/jr/stringtable.xml new file mode 100644 index 000000000..3d23d6014 --- /dev/null +++ b/addons/jr/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Joint Rails + + + diff --git a/addons/jr_prep/config.cpp b/addons/jr_prep/config.cpp index 8c2c49a85..0db2cf127 100644 --- a/addons/jr_prep/config.cpp +++ b/addons/jr_prep/config.cpp @@ -2,19 +2,19 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(jr,component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"A3_Weapons_F","A3_Weapons_F_Mark"}; version = VERSION; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; class CfgWeapons { - class Rifle_Base_F; - class Rifle_Long_Base_F : Rifle_Base_F { class WeaponSlotsInfo; }; @@ -115,5 +115,4 @@ class CfgWeapons { delete MuzzleSlot; }; }; - }; diff --git a/addons/keybinding/config.cpp b/addons/keybinding/config.cpp index 2cea900d1..ccb273e25 100644 --- a/addons/keybinding/config.cpp +++ b/addons/keybinding/config.cpp @@ -1,15 +1,15 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { "CBA_common", "A3_UI_F" }; + requiredAddons[] = {"CBA_common", "A3_UI_F"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Taosenai"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; @@ -17,5 +17,3 @@ class CfgPatches #include "CfgFunctions.hpp" #include "gui\gui.hpp" - - diff --git a/addons/keybinding/stringtable.xml b/addons/keybinding/stringtable.xml index 6ce4df9c1..ba2b1e4c2 100644 --- a/addons/keybinding/stringtable.xml +++ b/addons/keybinding/stringtable.xml @@ -1,23 +1,28 @@  - - - Configure Addons - Konfiguracja addonów - - - Configure Base - Konfiguracja bazy - - - Unknown Code %1 - Nieznany klawisz %1 - - - You must load an intro/world/mission to view/change. - Musisz wczytać intro/świat/misję by móc zmieniać/podglądać klawisze. - - - Double click any action to change its binding - Naciśnij dwukrotnie na daną akcję aby zmienić jej klawisz - - + + + + Community Base Addons - Keybinding + + + Configure Addons + Konfiguracja addonów + + + Configure Base + Konfiguracja bazy + + + Unknown Code %1 + Nieznany klawisz %1 + + + You must load an intro/world/mission to view/change. + Musisz wczytać intro/świat/misję by móc zmieniać/podglądać klawisze. + + + Double click any action to change its binding + Naciśnij dwukrotnie na daną akcję aby zmienić jej klawisz + + + diff --git a/addons/linux/config.cpp b/addons/linux/config.cpp index e57ffc480..22e2a935b 100644 --- a/addons/linux/config.cpp +++ b/addons/linux/config.cpp @@ -2,14 +2,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(Optional,Component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"cba_common","cba_events","cba_hashes","cba_jr","cba_xeh"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"commy2"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/main/config.cpp b/addons/main/config.cpp index ff7c5a638..5d854ece3 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -2,7 +2,10 @@ // Simply a package which requires other addons. class CfgPatches { - class ADDON { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; @@ -10,9 +13,7 @@ class CfgPatches { requiredAddons[] = {"cba_common", "cba_arrays", "cba_hashes", "cba_strings", "cba_events", "cba_diagnostic", "cba_network", "cba_ai", "cba_vectors", "cba_ui", "cba_ui_helper", "cba_help"}; versionDesc = "C.B.A."; VERSION_CONFIG; - author = "$STR_CBA_Author"; authors[] = {}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/main/stringtable.xml b/addons/main/stringtable.xml index 95968224f..0cd232e78 100644 --- a/addons/main/stringtable.xml +++ b/addons/main/stringtable.xml @@ -5,5 +5,14 @@ CBA Team CBA-Team + + https://www.github.com/CBATeam/CBA_A3 + + + Community Base Addons - Main Component + + + Community Base Addons - Optional Component + diff --git a/addons/main_a3/config.cpp b/addons/main_a3/config.cpp index c176aa49f..7a26dbd57 100644 --- a/addons/main_a3/config.cpp +++ b/addons/main_a3/config.cpp @@ -2,16 +2,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(main,component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { - "CBA_Main" - }; + requiredAddons[] = {"CBA_Main"}; VERSION_CONFIG; - author = "$STR_CBA_Author"; authors[] = {}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; diff --git a/addons/network/config.cpp b/addons/network/config.cpp index 56ed541d4..7b569ab75 100644 --- a/addons/network/config.cpp +++ b/addons/network/config.cpp @@ -1,17 +1,18 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = { "CBA_common", "CBA_events" }; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Sickboy"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; + class CfgSettings { class CBA { class COMPONENT { @@ -19,5 +20,6 @@ class CfgSettings { }; }; }; + #include "CfgEventHandlers.hpp" #include "CfgFunctions.hpp" diff --git a/addons/network/stringtable.xml b/addons/network/stringtable.xml new file mode 100644 index 000000000..f30dc811c --- /dev/null +++ b/addons/network/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Network + + + diff --git a/addons/strings/config.cpp b/addons/strings/config.cpp index b77674d83..315669121 100644 --- a/addons/strings/config.cpp +++ b/addons/strings/config.cpp @@ -1,18 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = { "CBA_common" }; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Spooner", "Kronzky"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; #include "CfgFunctions.hpp" - - diff --git a/addons/strings/stringtable.xml b/addons/strings/stringtable.xml new file mode 100644 index 000000000..be4b5751b --- /dev/null +++ b/addons/strings/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Strings + + + diff --git a/addons/ui/config.cpp b/addons/ui/config.cpp index 40b583cfa..482aa2f3e 100644 --- a/addons/ui/config.cpp +++ b/addons/ui/config.cpp @@ -1,21 +1,22 @@ #include "script_component.hpp" class CfgPatches { - class cba_ui { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = 1; - requiredAddons[] = { "CBA_common", "CBA_arrays", "A3_Ui_F" }; + requiredAddons[] = {"CBA_common","CBA_arrays","A3_Ui_F"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Dr Eyeball"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; #include "CfgFunctions.hpp" class Extended_PreInit_EventHandlers { - class cba_ui { + class ADDON { clientInit = QUOTE(call COMPILE_FILE(XEH_preClientInit)); }; }; @@ -51,5 +52,3 @@ class _flexiMenu_RscShortcutButton: RscShortcutButton { #include "flexiMenu\data\menu_buttonList.hpp" #include "flexiMenu\data\menu_iconRow.hpp" #include "flexiMenu\data\menu_popup.hpp" - - diff --git a/addons/ui/stringtable.xml b/addons/ui/stringtable.xml new file mode 100644 index 000000000..e8a03a836 --- /dev/null +++ b/addons/ui/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - User Interface + + + diff --git a/addons/ui_helper/config.cpp b/addons/ui_helper/config.cpp index e8573bc86..bb16e22a1 100644 --- a/addons/ui_helper/config.cpp +++ b/addons/ui_helper/config.cpp @@ -1,13 +1,15 @@ #include "script_component.hpp" + class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(ui,component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; worlds[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { - "CBA_common","A3_UI_F" - }; + requiredAddons[] = {"CBA_common","A3_UI_F"}; }; }; diff --git a/addons/vectors/config.cpp b/addons/vectors/config.cpp index 59b8cd74a..48ee39b60 100644 --- a/addons/vectors/config.cpp +++ b/addons/vectors/config.cpp @@ -1,18 +1,17 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = { "CBA_common" }; + requiredAddons[] = {"CBA_common"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Vigilante"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; + #include "CfgEventHandlers.hpp" #include "CfgFunctions.hpp" - - diff --git a/addons/vectors/stringtable.xml b/addons/vectors/stringtable.xml new file mode 100644 index 000000000..2d1bac35c --- /dev/null +++ b/addons/vectors/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Vectors + + + diff --git a/addons/versioning/config.cpp b/addons/versioning/config.cpp index 3d24d360d..c55d6ae26 100644 --- a/addons/versioning/config.cpp +++ b/addons/versioning/config.cpp @@ -1,17 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { + +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = { "CBA_common", "CBA_strings", "CBA_hashes", "CBA_diagnostic", "CBA_events", "CBA_network" }; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Sickboy"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; }; -#include "CfgEventHandlers.hpp" - +#include "CfgEventHandlers.hpp" diff --git a/addons/versioning/stringtable.xml b/addons/versioning/stringtable.xml new file mode 100644 index 000000000..5d17d7340 --- /dev/null +++ b/addons/versioning/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Versioning + + + diff --git a/addons/xeh/config.cpp b/addons/xeh/config.cpp index f4e804cdf..bc6cd1709 100644 --- a/addons/xeh/config.cpp +++ b/addons/xeh/config.cpp @@ -2,6 +2,9 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = CSTRING(component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredAddons[] = {"A3_Data_F","A3_Characters_F","A3_Air_F","A3_Armor_F","A3_Boat_F","A3_Soft_F"}; @@ -9,9 +12,10 @@ class CfgPatches { version = "4.0.0"; // Due to older mod versions requiring > 3,3,3 etc versionStr = "4.0.0"; versionAr[] = {4,0,0}; - author = "$STR_CBA_Author"; authors[] = {"Solus","Killswitch","commy2"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; + + // this prevents any patched class from requiring XEH + addonRootClass = "A3_Characters_F"; }; // Backwards compatibility diff --git a/addons/xeh/stringtable.xml b/addons/xeh/stringtable.xml new file mode 100644 index 000000000..7fcf829fc --- /dev/null +++ b/addons/xeh/stringtable.xml @@ -0,0 +1,8 @@ + + + + + Community Base Addons - Extended Event Handlers + + + diff --git a/optionals/cache_disable/config.cpp b/optionals/cache_disable/config.cpp index a1d5374e8..99a8bde89 100644 --- a/optionals/cache_disable/config.cpp +++ b/optionals/cache_disable/config.cpp @@ -2,14 +2,15 @@ class CfgPatches { class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(Optional,Component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"CBA_Extended_EventHandlers", "CBA_Main"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Sickboy"}; - authorUrl = "http://dev-heaven.net/projects/cca"; }; }; diff --git a/optionals/diagnostic_disable_xeh_logging/config.cpp b/optionals/diagnostic_disable_xeh_logging/config.cpp index 638549f5c..daf62b52c 100644 --- a/optionals/diagnostic_disable_xeh_logging/config.cpp +++ b/optionals/diagnostic_disable_xeh_logging/config.cpp @@ -11,6 +11,9 @@ class CfgPatches { class Disable_XEH_Logging { + author = "$STR_CBA_Author"; + name = "$STR_CBA_Optional_Component"; + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = 0.1; diff --git a/optionals/diagnostic_enable_logging/config.cpp b/optionals/diagnostic_enable_logging/config.cpp index 8026b7343..1373d3814 100644 --- a/optionals/diagnostic_enable_logging/config.cpp +++ b/optionals/diagnostic_enable_logging/config.cpp @@ -1,27 +1,23 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(Optional,Component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"CBA_Diagnostic"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Sickboy"}; - authorUrl = "http://dev-heaven.net/projects/cca"; }; }; -class Extended_Init_EventHandlers -{ - class All - { - class cba_diagnostic_logging - { + +class Extended_Init_EventHandlers { + class All { + class cba_diagnostic_logging { init = "diag_log [diag_frameNo, diag_fps, diag_tickTime, time, _this, typeOf (_this select 0), getPosASL (_this select 0)]"; }; }; }; - diff --git a/optionals/diagnostic_enable_perf_loop/config.cpp b/optionals/diagnostic_enable_perf_loop/config.cpp index f0975d270..a3acc8377 100644 --- a/optionals/diagnostic_enable_perf_loop/config.cpp +++ b/optionals/diagnostic_enable_perf_loop/config.cpp @@ -1,30 +1,20 @@ -//////////////////////////////////////////////////////////////////// -//DeRap: Produced from mikero's Dos Tools Dll version 5.16 -//Produced on Mon Jun 07 03:11:11 2010 : Created on Mon Jun 07 03:11:11 2010 -//http://dev-heaven.net/projects/list_files/mikero-pbodll -//////////////////////////////////////////////////////////////////// +#include "script_component.hpp" -#define _ARMA_ - -//Class cba_diagnostic_enable_perf_loop : config.bin{ -class CfgPatches -{ - class cba_diagnostic_enable_perf_loop - { +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(Optional,Component); + url = "$STR_CBA_URL"; units[] = {}; requiredVersion = 1.02; requiredAddons[] = {"CBA_common","CBA_diagnostic"}; version = "0.4.1.101"; - author = "$STR_CBA_Author"; authors[] = {"Spooner","Sickboy"}; - authorUrl = "http://dev-heaven.net/projects/cca"; }; }; -class Extended_postInit_EventHandlers -{ - class cba_diagnostic_enable_perf_loop - { + +class Extended_PostInit_EventHandlers { + class ADDON { init = "[] spawn cba_diagnostic_fnc_perf_loop"; }; }; -//}; diff --git a/optionals/jr_disable_long_scopes_on_short_mg_rail/config.cpp b/optionals/jr_disable_long_scopes_on_short_mg_rail/config.cpp index 9f570ed1c..76d5f313b 100644 --- a/optionals/jr_disable_long_scopes_on_short_mg_rail/config.cpp +++ b/optionals/jr_disable_long_scopes_on_short_mg_rail/config.cpp @@ -1,17 +1,16 @@ #include "script_component.hpp" -class CfgPatches -{ - class ADDON - { +class CfgPatches { + class ADDON { + author = "$STR_CBA_Author"; + name = ECSTRING(Optional,Component); + url = "$STR_CBA_URL"; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"cba_jr"}; version = VERSION; - author = "$STR_CBA_Author"; authors[] = {"Robalo"}; - authorUrl = "https://github.com/CBATeam/CBA_A3"; }; };