mirror of
https://github.com/open-goal/jak-project
synced 2026-08-20 14:24: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
-7
@@ -483,13 +483,7 @@
|
||||
#f
|
||||
)
|
||||
((-> arg0 mode-name)
|
||||
(let ((s5-1 (-> arg0 mode-name value)))
|
||||
(set! (-> arg0 cam-mode) (the-as symbol (if (type? s5-1 state)
|
||||
s5-1
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(set! (-> arg0 cam-mode) (the-as symbol (the-as object (as-type (-> arg0 mode-name value) state))))
|
||||
(set! (-> arg0 real-entity-name) #f)
|
||||
#f
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user