Corrected code and renamed hook/functions from the previous commit

This commit is contained in:
NovaRain
2019-12-13 10:49:24 +08:00
parent a325dd18ea
commit 0bf9a322c1
13 changed files with 69 additions and 44 deletions
+12
View File
@@ -648,3 +648,15 @@ Obj arg3 - the object that called this handler (source_obj, can be 0)
int arg4 - 1 after procedure execution (for HOOK_STDPROCEDURE_END), 0 otherwise
int ret1 - pass -1 to cancel the execution of the handler (only for HOOK_STDPROCEDURE)
-------------------------------------------
HOOK_TARGETOBJECT (hs_targetobject.int)
Runs whenever the targeting cursor hovers over something.
int arg1 - event type: 0 - when hovering over the target, 1 - when clicking on the target
int arg2 - 1 if the target is a valid object, 0 otherwise
Obj arg3 - the target object
int ret1 - overrides the target object