2026-08-28 18:14:49 +10:00
|
|
|
#include "\x\cba\addons\main\script_macros_common.hpp"
|
|
|
|
|
#include "\x\cba\addons\xeh\script_xeh.hpp"
|
|
|
|
|
|
|
|
|
|
// New PREP macros
|
|
|
|
|
#undef PREP
|
|
|
|
|
#ifdef DISABLE_COMPILE_CACHE
|
|
|
|
|
// no compile cache
|
|
|
|
|
#define PREP(fncName) TRIPLES(ADDON,fnc,fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\DOUBLES(fnc,fncName).sqf)
|
|
|
|
|
#define PREP_S(fncName,subfolder) TRIPLES(ADDON,fnc,fncName) = compile preprocessFileLineNumbers QPATHTOF(functions\subfolder\DOUBLES(fnc,fncName).sqf)
|
|
|
|
|
#else
|
|
|
|
|
// compile cache
|
|
|
|
|
#define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
|
|
|
|
|
#define PREP_S(fncName,subfolder) [QPATHTOF(functions\subfolder\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
|
|
|
|
|
#endif
|