mirror of
https://github.com/open-goal/jak-project
synced 2026-08-17 21:43:27 -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:
+2
-6
@@ -553,12 +553,8 @@
|
||||
(set! sv-112
|
||||
(new 'stack 'font-context *font-default-matrix* 64 312 0.0 (font-color default) (font-flags shadow kerning))
|
||||
)
|
||||
(let ((v1-35 sv-112))
|
||||
(set! (-> v1-35 width) (the float 384))
|
||||
)
|
||||
(let ((v1-36 sv-112))
|
||||
(set! (-> v1-36 height) (the float 50))
|
||||
)
|
||||
(set-width! sv-112 384)
|
||||
(set-height! sv-112 50)
|
||||
(set! (-> sv-112 flags) (font-flags shadow kerning middle middle-vert large))
|
||||
(set! (-> sv-112 scale) 0.7)
|
||||
(dotimes (s5-4 (-> gp-1 length))
|
||||
|
||||
Reference in New Issue
Block a user