mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -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:
+1
-5
@@ -359,11 +359,7 @@
|
||||
2.0
|
||||
0.0
|
||||
(let* ((f30-0 (penetrate-using->damage s0-0))
|
||||
(s2-0 arg0)
|
||||
(s5-0 (if (type? s2-0 process-focusable)
|
||||
(the-as process-focusable s2-0)
|
||||
)
|
||||
)
|
||||
(s5-0 (as-type arg0 process-focusable))
|
||||
(s2-1 (and s5-0 (focus-test? s5-0 dead hit)))
|
||||
)
|
||||
(set! sv-96
|
||||
|
||||
Reference in New Issue
Block a user