From 634b47e872fd3e85851f78976f8818b144a3a4b1 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 6 Dec 2023 22:41:15 -0600 Subject: [PATCH] Tools - Don't compile 4 funcs that modify base functions --- .hemtt/project.toml | 4 ---- addons/diagnostic/CfgFunctions.hpp | 2 +- ...ConsoleAllowed.sqf => fnc_isDebugConsoleAllowed.inc.sqf} | 0 addons/xeh/CfgFunctions.hpp | 6 +++--- ...nc_endLoadingScreen.sqf => fnc_endLoadingScreen.inc.sqf} | 0 addons/xeh/{fnc_initDisplay.sqf => fnc_initDisplay.inc.sqf} | 0 ...tartLoadingScreen.sqf => fnc_startLoadingScreen.inc.sqf} | 0 sqfc.json | 4 ---- 8 files changed, 4 insertions(+), 12 deletions(-) rename addons/diagnostic/{fnc_isDebugConsoleAllowed.sqf => fnc_isDebugConsoleAllowed.inc.sqf} (100%) rename addons/xeh/{fnc_endLoadingScreen.sqf => fnc_endLoadingScreen.inc.sqf} (100%) rename addons/xeh/{fnc_initDisplay.sqf => fnc_initDisplay.inc.sqf} (100%) rename addons/xeh/{fnc_startLoadingScreen.sqf => fnc_startLoadingScreen.inc.sqf} (100%) diff --git a/.hemtt/project.toml b/.hemtt/project.toml index 9585b5761..82dec04b1 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -21,10 +21,6 @@ git_hash = 0 enabled = true exclude = [ ".inc.sqf", - "diagnostic/fnc_isdebugconsoleallowed.sqf", - "xeh/fnc_initdisplay.sqf", - "xeh/fnc_startloadingscreen.sqf", - "xeh/fnc_endloadingscreen.sqf", "/test_" ] diff --git a/addons/diagnostic/CfgFunctions.hpp b/addons/diagnostic/CfgFunctions.hpp index f795bc2f2..fc6a2609c 100644 --- a/addons/diagnostic/CfgFunctions.hpp +++ b/addons/diagnostic/CfgFunctions.hpp @@ -19,7 +19,7 @@ class CfgFunctions { class A3 { class Debug { class isDebugConsoleAllowed { - file = QPATHTOF(fnc_isDebugConsoleAllowed.sqf); + file = QPATHTOF(fnc_isDebugConsoleAllowed.inc.sqf); }; }; }; diff --git a/addons/diagnostic/fnc_isDebugConsoleAllowed.sqf b/addons/diagnostic/fnc_isDebugConsoleAllowed.inc.sqf similarity index 100% rename from addons/diagnostic/fnc_isDebugConsoleAllowed.sqf rename to addons/diagnostic/fnc_isDebugConsoleAllowed.inc.sqf diff --git a/addons/xeh/CfgFunctions.hpp b/addons/xeh/CfgFunctions.hpp index 81c692257..29837be6e 100644 --- a/addons/xeh/CfgFunctions.hpp +++ b/addons/xeh/CfgFunctions.hpp @@ -29,15 +29,15 @@ class CfgFunctions { class A3 { class GUI { class initDisplay { - file = QPATHTOF(fnc_initDisplay.sqf); + file = QPATHTOF(fnc_initDisplay.inc.sqf); }; }; class Misc { class startLoadingScreen { - file = QPATHTOF(fnc_startLoadingScreen.sqf); + file = QPATHTOF(fnc_startLoadingScreen.inc.sqf); }; class endLoadingScreen { - file = QPATHTOF(fnc_endLoadingScreen.sqf); + file = QPATHTOF(fnc_endLoadingScreen.inc.sqf); }; }; }; diff --git a/addons/xeh/fnc_endLoadingScreen.sqf b/addons/xeh/fnc_endLoadingScreen.inc.sqf similarity index 100% rename from addons/xeh/fnc_endLoadingScreen.sqf rename to addons/xeh/fnc_endLoadingScreen.inc.sqf diff --git a/addons/xeh/fnc_initDisplay.sqf b/addons/xeh/fnc_initDisplay.inc.sqf similarity index 100% rename from addons/xeh/fnc_initDisplay.sqf rename to addons/xeh/fnc_initDisplay.inc.sqf diff --git a/addons/xeh/fnc_startLoadingScreen.sqf b/addons/xeh/fnc_startLoadingScreen.inc.sqf similarity index 100% rename from addons/xeh/fnc_startLoadingScreen.sqf rename to addons/xeh/fnc_startLoadingScreen.inc.sqf diff --git a/sqfc.json b/sqfc.json index 6deade7e6..458de408b 100644 --- a/sqfc.json +++ b/sqfc.json @@ -7,10 +7,6 @@ ], "excludeList": [ ".inc.sqf", - "diagnostic\\fnc_isdebugconsoleallowed.sqf", - "xeh\\fnc_initdisplay.sqf", - "xeh\\fnc_startloadingscreen.sqf", - "xeh\\fnc_endloadingscreen.sqf", "\\test_" ], "outputDir": "P:/",