Skip to content

Commit

Permalink
Tools - Add HEMTT SQF support
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Dec 7, 2023
1 parent b98ef8a commit ab8530d
Show file tree
Hide file tree
Showing 32 changed files with 18 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .hemtt/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ author = "ArmaForces"
[version]
path = "addons/main/script_version.hpp"

# Unused in HEMTT v1.11 or higher, kept for backwards compatibility
[asc]
exclude = [
"initSettings.sqf",
"initKeybinds.sqf",
"initSettingsChannelNames.sqf",
".inc.sqf",
]

[hemtt.launch]
Expand Down
2 changes: 1 addition & 1 deletion addons/acre/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

// Add arsenal category
if (EGVAR(common,aceArsenal) && {GVAR(addArsenalCategory)}) then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ if (EGVAR(common,aceArsenal)) then {
] call CBA_fnc_addSetting;
};

#include "initSettingsChannelNames.sqf"
#include "initSettingsChannelNames.inc.sqf"
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/ai_disembark/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

["CAManBase", "GetOutMan", {
_this call FUNC(onDisembark);
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/back_to_game/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

if (hasInterface) then {
GVAR(teleport) = false; // Used as flag for teleportation agreement
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/fatigue/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/friendly_fire/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "script_component.hpp"
ADDON = false;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/grass/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/insurgents/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

GVAR(randomGear) = createHashMap;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/pointing/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "script_component.hpp"

#include "initKeybinds.sqf"
#include "initKeybinds.inc.sqf"

if (IS_MOD_LOADED(diwako_dui_radar)) then {
[QGVAR(pointed), {
Expand Down
2 changes: 1 addition & 1 deletion addons/pointing/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/remotesensors/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "script_component.hpp"
ADDON = false;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/respawn/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

if (hasInterface) then {
// Save current time delay in case it changes (to adjust remaining respawn time)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/safestart/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

[QGVAR(enableSafety), {
params ["_player"];
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/spectator/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/tagging/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "script_component.hpp"
ADDON = false;

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.
2 changes: 1 addition & 1 deletion addons/towing/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ ADDON = false;

if (!EGVAR(common,aceTowing)) exitWith {};

#include "initSettings.sqf"
#include "initSettings.inc.sqf"

ADDON = true;
File renamed without changes.

0 comments on commit ab8530d

Please sign in to comment.