From b15716860d361f118ddd87d555232a5abc2e3f2a Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Mon, 25 Jan 2016 14:29:27 -0600 Subject: [PATCH 1/9] Remove VehicleLock Items from Virtual Arsenal Close #3215 --- addons/vehiclelock/CfgMagazines.hpp | 1 + addons/vehiclelock/CfgWeapons.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/vehiclelock/CfgMagazines.hpp b/addons/vehiclelock/CfgMagazines.hpp index 62c6fdcec24..94079a9cd85 100644 --- a/addons/vehiclelock/CfgMagazines.hpp +++ b/addons/vehiclelock/CfgMagazines.hpp @@ -1,6 +1,7 @@ class CfgMagazines { class CA_Magazine; class ACE_key_customKeyMagazine: CA_Magazine { + scopeArsenal = 0; picture = QUOTE(PATHTOF(ui\keyBlack.paa)); displayName = "ACE Vehicle Key"; //!!!CANNOT be localized!!!: because it is used as part of the magazineDetail string descriptionShort = CSTRING(Item_Custom_Description); diff --git a/addons/vehiclelock/CfgWeapons.hpp b/addons/vehiclelock/CfgWeapons.hpp index ee000e218e7..08959887375 100644 --- a/addons/vehiclelock/CfgWeapons.hpp +++ b/addons/vehiclelock/CfgWeapons.hpp @@ -3,6 +3,7 @@ class CfgWeapons { class ACE_ItemCore; class ACE_key_master: ACE_ItemCore { + scopeArsenal = 0; author = ECSTRING(common,ACETeam); displayName = "Vehicle Key: Master"; descriptionShort = CSTRING(Item_Master_Description); From 84e76efc7fe3365fedd310c4c7d45509c6a4a678 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 27 Jan 2016 15:54:45 -0600 Subject: [PATCH 2/9] Not needed on CfgMagazines --- addons/vehiclelock/CfgMagazines.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/vehiclelock/CfgMagazines.hpp b/addons/vehiclelock/CfgMagazines.hpp index 94079a9cd85..62c6fdcec24 100644 --- a/addons/vehiclelock/CfgMagazines.hpp +++ b/addons/vehiclelock/CfgMagazines.hpp @@ -1,7 +1,6 @@ class CfgMagazines { class CA_Magazine; class ACE_key_customKeyMagazine: CA_Magazine { - scopeArsenal = 0; picture = QUOTE(PATHTOF(ui\keyBlack.paa)); displayName = "ACE Vehicle Key"; //!!!CANNOT be localized!!!: because it is used as part of the magazineDetail string descriptionShort = CSTRING(Item_Custom_Description); From c0eccc67c3385c0bbbc26576954f151203bb6204 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 28 Jan 2016 18:19:02 -0600 Subject: [PATCH 3/9] Change all SCALAR to NUMBER in headers --- addons/common/functions/fnc__handleSyncedEvent.sqf | 2 +- addons/medical/functions/fnc_translateSelections.sqf | 2 +- addons/nightvision/functions/fnc_changeNVGBrightness.sqf | 2 +- addons/repair/functions/fnc_getClaimObjects.sqf | 2 +- addons/viewdistance/functions/fnc_changeViewDistance.sqf | 2 +- addons/viewdistance/functions/fnc_returnObjectCoeff.sqf | 4 ++-- addons/viewdistance/functions/fnc_returnValue.sqf | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/addons/common/functions/fnc__handleSyncedEvent.sqf b/addons/common/functions/fnc__handleSyncedEvent.sqf index 41f7ed429c8..f8fe21d760d 100644 --- a/addons/common/functions/fnc__handleSyncedEvent.sqf +++ b/addons/common/functions/fnc__handleSyncedEvent.sqf @@ -5,7 +5,7 @@ * Arguments [Client] : * 0: eventName * 1: arguments - * 2: ttl + * 2: ttl * * Return Value: * Boolean of success diff --git a/addons/medical/functions/fnc_translateSelections.sqf b/addons/medical/functions/fnc_translateSelections.sqf index b377b3004d0..98a4cf8c51d 100644 --- a/addons/medical/functions/fnc_translateSelections.sqf +++ b/addons/medical/functions/fnc_translateSelections.sqf @@ -6,7 +6,7 @@ * Arguments: * 0: Unit * 1: selection name - * 2: HitPoint Index/True to get hitpoint + * 2: HitPoint Index/True to get hitpoint * * Return Value: * translated selection/hitpoint name diff --git a/addons/nightvision/functions/fnc_changeNVGBrightness.sqf b/addons/nightvision/functions/fnc_changeNVGBrightness.sqf index 116ab9b5a58..9f02323787d 100644 --- a/addons/nightvision/functions/fnc_changeNVGBrightness.sqf +++ b/addons/nightvision/functions/fnc_changeNVGBrightness.sqf @@ -4,7 +4,7 @@ * * Arguments: * 0: The Unit - * 1: Change in brightness (1 or -1) + * 1: Change in brightness (1 or -1) * * Return Value: * Nothing diff --git a/addons/repair/functions/fnc_getClaimObjects.sqf b/addons/repair/functions/fnc_getClaimObjects.sqf index bc15975d1c5..c2311a467f9 100644 --- a/addons/repair/functions/fnc_getClaimObjects.sqf +++ b/addons/repair/functions/fnc_getClaimObjects.sqf @@ -4,7 +4,7 @@ * * Arguments: * 0: Unit that does the repairing - * 1: Max range to seach from unit (meters) + * 1: Max range to seach from unit (meters) * 2: Array of arrays of classnames * * Return Value: diff --git a/addons/viewdistance/functions/fnc_changeViewDistance.sqf b/addons/viewdistance/functions/fnc_changeViewDistance.sqf index 1e887e9538c..28bba29b679 100644 --- a/addons/viewdistance/functions/fnc_changeViewDistance.sqf +++ b/addons/viewdistance/functions/fnc_changeViewDistance.sqf @@ -3,7 +3,7 @@ * Sets the player's current view distance according to allowed values. * * Arguments: - * 0: View Distance setting INDEX + * 0: View Distance setting INDEX * 1: Show Prompt * * Return Value: diff --git a/addons/viewdistance/functions/fnc_returnObjectCoeff.sqf b/addons/viewdistance/functions/fnc_returnObjectCoeff.sqf index e9838a0c8d3..90c70b810c9 100644 --- a/addons/viewdistance/functions/fnc_returnObjectCoeff.sqf +++ b/addons/viewdistance/functions/fnc_returnObjectCoeff.sqf @@ -3,10 +3,10 @@ * Returns the object view distance coefficient according to the given index * * Arguments: - * 0: Object View Distance setting Index + * 0: Object View Distance setting Index * * Return Value: - * Object View Distance + * Object View Distance * * Example: * [2] call ace_viewdistance_fnc_returnObjectCoeff; diff --git a/addons/viewdistance/functions/fnc_returnValue.sqf b/addons/viewdistance/functions/fnc_returnValue.sqf index 2e4263fa08b..7224292fa47 100644 --- a/addons/viewdistance/functions/fnc_returnValue.sqf +++ b/addons/viewdistance/functions/fnc_returnValue.sqf @@ -3,10 +3,10 @@ * Returns the view distance value according to the given index. * * Arguments: - * 0: View Distance Index + * 0: View Distance Index * * Return Value: - * View Distance + * View Distance * * Example: * [2] call ace_viewdistance_fnc_returnViewDistanceValue From 46d6e92bcabe641405658b8b4811c7856d4e50c6 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 28 Jan 2016 23:26:02 -0600 Subject: [PATCH 4/9] Add quick debug defines to all script_components --- addons/advanced_ballistics/script_component.hpp | 5 +++++ addons/ai/script_component.hpp | 5 +++++ addons/aircraft/script_component.hpp | 5 +++++ addons/apl/script_component.hpp | 5 +++++ addons/atragmx/script_component.hpp | 5 +++++ addons/attach/script_component.hpp | 5 +++++ addons/backpacks/script_component.hpp | 5 +++++ addons/ballistics/script_component.hpp | 5 +++++ addons/captives/script_component.hpp | 3 +++ addons/cargo/script_component.hpp | 3 +++ addons/common/script_component.hpp | 2 ++ addons/concertina_wire/script_component.hpp | 3 +++ addons/dagr/script_component.hpp | 5 +++++ addons/difficulties/script_component.hpp | 5 +++++ addons/disarming/script_component.hpp | 5 +++++ addons/disposable/script_component.hpp | 3 +++ addons/dragging/script_component.hpp | 4 ++++ addons/explosives/script_component.hpp | 3 +++ addons/fcs/script_component.hpp | 5 +++++ addons/finger/script_component.hpp | 5 +++++ addons/flashlights/script_component.hpp | 5 +++++ addons/flashsuppressors/script_component.hpp | 5 +++++ addons/fonts/script_component.hpp | 5 +++++ addons/frag/script_component.hpp | 4 ++++ addons/gestures/script_component.hpp | 5 +++++ addons/gforces/script_component.hpp | 5 +++++ addons/goggles/script_component.hpp | 5 +++++ addons/grenades/script_component.hpp | 3 +++ addons/hearing/script_component.hpp | 3 +++ addons/hitreactions/script_component.hpp | 5 +++++ addons/huntir/script_component.hpp | 3 +++ addons/interact_menu/script_component.hpp | 3 +++ addons/interaction/script_component.hpp | 5 +++++ addons/inventory/script_component.hpp | 5 +++++ addons/javelin/script_component.hpp | 5 +++++ addons/kestrel4500/script_component.hpp | 5 +++++ addons/laser/script_component.hpp | 5 +++++ addons/laser_selfdesignate/script_component.hpp | 5 +++++ addons/laserpointer/script_component.hpp | 5 +++++ addons/logistics_uavbattery/script_component.hpp | 5 +++++ addons/logistics_wirecutter/script_component.hpp | 3 +++ addons/magazinerepack/script_component.hpp | 5 +++++ addons/main/script_component.hpp | 3 +++ addons/map/script_component.hpp | 5 +++++ addons/map_gestures/script_component.hpp | 5 +++++ addons/maptools/script_component.hpp | 5 +++++ addons/markers/script_component.hpp | 5 +++++ addons/medical/script_component.hpp | 5 +++++ addons/medical_menu/script_component.hpp | 5 +++++ addons/microdagr/script_component.hpp | 5 +++++ addons/missileguidance/script_component.hpp | 5 +++++ addons/missionmodules/script_component.hpp | 5 +++++ addons/mk6mortar/script_component.hpp | 5 +++++ addons/modules/script_component.hpp | 5 +++++ addons/movement/script_component.hpp | 5 +++++ addons/mx2a/script_component.hpp | 5 +++++ addons/nametags/script_component.hpp | 9 +++++++-- addons/nightvision/script_component.hpp | 3 +++ addons/noidle/script_component.hpp | 5 +++++ addons/noradio/script_component.hpp | 3 +++ addons/norearm/script_component.hpp | 5 +++++ addons/optics/script_component.hpp | 5 +++++ addons/optionsmenu/script_component.hpp | 3 +++ addons/overheating/script_component.hpp | 5 +++++ addons/overpressure/script_component.hpp | 3 +++ addons/parachute/script_component.hpp | 5 +++++ addons/ragdolls/script_component.hpp | 5 +++++ addons/rangecard/script_component.hpp | 5 +++++ addons/realisticnames/script_component.hpp | 5 +++++ addons/rearm/script_component.hpp | 5 +++++ addons/recoil/script_component.hpp | 5 +++++ addons/refuel/script_component.hpp | 5 +++++ addons/reload/script_component.hpp | 5 +++++ addons/reloadlaunchers/script_component.hpp | 5 +++++ addons/repair/script_component.hpp | 3 +++ addons/respawn/script_component.hpp | 5 +++++ addons/safemode/script_component.hpp | 5 +++++ addons/sandbag/script_component.hpp | 5 +++++ addons/scopes/script_component.hpp | 5 +++++ addons/sitting/script_component.hpp | 5 +++++ addons/slideshow/script_component.hpp | 5 +++++ addons/smallarms/script_component.hpp | 5 +++++ addons/spectator/script_component.hpp | 5 +++++ addons/spottingscope/script_component.hpp | 5 +++++ addons/switchunits/script_component.hpp | 5 +++++ addons/tacticalladder/script_component.hpp | 5 +++++ addons/testmissions/script_component.hpp | 5 +++++ addons/thermals/script_component.hpp | 5 +++++ addons/tripod/script_component.hpp | 5 +++++ addons/ui/script_component.hpp | 5 +++++ addons/vector/script_component.hpp | 5 +++++ addons/vehiclelock/script_component.hpp | 6 ++++-- addons/vehicles/script_component.hpp | 5 +++++ addons/viewdistance/script_component.hpp | 5 +++++ addons/weaponselect/script_component.hpp | 5 +++++ addons/weather/script_component.hpp | 2 ++ .../winddeflection/functions/script_component.hpp | 13 +------------ addons/winddeflection/script_component.hpp | 5 +++++ addons/yardage450/script_component.hpp | 5 +++++ addons/zeus/script_component.hpp | 5 +++++ 100 files changed, 457 insertions(+), 16 deletions(-) diff --git a/addons/advanced_ballistics/script_component.hpp b/addons/advanced_ballistics/script_component.hpp index 757330a5d04..47af9398632 100644 --- a/addons/advanced_ballistics/script_component.hpp +++ b/addons/advanced_ballistics/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT advanced_ballistics #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_ADVANCEDBALLISTICS #define DEBUG_MODE_FULL #endif diff --git a/addons/ai/script_component.hpp b/addons/ai/script_component.hpp index 7add51c06c6..0910bf6472c 100644 --- a/addons/ai/script_component.hpp +++ b/addons/ai/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT ai #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_AI #define DEBUG_MODE_FULL #endif diff --git a/addons/aircraft/script_component.hpp b/addons/aircraft/script_component.hpp index f6662ce0754..baa8e7ee21a 100644 --- a/addons/aircraft/script_component.hpp +++ b/addons/aircraft/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT aircraft #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_AIRCRAFT #define DEBUG_MODE_FULL #endif diff --git a/addons/apl/script_component.hpp b/addons/apl/script_component.hpp index ac20a25e21c..f2ae3d53f1e 100644 --- a/addons/apl/script_component.hpp +++ b/addons/apl/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT APL #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_APL #define DEBUG_MODE_FULL #endif diff --git a/addons/atragmx/script_component.hpp b/addons/atragmx/script_component.hpp index 8154ffa04b4..ca6a5d24a0a 100644 --- a/addons/atragmx/script_component.hpp +++ b/addons/atragmx/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT atragmx #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_ATRAGMX #define DEBUG_MODE_FULL #endif diff --git a/addons/attach/script_component.hpp b/addons/attach/script_component.hpp index 604a47fcb4c..68300f47cd0 100644 --- a/addons/attach/script_component.hpp +++ b/addons/attach/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT attach #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_ATTACH #define DEBUG_MODE_FULL #endif diff --git a/addons/backpacks/script_component.hpp b/addons/backpacks/script_component.hpp index 2837367bfb6..653e8ac684c 100644 --- a/addons/backpacks/script_component.hpp +++ b/addons/backpacks/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT backpacks #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_BACKPACKS #define DEBUG_MODE_FULL #endif diff --git a/addons/ballistics/script_component.hpp b/addons/ballistics/script_component.hpp index 3a0f60e191a..b648c74e766 100644 --- a/addons/ballistics/script_component.hpp +++ b/addons/ballistics/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT ballistics #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_BALLISTICS #define DEBUG_MODE_FULL #endif diff --git a/addons/captives/script_component.hpp b/addons/captives/script_component.hpp index 375c9561299..95a842f15fe 100644 --- a/addons/captives/script_component.hpp +++ b/addons/captives/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_CAPTIVES #define DEBUG_MODE_FULL diff --git a/addons/cargo/script_component.hpp b/addons/cargo/script_component.hpp index 3f4d6c5d51e..55079a16c2f 100644 --- a/addons/cargo/script_component.hpp +++ b/addons/cargo/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_CARGO #define DEBUG_MODE_FULL diff --git a/addons/common/script_component.hpp b/addons/common/script_component.hpp index 70bdff7ff3f..aa023e7c9f0 100644 --- a/addons/common/script_component.hpp +++ b/addons/common/script_component.hpp @@ -2,7 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE // #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_COMMON #define DEBUG_MODE_FULL diff --git a/addons/concertina_wire/script_component.hpp b/addons/concertina_wire/script_component.hpp index 3512643b81b..cdde4d05be1 100644 --- a/addons/concertina_wire/script_component.hpp +++ b/addons/concertina_wire/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_CONCERTINA_WIRE #define DEBUG_MODE_FULL diff --git a/addons/dagr/script_component.hpp b/addons/dagr/script_component.hpp index f7a723e5335..792ef7f1197 100644 --- a/addons/dagr/script_component.hpp +++ b/addons/dagr/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT dagr #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_DAGR #define DEBUG_MODE_FULL #endif diff --git a/addons/difficulties/script_component.hpp b/addons/difficulties/script_component.hpp index bac2935aa75..b6f387b02f5 100644 --- a/addons/difficulties/script_component.hpp +++ b/addons/difficulties/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT difficulties #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_DIFFICULTIES #define DEBUG_MODE_FULL #endif diff --git a/addons/disarming/script_component.hpp b/addons/disarming/script_component.hpp index 9a1ef9156b7..af0ede134c6 100644 --- a/addons/disarming/script_component.hpp +++ b/addons/disarming/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT disarming #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_DISARMING #define DEBUG_MODE_FULL #endif diff --git a/addons/disposable/script_component.hpp b/addons/disposable/script_component.hpp index 12a05ea60d3..cd157156012 100644 --- a/addons/disposable/script_component.hpp +++ b/addons/disposable/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_ATTACH #define DEBUG_MODE_FULL diff --git a/addons/dragging/script_component.hpp b/addons/dragging/script_component.hpp index 2427f897394..b4acb948c9a 100644 --- a/addons/dragging/script_component.hpp +++ b/addons/dragging/script_component.hpp @@ -2,6 +2,10 @@ #include "\z\ace\addons\main\script_mod.hpp" //#define DEBUG_ENABLED_DRAGGING +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_DRAGGING #define DEBUG_MODE_FULL diff --git a/addons/explosives/script_component.hpp b/addons/explosives/script_component.hpp index 17de3516a50..86eefd72b63 100644 --- a/addons/explosives/script_component.hpp +++ b/addons/explosives/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_EXPLOSIVES #define DEBUG_MODE_FULL diff --git a/addons/fcs/script_component.hpp b/addons/fcs/script_component.hpp index 8ada0f7a710..e3f91815267 100644 --- a/addons/fcs/script_component.hpp +++ b/addons/fcs/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT fcs #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_FCS #define DEBUG_MODE_FULL #endif diff --git a/addons/finger/script_component.hpp b/addons/finger/script_component.hpp index ae969439439..edaf93a942a 100644 --- a/addons/finger/script_component.hpp +++ b/addons/finger/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT finger #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_FINGER #define DEBUG_MODE_FULL #endif diff --git a/addons/flashlights/script_component.hpp b/addons/flashlights/script_component.hpp index ba740c22fc8..90a91c3b72e 100644 --- a/addons/flashlights/script_component.hpp +++ b/addons/flashlights/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT flashlights #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_FLASHLIGHTS #define DEBUG_MODE_FULL #endif diff --git a/addons/flashsuppressors/script_component.hpp b/addons/flashsuppressors/script_component.hpp index bb1a7c8f0cc..cb61bb60076 100644 --- a/addons/flashsuppressors/script_component.hpp +++ b/addons/flashsuppressors/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT flashsuppressors #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_FLASHSUPPRESSORS #define DEBUG_MODE_FULL #endif diff --git a/addons/fonts/script_component.hpp b/addons/fonts/script_component.hpp index a8029b7105c..3a7589b72a9 100644 --- a/addons/fonts/script_component.hpp +++ b/addons/fonts/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT fonts #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_FONTS #define DEBUG_MODE_FULL #endif diff --git a/addons/frag/script_component.hpp b/addons/frag/script_component.hpp index 78e13c78639..1faa440294e 100644 --- a/addons/frag/script_component.hpp +++ b/addons/frag/script_component.hpp @@ -2,6 +2,10 @@ #include "\z\ace\addons\main\script_mod.hpp" //#define DEBUG_ENABLED_FRAG +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_FRAG #define DEBUG_MODE_FULL diff --git a/addons/gestures/script_component.hpp b/addons/gestures/script_component.hpp index 06650c6ba8d..96ca2cf680a 100644 --- a/addons/gestures/script_component.hpp +++ b/addons/gestures/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT Gestures #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_GESTURES #define DEBUG_MODE_FULL #endif diff --git a/addons/gforces/script_component.hpp b/addons/gforces/script_component.hpp index ab3289842d8..c017eb4a626 100644 --- a/addons/gforces/script_component.hpp +++ b/addons/gforces/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT gforces #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_GFORCES #define DEBUG_MODE_FULL #endif diff --git a/addons/goggles/script_component.hpp b/addons/goggles/script_component.hpp index 711a314160d..23dc4f428f4 100644 --- a/addons/goggles/script_component.hpp +++ b/addons/goggles/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT goggles #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_GOGGLES #define DEBUG_MODE_FULL #endif diff --git a/addons/grenades/script_component.hpp b/addons/grenades/script_component.hpp index f3d89216ba5..67a958b27e8 100644 --- a/addons/grenades/script_component.hpp +++ b/addons/grenades/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_GRENADES #define DEBUG_MODE_FULL diff --git a/addons/hearing/script_component.hpp b/addons/hearing/script_component.hpp index 194e1503751..de1ff267e48 100644 --- a/addons/hearing/script_component.hpp +++ b/addons/hearing/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_HEARING #define DEBUG_MODE_FULL diff --git a/addons/hitreactions/script_component.hpp b/addons/hitreactions/script_component.hpp index 011a3b6c314..f445ce3f8d6 100644 --- a/addons/hitreactions/script_component.hpp +++ b/addons/hitreactions/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT hitreactions #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_HITREACTIONS #define DEBUG_MODE_FULL #endif diff --git a/addons/huntir/script_component.hpp b/addons/huntir/script_component.hpp index 385c0985aed..5c99e04d465 100644 --- a/addons/huntir/script_component.hpp +++ b/addons/huntir/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_HUNTIR #define DEBUG_MODE_FULL diff --git a/addons/interact_menu/script_component.hpp b/addons/interact_menu/script_component.hpp index 7b1ab461caa..6a2f4e86f3d 100644 --- a/addons/interact_menu/script_component.hpp +++ b/addons/interact_menu/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_INTERACT_MENU #define DEBUG_MODE_FULL diff --git a/addons/interaction/script_component.hpp b/addons/interaction/script_component.hpp index d668387bb94..fd6ce8ce58d 100644 --- a/addons/interaction/script_component.hpp +++ b/addons/interaction/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT interaction #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_INTERACTION #define DEBUG_MODE_FULL #endif diff --git a/addons/inventory/script_component.hpp b/addons/inventory/script_component.hpp index b013e085703..e95ad43b833 100644 --- a/addons/inventory/script_component.hpp +++ b/addons/inventory/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT inventory #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_INVENTORY #define DEBUG_MODE_FULL #endif diff --git a/addons/javelin/script_component.hpp b/addons/javelin/script_component.hpp index 984edc69880..e252ed1cbbf 100644 --- a/addons/javelin/script_component.hpp +++ b/addons/javelin/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT javelin #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_JAVELIN #define DEBUG_MODE_FULL #endif diff --git a/addons/kestrel4500/script_component.hpp b/addons/kestrel4500/script_component.hpp index 90c338ebeb0..87a0c0b5941 100644 --- a/addons/kestrel4500/script_component.hpp +++ b/addons/kestrel4500/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT kestrel4500 #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_KESTREL4500 #define DEBUG_MODE_FULL #endif diff --git a/addons/laser/script_component.hpp b/addons/laser/script_component.hpp index 6620f63c4d1..f3542f686fd 100644 --- a/addons/laser/script_component.hpp +++ b/addons/laser/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT laser #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_LASER #define DEBUG_MODE_FULL #endif diff --git a/addons/laser_selfdesignate/script_component.hpp b/addons/laser_selfdesignate/script_component.hpp index d0e095924d0..fc0d608e32a 100644 --- a/addons/laser_selfdesignate/script_component.hpp +++ b/addons/laser_selfdesignate/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT laser_selfdesignate #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_LASER_SELFDESIGNATE #define DEBUG_MODE_FULL #endif diff --git a/addons/laserpointer/script_component.hpp b/addons/laserpointer/script_component.hpp index 34c689cbbfb..cee00afdca8 100644 --- a/addons/laserpointer/script_component.hpp +++ b/addons/laserpointer/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT laserpointer #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_LASERPOINTER #define DEBUG_MODE_FULL #endif diff --git a/addons/logistics_uavbattery/script_component.hpp b/addons/logistics_uavbattery/script_component.hpp index 01ea3608e74..836a39c415a 100644 --- a/addons/logistics_uavbattery/script_component.hpp +++ b/addons/logistics_uavbattery/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT logistics_uavbattery #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_LOGISTICS_UAVBATTERY #define DEBUG_MODE_FULL #endif diff --git a/addons/logistics_wirecutter/script_component.hpp b/addons/logistics_wirecutter/script_component.hpp index a86ace1592e..a66a7bba08b 100644 --- a/addons/logistics_wirecutter/script_component.hpp +++ b/addons/logistics_wirecutter/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_LOGISTICS_WIRECUTTER #define DEBUG_MODE_FULL diff --git a/addons/magazinerepack/script_component.hpp b/addons/magazinerepack/script_component.hpp index 7b390f71268..947c8c1ca1f 100644 --- a/addons/magazinerepack/script_component.hpp +++ b/addons/magazinerepack/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT magazinerepack #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MAGAZINEREPACK #define DEBUG_MODE_FULL #endif diff --git a/addons/main/script_component.hpp b/addons/main/script_component.hpp index 3ac1d0b7aab..dd7f17429e7 100644 --- a/addons/main/script_component.hpp +++ b/addons/main/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_MAIN #define DEBUG_MODE_FULL diff --git a/addons/map/script_component.hpp b/addons/map/script_component.hpp index c62086b03a4..c8767d76a0f 100644 --- a/addons/map/script_component.hpp +++ b/addons/map/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT map #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MAP #define DEBUG_MODE_FULL #endif diff --git a/addons/map_gestures/script_component.hpp b/addons/map_gestures/script_component.hpp index 1a5ecada128..2bc9b212d04 100644 --- a/addons/map_gestures/script_component.hpp +++ b/addons/map_gestures/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT map_gestures #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MAP_GESTURES #define DEBUG_MODE_FULL #endif diff --git a/addons/maptools/script_component.hpp b/addons/maptools/script_component.hpp index 5d5c524419a..497ee14dc17 100644 --- a/addons/maptools/script_component.hpp +++ b/addons/maptools/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT maptools #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MAPTOOLS #define DEBUG_MODE_FULL #endif diff --git a/addons/markers/script_component.hpp b/addons/markers/script_component.hpp index 80ffa23b5bb..1da213875a6 100644 --- a/addons/markers/script_component.hpp +++ b/addons/markers/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT markers #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MARKERS #define DEBUG_MODE_FULL #endif diff --git a/addons/medical/script_component.hpp b/addons/medical/script_component.hpp index 939a811a41e..0af2736f50d 100644 --- a/addons/medical/script_component.hpp +++ b/addons/medical/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT medical #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MEDICAL #define DEBUG_MODE_FULL #endif diff --git a/addons/medical_menu/script_component.hpp b/addons/medical_menu/script_component.hpp index 3119d48e196..afa50c04f34 100644 --- a/addons/medical_menu/script_component.hpp +++ b/addons/medical_menu/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT medical_menu #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MEDICAL_MENU #define DEBUG_MODE_FULL #endif diff --git a/addons/microdagr/script_component.hpp b/addons/microdagr/script_component.hpp index 0710649aaae..c2f2b9b0a63 100644 --- a/addons/microdagr/script_component.hpp +++ b/addons/microdagr/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT microdagr #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MICRODAGR #define DEBUG_MODE_FULL #endif diff --git a/addons/missileguidance/script_component.hpp b/addons/missileguidance/script_component.hpp index e2ab97a51ef..25e98bea603 100644 --- a/addons/missileguidance/script_component.hpp +++ b/addons/missileguidance/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT missileguidance #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MISSILEGUIDANCE #define DEBUG_MODE_FULL #endif diff --git a/addons/missionmodules/script_component.hpp b/addons/missionmodules/script_component.hpp index a567966c7ba..8146b5cb8a7 100644 --- a/addons/missionmodules/script_component.hpp +++ b/addons/missionmodules/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT missionModules #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MISSIONMODULES #define DEBUG_MODE_FULL #endif diff --git a/addons/mk6mortar/script_component.hpp b/addons/mk6mortar/script_component.hpp index b140a920cc7..97e1c8b50a8 100644 --- a/addons/mk6mortar/script_component.hpp +++ b/addons/mk6mortar/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT mk6mortar #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MK6MORTAR #define DEBUG_MODE_FULL #endif diff --git a/addons/modules/script_component.hpp b/addons/modules/script_component.hpp index 807540960ba..4e4e64e8e34 100644 --- a/addons/modules/script_component.hpp +++ b/addons/modules/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT modules #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MODULES #define DEBUG_MODE_FULL #endif diff --git a/addons/movement/script_component.hpp b/addons/movement/script_component.hpp index 9b8954bf62e..14728cbcbb8 100644 --- a/addons/movement/script_component.hpp +++ b/addons/movement/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT movement #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MOVEMENT #define DEBUG_MODE_FULL #endif diff --git a/addons/mx2a/script_component.hpp b/addons/mx2a/script_component.hpp index aabb74660a1..9b365724973 100644 --- a/addons/mx2a/script_component.hpp +++ b/addons/mx2a/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT mx2a #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_MX2A #define DEBUG_MODE_FULL #endif diff --git a/addons/nametags/script_component.hpp b/addons/nametags/script_component.hpp index 7bf0acbc4a7..5b777aee719 100644 --- a/addons/nametags/script_component.hpp +++ b/addons/nametags/script_component.hpp @@ -1,12 +1,17 @@ #define COMPONENT nametags #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_NAMETAGS -#define DEBUG_MODE_FULL + #define DEBUG_MODE_FULL #endif #ifdef DEBUG_SETTINGS_NAMETAGS -#define DEBUG_SETTINGS DEBUG_SETTINGS_NAMETAGS + #define DEBUG_SETTINGS DEBUG_SETTINGS_NAMETAGS #endif #include "\z\ace\addons\main\script_macros.hpp" diff --git a/addons/nightvision/script_component.hpp b/addons/nightvision/script_component.hpp index 9afeeb5d8d7..ffe3ba3ff54 100644 --- a/addons/nightvision/script_component.hpp +++ b/addons/nightvision/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_NIGHTVISION #define DEBUG_MODE_FULL diff --git a/addons/noidle/script_component.hpp b/addons/noidle/script_component.hpp index 5a7623b0ba5..bf20a9a4207 100644 --- a/addons/noidle/script_component.hpp +++ b/addons/noidle/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT noidle #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_NOIDLE #define DEBUG_MODE_FULL #endif diff --git a/addons/noradio/script_component.hpp b/addons/noradio/script_component.hpp index 16b7e9b5492..0a60edb0638 100644 --- a/addons/noradio/script_component.hpp +++ b/addons/noradio/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_NORADIO #define DEBUG_MODE_FULL diff --git a/addons/norearm/script_component.hpp b/addons/norearm/script_component.hpp index d2e95ee5692..3f091495872 100644 --- a/addons/norearm/script_component.hpp +++ b/addons/norearm/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT norearm #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_NOREARM #define DEBUG_MODE_FULL #endif diff --git a/addons/optics/script_component.hpp b/addons/optics/script_component.hpp index 58b2d4756a2..ca0176360c3 100644 --- a/addons/optics/script_component.hpp +++ b/addons/optics/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT optics #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_OPTICS #define DEBUG_MODE_FULL #endif diff --git a/addons/optionsmenu/script_component.hpp b/addons/optionsmenu/script_component.hpp index d25caa2c428..b257b0a5ba0 100644 --- a/addons/optionsmenu/script_component.hpp +++ b/addons/optionsmenu/script_component.hpp @@ -1,6 +1,9 @@ #define COMPONENT optionsmenu // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #include "\z\ace\addons\main\script_mod.hpp" diff --git a/addons/overheating/script_component.hpp b/addons/overheating/script_component.hpp index ff124851ad8..4814ca9451c 100644 --- a/addons/overheating/script_component.hpp +++ b/addons/overheating/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT overheating #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_OVERHEATING #define DEBUG_MODE_FULL #endif diff --git a/addons/overpressure/script_component.hpp b/addons/overpressure/script_component.hpp index 2ede0c3ec30..5f4005374b2 100644 --- a/addons/overpressure/script_component.hpp +++ b/addons/overpressure/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_OVERPRESSURE #define DEBUG_MODE_FULL diff --git a/addons/parachute/script_component.hpp b/addons/parachute/script_component.hpp index 56682204210..d86d153f22b 100644 --- a/addons/parachute/script_component.hpp +++ b/addons/parachute/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT parachute #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_PARACHUTE #define DEBUG_MODE_FULL #endif diff --git a/addons/ragdolls/script_component.hpp b/addons/ragdolls/script_component.hpp index a0de706e10d..e433e8d098c 100644 --- a/addons/ragdolls/script_component.hpp +++ b/addons/ragdolls/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT ragdolls #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RAGDOLLS #define DEBUG_MODE_FULL #endif diff --git a/addons/rangecard/script_component.hpp b/addons/rangecard/script_component.hpp index 8281f77eb32..251fb7263f7 100644 --- a/addons/rangecard/script_component.hpp +++ b/addons/rangecard/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT rangecard #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RANGECARD #define DEBUG_MODE_FULL #endif diff --git a/addons/realisticnames/script_component.hpp b/addons/realisticnames/script_component.hpp index 0dd8e679a7c..33cd56777a0 100644 --- a/addons/realisticnames/script_component.hpp +++ b/addons/realisticnames/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT realisticnames #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_REALISTICNAMES #define DEBUG_MODE_FULL #endif diff --git a/addons/rearm/script_component.hpp b/addons/rearm/script_component.hpp index e90e87a422a..dad20ed535e 100644 --- a/addons/rearm/script_component.hpp +++ b/addons/rearm/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT rearm #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_REARM #define DEBUG_MODE_FULL #endif diff --git a/addons/recoil/script_component.hpp b/addons/recoil/script_component.hpp index b5a74ec8ddd..aa80910be10 100644 --- a/addons/recoil/script_component.hpp +++ b/addons/recoil/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT recoil #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RECOIL #define DEBUG_MODE_FULL #endif diff --git a/addons/refuel/script_component.hpp b/addons/refuel/script_component.hpp index e8c75146519..0c24c3915b0 100644 --- a/addons/refuel/script_component.hpp +++ b/addons/refuel/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT refuel #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_REFUEL #define DEBUG_MODE_FULL #endif diff --git a/addons/reload/script_component.hpp b/addons/reload/script_component.hpp index 8a1c097ab04..09993faaa4c 100644 --- a/addons/reload/script_component.hpp +++ b/addons/reload/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT reload #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RELOAD #define DEBUG_MODE_FULL #endif diff --git a/addons/reloadlaunchers/script_component.hpp b/addons/reloadlaunchers/script_component.hpp index bc6b7f6e6c1..fc78723f2a8 100644 --- a/addons/reloadlaunchers/script_component.hpp +++ b/addons/reloadlaunchers/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT reloadlaunchers #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RELOADLAUNCHERS #define DEBUG_MODE_FULL #endif diff --git a/addons/repair/script_component.hpp b/addons/repair/script_component.hpp index ff5d40a6aef..adae522925d 100644 --- a/addons/repair/script_component.hpp +++ b/addons/repair/script_component.hpp @@ -2,6 +2,9 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_REPAIR #define DEBUG_MODE_FULL diff --git a/addons/respawn/script_component.hpp b/addons/respawn/script_component.hpp index 0ecb27b1d4f..ee681d1d983 100644 --- a/addons/respawn/script_component.hpp +++ b/addons/respawn/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT respawn #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_RESPAWN #define DEBUG_MODE_FULL #endif diff --git a/addons/safemode/script_component.hpp b/addons/safemode/script_component.hpp index 04f10ed105b..8afc534fa2c 100644 --- a/addons/safemode/script_component.hpp +++ b/addons/safemode/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT safemode #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SAFEMODE #define DEBUG_MODE_FULL #endif diff --git a/addons/sandbag/script_component.hpp b/addons/sandbag/script_component.hpp index 8737beef073..422e1b203e4 100644 --- a/addons/sandbag/script_component.hpp +++ b/addons/sandbag/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT sandbag #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SANDBAG #define DEBUG_MODE_FULL #endif diff --git a/addons/scopes/script_component.hpp b/addons/scopes/script_component.hpp index 5cdb74207d9..0266705af21 100644 --- a/addons/scopes/script_component.hpp +++ b/addons/scopes/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT scopes #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #define ELEVATION_UP 0 #define ELEVATION_DOWN 1 #define WINDAGE_LEFT 2 diff --git a/addons/sitting/script_component.hpp b/addons/sitting/script_component.hpp index cbc8800cd28..40afbe84503 100644 --- a/addons/sitting/script_component.hpp +++ b/addons/sitting/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT sitting #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SITTING #define DEBUG_MODE_FULL #endif diff --git a/addons/slideshow/script_component.hpp b/addons/slideshow/script_component.hpp index 3acd23c0eeb..cf4272325df 100644 --- a/addons/slideshow/script_component.hpp +++ b/addons/slideshow/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT slideshow #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SLIDESHOW #define DEBUG_MODE_FULL #endif diff --git a/addons/smallarms/script_component.hpp b/addons/smallarms/script_component.hpp index 589e59433fc..63d516cee5c 100644 --- a/addons/smallarms/script_component.hpp +++ b/addons/smallarms/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT smallarms #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SMALLARMS #define DEBUG_MODE_FULL #endif diff --git a/addons/spectator/script_component.hpp b/addons/spectator/script_component.hpp index de2ee223632..575765a01d8 100644 --- a/addons/spectator/script_component.hpp +++ b/addons/spectator/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT spectator #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SPECTATOR #define DEBUG_MODE_FULL #endif diff --git a/addons/spottingscope/script_component.hpp b/addons/spottingscope/script_component.hpp index 11bd94a6e5f..48f14b7398a 100644 --- a/addons/spottingscope/script_component.hpp +++ b/addons/spottingscope/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT spottingscope #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SPOTTINGSCOPE #define DEBUG_MODE_FULL #endif diff --git a/addons/switchunits/script_component.hpp b/addons/switchunits/script_component.hpp index 5955e1220ff..938d34d9a87 100644 --- a/addons/switchunits/script_component.hpp +++ b/addons/switchunits/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT switchunits #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_SWITCHUNITS #define DEBUG_MODE_FULL #endif diff --git a/addons/tacticalladder/script_component.hpp b/addons/tacticalladder/script_component.hpp index 9905216ae79..1341795f374 100644 --- a/addons/tacticalladder/script_component.hpp +++ b/addons/tacticalladder/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT tacticalladder #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_TACTICALLADDER #define DEBUG_MODE_FULL #endif diff --git a/addons/testmissions/script_component.hpp b/addons/testmissions/script_component.hpp index d1674fb35ce..718356494d6 100644 --- a/addons/testmissions/script_component.hpp +++ b/addons/testmissions/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT testmissions #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_TESTMISSIONS #define DEBUG_MODE_FULL #endif diff --git a/addons/thermals/script_component.hpp b/addons/thermals/script_component.hpp index 97d7630b50f..bd829f035ea 100644 --- a/addons/thermals/script_component.hpp +++ b/addons/thermals/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT thermals #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_THERMALS #define DEBUG_MODE_FULL #endif diff --git a/addons/tripod/script_component.hpp b/addons/tripod/script_component.hpp index b160a147420..95d11d3a657 100644 --- a/addons/tripod/script_component.hpp +++ b/addons/tripod/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT tripod #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_TRIPOD #define DEBUG_MODE_FULL #endif diff --git a/addons/ui/script_component.hpp b/addons/ui/script_component.hpp index a0fa713f9fb..2c669b78e5e 100644 --- a/addons/ui/script_component.hpp +++ b/addons/ui/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT ui #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_UI #define DEBUG_MODE_FULL #endif diff --git a/addons/vector/script_component.hpp b/addons/vector/script_component.hpp index 9814c95eb23..3a84d60fc4f 100644 --- a/addons/vector/script_component.hpp +++ b/addons/vector/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT vector #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_VECTOR #define DEBUG_MODE_FULL #endif diff --git a/addons/vehiclelock/script_component.hpp b/addons/vehiclelock/script_component.hpp index 43d49a80289..23b0ea97950 100644 --- a/addons/vehiclelock/script_component.hpp +++ b/addons/vehiclelock/script_component.hpp @@ -1,8 +1,10 @@ #define COMPONENT vehiclelock +#include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL - -#include "\z\ace\addons\main\script_mod.hpp" +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_VEHICLELOCK #define DEBUG_MODE_FULL diff --git a/addons/vehicles/script_component.hpp b/addons/vehicles/script_component.hpp index af3015ab730..1f1b678acf5 100644 --- a/addons/vehicles/script_component.hpp +++ b/addons/vehicles/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT vehicles #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_VEHICLES #define DEBUG_MODE_FULL #endif diff --git a/addons/viewdistance/script_component.hpp b/addons/viewdistance/script_component.hpp index 53c4d763907..dfd04bbf9da 100644 --- a/addons/viewdistance/script_component.hpp +++ b/addons/viewdistance/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT viewdistance #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_VIEWDISTANCE #define DEBUG_MODE_FULL #endif diff --git a/addons/weaponselect/script_component.hpp b/addons/weaponselect/script_component.hpp index eec47cc4b16..7ab95f98872 100644 --- a/addons/weaponselect/script_component.hpp +++ b/addons/weaponselect/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT weaponselect #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_WEAPONSELECT #define DEBUG_MODE_FULL #endif diff --git a/addons/weather/script_component.hpp b/addons/weather/script_component.hpp index c2df236d535..84d7e9987b1 100644 --- a/addons/weather/script_component.hpp +++ b/addons/weather/script_component.hpp @@ -2,6 +2,8 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS // #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_WEATHER diff --git a/addons/winddeflection/functions/script_component.hpp b/addons/winddeflection/functions/script_component.hpp index eb67fc3887d..ea22ecb35c4 100644 --- a/addons/winddeflection/functions/script_component.hpp +++ b/addons/winddeflection/functions/script_component.hpp @@ -1,12 +1 @@ -#define COMPONENT windDeflection -#include "\z\ace\addons\main\script_mod.hpp" - -#ifdef DEBUG_ENABLED_WINDDEFLECTION - #define DEBUG_MODE_FULL -#endif - -#ifdef DEBUG_SETTINGS_WINDDEFLECTION - #define DEBUG_SETTINGS DEBUG_SETTINGS_WINDDEFLECTION -#endif - -#include "\z\ace\addons\main\script_macros.hpp" \ No newline at end of file +#include "\z\ace\addons\winddeflection\script_component.hpp" diff --git a/addons/winddeflection/script_component.hpp b/addons/winddeflection/script_component.hpp index 4af43227dee..e4cc1df840f 100644 --- a/addons/winddeflection/script_component.hpp +++ b/addons/winddeflection/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT winddeflection #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_WINDDEFLECTION #define DEBUG_MODE_FULL #endif diff --git a/addons/yardage450/script_component.hpp b/addons/yardage450/script_component.hpp index abff262efc2..d49c3013590 100644 --- a/addons/yardage450/script_component.hpp +++ b/addons/yardage450/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT yardage450 #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_YARDAGE450 #define DEBUG_MODE_FULL #endif diff --git a/addons/zeus/script_component.hpp b/addons/zeus/script_component.hpp index 7211b28f7d7..cb0fa29be32 100644 --- a/addons/zeus/script_component.hpp +++ b/addons/zeus/script_component.hpp @@ -1,6 +1,11 @@ #define COMPONENT zeus #include "\z\ace\addons\main\script_mod.hpp" +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define CBA_DEBUG_SYNCHRONOUS +// #define ENABLE_PERFORMANCE_COUNTERS + #ifdef DEBUG_ENABLED_ZEUS #define DEBUG_MODE_FULL #endif From 7f0821dd12b310c593566d742ab70853ae22e36f Mon Sep 17 00:00:00 2001 From: fr89k Date: Fri, 29 Jan 2016 12:21:46 +0100 Subject: [PATCH 5/9] Added the correct preprocessor macro for parse_imagepath, so that the source can now be compiled on Linux. --- extensions/parse_imagepath/ace_parse_imagepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/parse_imagepath/ace_parse_imagepath.cpp b/extensions/parse_imagepath/ace_parse_imagepath.cpp index 56d503cbaf6..fa1a8643e75 100644 --- a/extensions/parse_imagepath/ace_parse_imagepath.cpp +++ b/extensions/parse_imagepath/ace_parse_imagepath.cpp @@ -17,7 +17,7 @@ #include extern "C" { - __declspec (dllexport) void __stdcall RVExtension(char *output, int outputSize, const char *function); + EXPORT void __stdcall RVExtension(char *output, int outputSize, const char *function); } std::string getImagePathFromStructuredText(const std::string & input) { From d2296411d86e7bde787126f611a1cd0bdab4b435 Mon Sep 17 00:00:00 2001 From: fr89k Date: Fri, 29 Jan 2016 13:45:52 +0100 Subject: [PATCH 6/9] As bux578 requested: Added myself to AUTHORS.txt Forgot to change the AUTHORS.txt in the last pull request --- AUTHORS.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index 5eee93a7f62..1d69bec7b4d 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -113,3 +113,4 @@ voiper VyMajoris(W-Cephei) Winter zGuba +fr89k From ddd63bf1a857f8755dc825d733d2ddd3fbe280d7 Mon Sep 17 00:00:00 2001 From: fr89k Date: Fri, 29 Jan 2016 13:54:57 +0100 Subject: [PATCH 7/9] AUTHORS.txt now in alphabetical order --- AUTHORS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 1d69bec7b4d..f6e2623d1cf 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -63,6 +63,7 @@ Falke75 Ferenczi Ferenzi Filip Basara +fr89k FreeZbe geraldbolso1899 Ghost @@ -113,4 +114,3 @@ voiper VyMajoris(W-Cephei) Winter zGuba -fr89k From bd9587981d469c00c44754c9b8be396cf3c2816d Mon Sep 17 00:00:00 2001 From: fr89k Date: Fri, 29 Jan 2016 13:58:01 +0100 Subject: [PATCH 8/9] Added email address for fr89k --- AUTHORS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index f6e2623d1cf..63955a1dc60 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -63,7 +63,7 @@ Falke75 Ferenczi Ferenzi Filip Basara -fr89k +fr89k FreeZbe geraldbolso1899 Ghost From 4612652f8c81740ccc9e954412aa2f90ca65f32b Mon Sep 17 00:00:00 2001 From: Felix Wiegand Date: Mon, 1 Feb 2016 18:16:55 +0100 Subject: [PATCH 9/9] Use proper image URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d95c1529046..54849217ab6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +