mirror of
https://github.com/open-goal/jak-project
synced 2026-08-11 11:33:51 -04:00
[decompiler] as-type and font method support (#3855)
Add support for `as-type` macro, and detecting inline font methods. This works in all three games but I've only updated jak 3's goal_src for now. Eventually I will go back and work through the others, but I want to get more decompiler features in first.  --------- Co-authored-by: water111 <awaterford1111445@gmail.com>
This commit is contained in:
@@ -883,15 +883,9 @@
|
||||
(set! *external-cam-mode* #f)
|
||||
)
|
||||
:trans (behavior ()
|
||||
(let ((gp-0 *collision-edit-info*)
|
||||
(s5-0 (method-of-type collision-edit-info draw-menu))
|
||||
(s4-0 (handle->process (-> self proc)))
|
||||
)
|
||||
(s5-0 gp-0 (the-as process-drawable (if (type? s4-0 process-drawable)
|
||||
s4-0
|
||||
)
|
||||
)
|
||||
)
|
||||
(draw-menu
|
||||
*collision-edit-info*
|
||||
(the-as process-drawable (as-type (handle->process (-> self proc)) process-drawable))
|
||||
)
|
||||
)
|
||||
:code sleep-code
|
||||
|
||||
Reference in New Issue
Block a user