-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from CBATeam/xehdisplayloadunloadevents
add XEH DisplayLoad and DisplayUnload events
- Loading branch information
Showing
15 changed files
with
261 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
// TODO: Find better way to schedule which addon inits first, does not seem to be alphabetic, but when the addon loads (probably filename/prefixname/other loading order) | ||
class Extended_PreInit_EventHandlers | ||
{ | ||
class ADDON | ||
{ | ||
|
||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
clientInit = QUOTE(call COMPILE_FILE(XEH_preClientInit)); | ||
}; | ||
}; | ||
|
||
class Extended_PostInit_EventHandlers | ||
{ | ||
class ADDON | ||
{ | ||
class Extended_PostInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_postInit)); | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
class Extended_PreInit_EventHandlers | ||
{ | ||
class ADDON | ||
{ | ||
|
||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
}; | ||
}; | ||
|
||
class Extended_DisplayLoad_EventHandlers { | ||
class RscDisplayDebugPublic { | ||
CBA_extendedDebug = QUOTE(_this call COMPILE_FILE(fnc_initExtendedDebug)); | ||
// remove scripted cancel button. | ||
CBA_removeCancelBtn = "((_this select 0) displayCtrl 2) ctrlEnable false; ((_this select 0) displayCtrl 2) ctrlShow false;"; | ||
}; | ||
class RscDisplayInterrupt { | ||
CBA_extendedDebug = QUOTE(_this call COMPILE_FILE(fnc_initExtendedDebug)); | ||
}; | ||
class RscDisplayMPInterrupt { | ||
CBA_extendedDebug = QUOTE(_this call COMPILE_FILE(fnc_initExtendedDebug)); | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.