aboutsummaryrefslogtreecommitdiffstats
path: root/Modis/SDK/Hooks.txt
blob: 3223769442ec133d105588e05bb647493b184b77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Ultrastar Deluxe Hook List
-----------------------------------
Here you can find the Events the Core offers to you:

--------------------
Core:
--------------------
Core/LoadingFinished <- Hook is called after all Modules and Plugins are loaded completely, before MainLoop
Core/MainLoop        <- Hook is called once in MainLoop before Drawing
Core/LoadTextures    <- Hook is called when Textures should be Loaded. This will be called in Ogl Thread. If Textures are Reloaded (e.g. on Display ReInit) LParam is non Zero.
Core/ExitQuery       <- Hook is called if someone querys an exit. (e.g. X is pressed). Not called on ForcedExit. If Chain is breaked the exit will be aborted.
Core/Exit            <- Hook is called before Module a. Plugin unload.
Core/NewDebugInfo    <- Hook is called everytime there is Debug Info to Output(only if Debug Mode is enabled). wParam: Pchar(Message), lParam: PChar(Reportername)
Core/NewError        <- Hook is called everytime an error is reported. wParam: Pchar(Message), lParam: PChar(Reportername)

--------------------
Display
--------------------
Display/onScreenChange <-Hook is called when there is an attemp to change Screen. wParam is address to Screens Name(Null Terminated). If Chain is breaked Screenchange will be aborted.