Move EHs to seperate file, add preInit for PREPs

This commit is contained in:
KoffeinFlummi 2015-01-12 11:33:50 +01:00
parent 479c4b01e8
commit 2942306e3c
2 changed files with 20 additions and 13 deletions

View File

@ -0,0 +1,19 @@
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) );
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
clientInit = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf) );
};
};
class Extended_Init_EventHandlers {
class AllVehicles {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
};

View File

@ -14,19 +14,7 @@ class CfgPatches {
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
clientInit = QUOTE(call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf));
};
};
class Extended_Init_EventHandlers {
class AllVehicles {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
};
#include "CfgEventHandlers.hpp"
class EGVAR(Core, Default_Keys) {
class laseTarget {