2016-02-22 14:20:36 +00:00
|
|
|
class Extended_PreStart_EventHandlers {
|
|
|
|
class ADDON {
|
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preStart));
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 22:08:37 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
2015-02-18 04:07:29 +00:00
|
|
|
class ADDON {
|
2017-12-06 19:15:33 +00:00
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
2015-02-18 04:07:29 +00:00
|
|
|
};
|
2015-01-12 22:08:37 +00:00
|
|
|
};
|
|
|
|
class Extended_PostInit_EventHandlers {
|
2015-02-18 04:07:29 +00:00
|
|
|
class ADDON {
|
2017-12-06 19:15:33 +00:00
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
2015-02-18 04:07:29 +00:00
|
|
|
};
|
2015-01-12 22:08:37 +00:00
|
|
|
};
|
2018-01-06 00:23:56 +00:00
|
|
|
|
|
|
|
// In SP-Editor, opening escape menu will break nvg grain effect
|
|
|
|
class Extended_DisplayLoad_EventHandlers {
|
|
|
|
class RscDisplayInterrupt {
|
|
|
|
GVAR(resetGrain) = QUOTE(if (GVAR(ppeffectGrain) > -1) then {ppEffectDestroy GVAR(ppeffectGrain);};);
|
|
|
|
};
|
|
|
|
};
|