mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 06:30:44 -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:
+3
-9
@@ -236,15 +236,9 @@
|
||||
(new 'stack 'font-context *font-default-matrix* 32 280 0.0 (font-color default) (font-flags shadow kerning))
|
||||
)
|
||||
)
|
||||
(let ((v1-84 s5-1))
|
||||
(set! (-> v1-84 width) (the float 340))
|
||||
)
|
||||
(let ((v1-85 s5-1))
|
||||
(set! (-> v1-85 height) (the float 80))
|
||||
)
|
||||
(let ((v1-86 s5-1))
|
||||
(set! (-> v1-86 scale) 0.9)
|
||||
)
|
||||
(set-width! s5-1 340)
|
||||
(set-height! s5-1 80)
|
||||
(set-scale! s5-1 0.9)
|
||||
(set! (-> s5-1 flags) (font-flags shadow kerning middle-vert large))
|
||||
(print-game-text (lookup-text! *common-text* (-> self talk-message) #f) s5-1 #f 44 (bucket-id progress))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user