Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup CfgPatches and use VERSION_CONFIG consistently #1222

Merged
merged 2 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/accessory/MRT_AccFncs/config.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class CfgPatches {
class MRT_AccFncs {
units[] = {};
requiredAddons[] = {"cba_accessory"};
versionDesc = "MRT Attachment Functions";
units[] = {};
};
};
6 changes: 3 additions & 3 deletions addons/accessory/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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_events"};
author = "$STR_CBA_Author";
authors[] = {"da12thMonkey", "Robalo", "Tupolov"};
version = VERSION;
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/ai/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {"CBA_B_InvisibleTarget","CBA_O_InvisibleTarget","CBA_I_InvisibleTarget","CBA_BuildingPos"};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Rommel"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/arrays/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"A3_Data_F_Enoch_Loadorder", "A3_Data_F_Mod_Loadorder"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner","Sickboy","Rocko"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/diagnostic/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_events"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner", "Sickboy"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/disposable/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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_events"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"commy2"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/events/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner", "Sickboy", "Xeno", "commy2"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/hashes/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/help/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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_keybinding"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"alef","Rocko","Sickboy"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/jam/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Robalo"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/jam/jam_finish/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = ECSTRING(jam,component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_jam"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/jr/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_jr_prep"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Robalo"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/jr/jr_prep/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = ECSTRING(jr,component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/keybinding/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Taosenai"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
8 changes: 4 additions & 4 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
// Simply a package which requires other addons.
class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down Expand Up @@ -35,9 +33,11 @@ class CfgPatches {
"cba_optics",
"cba_disposable"
};
versionDesc = "C.B.A.";
VERSION_CONFIG;
author = "$STR_CBA_Author";
authors[] = {};
url = "$STR_CBA_URL";
VERSION_CONFIG;
versionDesc = "C.B.A.";
jonpas marked this conversation as resolved.
Show resolved Hide resolved
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/main_a3/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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"};
VERSION_CONFIG;
author = "$STR_CBA_Author";
authors[] = {};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
8 changes: 4 additions & 4 deletions addons/modules/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {"CBA_ModuleAttack", "CBA_ModuleDefend", "CBA_ModulePatrol"};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"WiredTiger"};

url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
7 changes: 4 additions & 3 deletions addons/music/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Dedmen", "Dorbedo", "Fishy"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
6 changes: 3 additions & 3 deletions addons/network/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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_events"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Sickboy"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
8 changes: 4 additions & 4 deletions addons/optics/config.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#include "script_component.hpp"
#include "script_component.hpp"

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common","cba_events","cba_jr"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"commy2"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
Loading