decompiler: call-parent-state-handler and suspend-for macros (#3625)

Also fix `hud-draw-pris2` bucket in Jak 3 to make subtitles work and
foreground HUD envmap.
This commit is contained in:
Hat Kid
2024-09-04 19:35:54 +02:00
committed by GitHub
parent d46e9fb8bb
commit bc66d416b4
536 changed files with 4365 additions and 9381 deletions
@@ -334,10 +334,7 @@
:enter (-> (method-of-type process-taskable active) enter)
:exit (-> (method-of-type process-taskable active) exit)
:code (behavior ((arg0 game-task-event))
(let ((gp-0 (current-time)))
(until (time-elapsed? gp-0 (seconds 0.5))
(suspend)
)
(suspend-for (seconds 0.5)
)
(go-virtual hide)
)