mirror of
https://github.com/open-goal/jak-project
synced 2026-06-17 15:17:27 -04:00
Fix Jak 3 subtitle speaker colors (#4043)
This commit is contained in:
@@ -341,8 +341,8 @@
|
||||
((or (= #t (-> *pc-settings* subtitle-speaker?))
|
||||
(and (= 'auto (-> *pc-settings* subtitle-speaker?)) (subtitle3-flags? line offscreen)))
|
||||
;; there is a speaker and we do want it.
|
||||
;; we use color 33 which gets set at runtime to any color we want
|
||||
(string-format "~33L~S:~0L ~S"
|
||||
;; we use color 42 which gets set at runtime to any color we want
|
||||
(string-format "~42L~S:~0L ~S"
|
||||
(if convert-to-korean? (convert-korean-text (get-speaker *subtitle3-text* (-> line speaker))) (get-speaker *subtitle3-text* (-> line speaker)))
|
||||
(if convert-to-korean? (convert-korean-text (-> line text)) (-> line text))))
|
||||
(else
|
||||
@@ -537,7 +537,7 @@
|
||||
|
||||
(dotimes (i (-> *subtitle3-text* speaker-length))
|
||||
(set-speaker-color (the pc-subtitle3-speaker i))
|
||||
(+! (-> font origin y) (print-game-text (string-format "~33L~S" (get-speaker *subtitle3-text* (the pc-subtitle3-speaker i)))
|
||||
(+! (-> font origin y) (print-game-text (string-format "~42L~S" (get-speaker *subtitle3-text* (the pc-subtitle3-speaker i)))
|
||||
font #f 44 (bucket-id debug-no-zbuf2)))
|
||||
(when (< 416.0 (-> font origin y))
|
||||
(set! (-> font origin y) 0.0)
|
||||
|
||||
Reference in New Issue
Block a user