2016-02-22 14:20:36 +00:00
|
|
|
class Extended_PreStart_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
|
2016-02-22 14:20:36 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-08 06:26:15 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
|
2015-08-08 06:26:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
|
|
class ADDON {
|
2021-09-04 00:08:34 +00:00
|
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
|
2015-08-08 06:26:15 +00:00
|
|
|
};
|
|
|
|
};
|
2020-06-19 15:35:57 +00:00
|
|
|
|
|
|
|
class Extended_DisplayLoad_EventHandlers {
|
|
|
|
class RscDisplayCurator {
|
|
|
|
ADDON = QUOTE(((_this select 0) displayCtrl ID_CURATOR_MAP) call FUNC(initDisplayCurator));
|
|
|
|
};
|
|
|
|
class RscDisplayEGSpectator {
|
|
|
|
ADDON = QUOTE((((_this select 0) displayCtrl ID_EG_MAP_CONTROL) controlsGroupCtrl ID_EG_MAP_CONTROLGROUP) call FUNC(initDisplaySpectator));
|
|
|
|
};
|
2020-08-18 17:44:16 +00:00
|
|
|
|
2020-06-19 15:35:57 +00:00
|
|
|
class RscDiary { // for loading saves use uiNamespace because missionNamespace is not restored before map is loaded
|
2020-08-18 17:44:16 +00:00
|
|
|
#ifdef DISABLE_COMPILE_CACHE
|
|
|
|
ADDON = QUOTE(((_this select 0) displayCtrl ID_DIARY_MAP) call (missionNamespace getVariable [ARR_2('DFUNC(initDisplayDiary)', uiNamespace getVariable 'DFUNC(initDisplayDiary)')]););
|
|
|
|
#else
|
|
|
|
ADDON = QUOTE(((_this select 0) displayCtrl ID_DIARY_MAP) call (uiNamespace getVariable 'DFUNC(initDisplayDiary)'););
|
|
|
|
#endif
|
2020-06-19 15:35:57 +00:00
|
|
|
};
|
|
|
|
};
|