Skip to content

Commit

Permalink
Merge pull request #3955 from acemod/add_name
Browse files Browse the repository at this point in the history
add 'name' to components
  • Loading branch information
commy2 authored Jun 20, 2016
2 parents 38df85b + 653a371 commit 3fdc0dd
Show file tree
Hide file tree
Showing 232 changed files with 287 additions and 64 deletions.
1 change: 1 addition & 0 deletions addons/advanced_ballistics/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/advanced_ballistics/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT advanced_ballistics
#define COMPONENT_BEAUTIFIED Advanced Ballistics
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/ai/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/ai/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT ai
#define COMPONENT_BEAUTIFIED AI
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_AI
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/aircraft/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/aircraft/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT aircraft
#define COMPONENT_BEAUTIFIED Aircraft
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_AIRCRAFT
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/apl/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/apl/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT APL
#define COMPONENT_BEAUTIFIED APL
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_APL
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/atragmx/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_Item_ATragMX"};
weapons[] = {"ACE_ATragMX"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/atragmx/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT atragmx
#define COMPONENT_BEAUTIFIED ATragMX
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/attach/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {"ACE_IR_Strobe_Item"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/attach/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT attach
#define COMPONENT_BEAUTIFIED Attach
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/backpacks/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/backpacks/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT backpacks
#define COMPONENT_BEAUTIFIED Backpacks
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_ENABLED_BACKPACKS
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/ballistics/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_TargetWall","ACE_Box_Ammo"};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/ballistics/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT ballistics
#define COMPONENT_BEAUTIFIED Ballistics
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_BALLISTICS
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/captives/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {QGVAR(ModuleSettings), QGVAR(ModuleSurrender), QGVAR(ModuleHandcuffed)};
weapons[] = {"ACE_CableTie"};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/captives/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT captives
#define COMPONENT_BEAUTIFIED Captives
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_CAPTIVES
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/cargo/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/cargo/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT cargo
#define COMPONENT_BEAUTIFIED Cargo
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_Box_Misc", "ACE_bananaItem"};
weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/common/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT common
#define COMPONENT_BEAUTIFIED Common
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/concertina_wire/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_ConcertinaWire", "ACE_ConcertinaWireNoGeo", "ACE_ConcertinaWireCoil"};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/concertina_wire/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT concertina_wire
#define COMPONENT_BEAUTIFIED Concertina Wire
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/dagr/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_Item_DAGR"};
weapons[] = {"ACE_DAGR"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/dagr/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT dagr
#define COMPONENT_BEAUTIFIED DAGR
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/disarming/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {"ACE_DebugPotato"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/disarming/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT disarming
#define COMPONENT_BEAUTIFIED Disarming
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/disposable/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/disposable/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT disposable
#define COMPONENT_BEAUTIFIED Disposable
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_ATTACH
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/dragging/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/dragging/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT dragging
#define COMPONENT_BEAUTIFIED Dragging
#include "\z\ace\addons\main\script_mod.hpp"

//#define DEBUG_ENABLED_DRAGGING
Expand Down
1 change: 1 addition & 0 deletions addons/explosives/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_ModuleMine_SLAMBottomMine", "ACE_ModuleExplosive_IEDUrbanBig_Range", "ACE_ModuleExplosive_IEDLandBig_Range", "ACE_ModuleExplosive_IEDUrbanSmall_Range", "ACE_ModuleExplosive_IEDLandSmall_Range"};
weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch", "ACE_Cellphone"};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/explosives/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT explosives
#define COMPONENT_BEAUTIFIED Explosives
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/fastroping/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/fastroping/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT fastroping
#define COMPONENT_BEAUTIFIED Fastroping
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/fcs/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/fcs/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT fcs
#define COMPONENT_BEAUTIFIED FCS
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/finger/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {QGVAR(moduleSettings)};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
1 change: 1 addition & 0 deletions addons/finger/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT finger
#define COMPONENT_BEAUTIFIED Finger
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand Down
1 change: 1 addition & 0 deletions addons/flashlights/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {"ACE_Flashlight_MX991", "ACE_Flashlight_KSF1", "ACE_Flashlight_XL50"};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/flashlights/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT flashlights
#define COMPONENT_BEAUTIFIED Flashlights
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_FLASHLIGHTS
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/flashsuppressors/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {
"ACE_muzzle_mzls_H",
Expand Down
3 changes: 2 additions & 1 deletion addons/flashsuppressors/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT flashsuppressors
#define COMPONENT_BEAUTIFIED Flash Suppressors
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_ENABLED_FLASHSUPPRESSORS
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/fonts/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
3 changes: 2 additions & 1 deletion addons/fonts/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define COMPONENT fonts
#define COMPONENT_BEAUTIFIED Fonts
#include "\z\ace\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
Expand All @@ -14,4 +15,4 @@
#define DEBUG_SETTINGS DEBUG_SETTINGS_FONTS
#endif

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\main\script_macros.hpp"
1 change: 1 addition & 0 deletions addons/frag/config.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
Expand Down
Loading

0 comments on commit 3fdc0dd

Please sign in to comment.