mirror of
https://github.com/open-goal/jak-project
synced 2026-07-28 15:18:47 -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:
+126
-378
File diff suppressed because it is too large
Load Diff
+3
-9
@@ -1517,17 +1517,11 @@
|
||||
)
|
||||
(dotimes (s5-1 (length gp-0))
|
||||
(set! (-> self current-index) s5-1)
|
||||
(let ((v1-43 sv-208))
|
||||
(set! (-> v1-43 scale) 0.5)
|
||||
)
|
||||
(set-scale! sv-208 0.5)
|
||||
(set! (-> sv-208 origin x) 70.0)
|
||||
(set! (-> sv-208 origin y) (the float sv-212))
|
||||
(let ((v1-48 sv-208))
|
||||
(set! (-> v1-48 width) (the float 375))
|
||||
)
|
||||
(let ((v1-49 sv-208))
|
||||
(set! (-> v1-49 height) (the float 30))
|
||||
)
|
||||
(set-width! sv-208 375)
|
||||
(set-height! sv-208 30)
|
||||
(set! (-> sv-208 flags) (font-flags kerning middle middle-vert large))
|
||||
(let ((v1-51 sv-208))
|
||||
(set! (-> v1-51 color) (if (and (= s5-1 (-> self option-index)) (= (-> self menu-transition) 0.0))
|
||||
|
||||
Reference in New Issue
Block a user