Skip to content

Commit

Permalink
Merge pull request #19 from tuntematonjr/Development
Browse files Browse the repository at this point in the history
update cba fnc and disable debug
  • Loading branch information
tuntematonjr authored Sep 30, 2024
2 parents 4270c89 + f9dde8c commit a70ab7d
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 65 deletions.
4 changes: 2 additions & 2 deletions addons/briefingtime/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PREP_RECOMPILE_END;
1, // 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) <ARRAY>
{}, // Script to execute when setting is changed. (optional) <CODE>
true //Setting will be marked as needing mission restart after being changed. (optional, default false) <BOOL>
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(valueSettings),
Expand All @@ -28,6 +28,6 @@ PREP_RECOMPILE_END;
GVAR(value) = round _value * 60;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

ADDON = true;
2 changes: 1 addition & 1 deletion addons/briefingtime/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define COMPONENT_BEAUTIFIED BriefingTime
#include "\x\tunuti\addons\main\script_mod.hpp"

#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_BRIEFINGTIME
Expand Down
2 changes: 1 addition & 1 deletion addons/main/script_component.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define COMPONENT main
#include "\x\tunuti\addons\main\script_mod.hpp"

#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_MAIN
Expand Down
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 1
#define MINOR 4
#define PATCH 1
#define PATCH 2
#define BUILD 0
6 changes: 3 additions & 3 deletions addons/planningmode/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PREP_RECOMPILE_END;
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(sideChatIsDisabledDefault),
Expand All @@ -25,7 +25,7 @@ PREP_RECOMPILE_END;
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(enableBriefingText),
Expand All @@ -36,6 +36,6 @@ PREP_RECOMPILE_END;
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

ADDON = true;
2 changes: 1 addition & 1 deletion addons/planningmode/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define COMPONENT_BEAUTIFIED PlanningMode
#include "\x\tunuti\addons\main\script_mod.hpp"

#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_PLANNINGMODE
Expand Down
16 changes: 8 additions & 8 deletions addons/radiochannels/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PREP_RECOMPILE_END;
1, // 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) <ARRAY>
{}, // Script to execute when setting is changed. (optional) <CODE>
true //Setting will be marked as needing mission restart after being changed. (optional, default false) <BOOL>
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(enableAutoSetup),
Expand All @@ -25,7 +25,7 @@ PREP_RECOMPILE_END;
0,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(enableAutoSetup),
Expand All @@ -36,7 +36,7 @@ PREP_RECOMPILE_END;
0,
{},
false
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(commandElementID),
Expand All @@ -47,7 +47,7 @@ PREP_RECOMPILE_END;
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(trimNames),
Expand All @@ -58,7 +58,7 @@ PREP_RECOMPILE_END;
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(additional_LR_west),
Expand All @@ -69,7 +69,7 @@ PREP_RECOMPILE_END;
1,
{ GVAR(additional_LR_west) = (_this splitString ",")},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(additional_LR_east),
Expand All @@ -80,7 +80,7 @@ PREP_RECOMPILE_END;
1,
{ GVAR(additional_LR_east) = (_this splitString ",")},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(additional_LR_independent),
Expand All @@ -91,6 +91,6 @@ PREP_RECOMPILE_END;
1,
{ GVAR(additional_LR_independent) = (_this splitString ",")},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

ADDON = true;
2 changes: 1 addition & 1 deletion addons/radiochannels/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define COMPONENT_BEAUTIFIED RadioChannels
#include "\x\tunuti\addons\main\script_mod.hpp"

#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_RADIOCHANNELS
Expand Down
42 changes: 21 additions & 21 deletions addons/startmarkers/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GVAR(vehicleMarkers) = [];
1, // 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) <ARRAY>
{}, // Script to execute when setting is changed. (optional) <CODE>
true //Setting will be marked as needing mission restart after being changed. (optional, default false) <BOOL>
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(showAI),
Expand All @@ -30,7 +30,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(showUnmanned),
Expand All @@ -41,7 +41,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(commandElementID),
Expand All @@ -52,7 +52,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

////////////////
//StartMarkers//
Expand All @@ -72,7 +72,7 @@ GVAR(vehicleMarkers) = [];
GVAR(prepTime) = (["Afi_safeStart_duration", _value ] call BIS_fnc_getParamValue) * 60;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowMarkersWest),
Expand All @@ -88,7 +88,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowMarkerEast),
Expand All @@ -104,7 +104,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowMarkerInd),
Expand All @@ -120,7 +120,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowMarkerCivilian),
Expand All @@ -136,7 +136,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

///////
//BFT//
Expand All @@ -150,7 +150,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(bftAlwaysOn),
Expand All @@ -161,7 +161,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(addAllVehicles),
Expand All @@ -172,7 +172,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(updateInterval),
Expand All @@ -186,7 +186,7 @@ GVAR(vehicleMarkers) = [];
GVAR(updateInterval) = round _value;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(bftItemsSettings),
Expand All @@ -202,7 +202,7 @@ GVAR(vehicleMarkers) = [];
GVAR(bftItems) = _value;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowBftWest),
Expand All @@ -218,7 +218,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowBftEast),
Expand All @@ -234,7 +234,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowBftInd),
Expand All @@ -250,7 +250,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(allowBftCivilian),
Expand All @@ -266,7 +266,7 @@ GVAR(vehicleMarkers) = [];
};
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(lostContactTime),
Expand All @@ -280,7 +280,7 @@ GVAR(vehicleMarkers) = [];
GVAR(deleteMarkerTime) = round _value;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(enableDeleteMarker),
Expand All @@ -291,7 +291,7 @@ GVAR(vehicleMarkers) = [];
1,
{},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

[
QGVAR(deleteMarkerTime),
Expand All @@ -305,7 +305,7 @@ GVAR(vehicleMarkers) = [];
GVAR(deleteMarkerTime) = round _value;
},
true
] call CBA_Settings_fnc_init;
] call CBA_fnc_addSetting;

["hint", {
hint (_this select 0);
Expand Down
2 changes: 1 addition & 1 deletion addons/startmarkers/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define COMPONENT_BEAUTIFIED StartMarkers
#include "\x\tunuti\addons\main\script_mod.hpp"

#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_STARTMARKERS
Expand Down
Loading

0 comments on commit a70ab7d

Please sign in to comment.