ACE3/addons/nightvision/CfgEventHandlers.hpp

23 lines
634 B
C++
Raw Permalink Normal View History

2016-02-22 14:20:36 +00:00
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
2016-02-22 14:20:36 +00:00
};
};
2015-01-12 22:08:37 +00:00
class Extended_PreInit_EventHandlers {
2015-02-18 04:07:29 +00:00
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(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 {
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
2015-02-18 04:07:29 +00:00
};
2015-01-12 22:08:37 +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);};);
};
};