mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3395 from acemod/cba23compile
Cleanup old cba SLX_XEH_COMPILE_NEW code
This commit is contained in:
commit
b08ae7a266
@ -564,10 +564,3 @@ class CfgMods {
|
|||||||
|
|
||||||
#include "CfgModuleCategories.hpp"
|
#include "CfgModuleCategories.hpp"
|
||||||
#include "CfgVehicleClasses.hpp"
|
#include "CfgVehicleClasses.hpp"
|
||||||
|
|
||||||
// @todo delete this after CBA update, defines undefined global variable
|
|
||||||
class Extended_PreStart_EventHandlers {
|
|
||||||
class ADDON {
|
|
||||||
init = "with uiNamespace do {SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction};";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
#ifdef DISABLE_COMPILE_CACHE
|
#ifdef DISABLE_COMPILE_CACHE
|
||||||
#define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
|
#define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
|
||||||
#else
|
#else
|
||||||
#define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call SLX_XEH_COMPILE_NEW
|
#define PREP(fncName) [QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)), QFUNC(fncName)] call CBA_fnc_compileFunction
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
|
#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
|
||||||
|
Loading…
Reference in New Issue
Block a user