mirror of
https://github.com/open-goal/jak-project
synced 2026-09-09 12:14:10 -04:00
finish out english subtitles (#1586)
* put some duplicated code in a func * make jak 2 text "work" * group up all subtitles c++ code into one folder * compact single-line subtitles * fix a couple compiler crashes * Update game_subtitle_en.gd * `rolling` and `sunken` * `swamp` * `ogre` * `village3` * `maincave` * `snow` * `lavatube` * `citadel` * Update .gitignore * clang * fix encoding and decoding for quote * properly fix quotes * subtitle deserialize: sort by kind, ID and name * sub editor: fix line speaker not being converted * cleanup game text ids 1 * update text ids 2 * update source * update refs
This commit is contained in:
+4
-4
@@ -366,7 +366,7 @@
|
||||
(set! (-> v1-2 height) (the float 55))
|
||||
)
|
||||
(set! (-> arg0 flags) (font-flags shadow kerning middle left large))
|
||||
(let ((s4-0 (game-text-id card-not-formatted-title)))
|
||||
(let ((s4-0 (game-text-id memcard-not-formatted-title)))
|
||||
(case (-> obj display-state)
|
||||
(((progress-screen memcard-no-space))
|
||||
(set! s4-0 (game-text-id memcard-no-space))
|
||||
@@ -438,7 +438,7 @@
|
||||
)
|
||||
(set! (-> arg0 flags) (font-flags shadow kerning middle left large))
|
||||
(let ((s4-0 print-game-text-scaled))
|
||||
(format (clear *temp-string*) (lookup-text! *common-text* (game-text-id card-not-formatted-title) #f) 1)
|
||||
(format (clear *temp-string*) (lookup-text! *common-text* (game-text-id memcard-not-formatted-title) #f) 1)
|
||||
(s4-0 *temp-string* (-> obj transition-percentage-invert) arg0 128)
|
||||
)
|
||||
(set! (-> arg0 origin x) (the float (- 20 (-> obj left-x-offset))))
|
||||
@@ -450,7 +450,7 @@
|
||||
(set! (-> v1-8 height) (the float 40))
|
||||
)
|
||||
(print-game-text-scaled
|
||||
(lookup-text! *common-text* (game-text-id card-not-formatted-msg) #f)
|
||||
(lookup-text! *common-text* (game-text-id memcard-not-formatted-msg) #f)
|
||||
(-> obj transition-percentage-invert)
|
||||
arg0
|
||||
128
|
||||
@@ -590,7 +590,7 @@
|
||||
(set! (-> v1-23 height) (the float 75))
|
||||
)
|
||||
(let ((s4-1 print-game-text-scaled))
|
||||
(format (clear *temp-string*) (lookup-text! *common-text* (game-text-id do-not-remove-mem-card) #f) 1)
|
||||
(format (clear *temp-string*) (lookup-text! *common-text* (game-text-id memcard-do-not-remove) #f) 1)
|
||||
(s4-1 *temp-string* (-> obj transition-percentage-invert) arg0 128)
|
||||
)
|
||||
0
|
||||
|
||||
+35
-35
@@ -356,9 +356,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task village1-uncle-money)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id vollage1-uncle-money)
|
||||
(game-text-id vollage1-uncle-money)
|
||||
(game-text-id vollage1-uncle-money)
|
||||
(game-text-id village1-uncle-money)
|
||||
(game-text-id village1-uncle-money)
|
||||
(game-text-id village1-uncle-money)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -643,7 +643,7 @@
|
||||
)
|
||||
)
|
||||
(new 'static 'level-tasks-info
|
||||
:level-name-id (game-text-id fire-canyon-level-name)
|
||||
:level-name-id (game-text-id firecanyon-level-name)
|
||||
:text-group-index 5
|
||||
:nb-of-tasks 2
|
||||
:buzzer-task-index 1
|
||||
@@ -651,18 +651,18 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task firecanyon-end)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id fire-canyon-end)
|
||||
(game-text-id fire-canyon-end)
|
||||
(game-text-id fire-canyon-end)
|
||||
(game-text-id firecanyon-end)
|
||||
(game-text-id firecanyon-end)
|
||||
(game-text-id firecanyon-end)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task firecanyon-buzzer)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id fire-canyon-buzzer)
|
||||
(game-text-id fire-canyon-buzzer)
|
||||
(game-text-id fire-canyon-buzzer)
|
||||
(game-text-id firecanyon-buzzer)
|
||||
(game-text-id firecanyon-buzzer)
|
||||
(game-text-id firecanyon-buzzer)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -722,9 +722,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task village2-buzzer)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -757,9 +757,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task sunken-slide)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id sunken-bottom)
|
||||
(game-text-id sunken-bottom)
|
||||
(game-text-id sunken-bottom)
|
||||
(game-text-id sunken-slide)
|
||||
(game-text-id sunken-slide)
|
||||
(game-text-id sunken-slide)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -793,18 +793,18 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task sunken-spinning-room)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id reach-center)
|
||||
(game-text-id reach-center)
|
||||
(game-text-id reach-center)
|
||||
(game-text-id sunken-spinning-room)
|
||||
(game-text-id sunken-spinning-room)
|
||||
(game-text-id sunken-spinning-room)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task sunken-buzzer)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -882,9 +882,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task swamp-buzzer)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -962,9 +962,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task rolling-buzzer)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id unknown-buzzers)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id generic-buzzer)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -1095,7 +1095,7 @@
|
||||
)
|
||||
)
|
||||
(new 'static 'level-tasks-info
|
||||
:level-name-id (game-text-id snowy-level-name)
|
||||
:level-name-id (game-text-id snow-level-name)
|
||||
:text-group-index 3
|
||||
:nb-of-tasks 8
|
||||
:buzzer-task-index 7
|
||||
@@ -1130,9 +1130,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task snow-cage)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id snow-frozen-crate)
|
||||
(game-text-id snow-frozen-crate)
|
||||
(game-text-id snow-frozen-crate)
|
||||
(game-text-id snow-cage)
|
||||
(game-text-id snow-cage)
|
||||
(game-text-id snow-cage)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
@@ -1148,9 +1148,9 @@
|
||||
(new 'static 'task-info-data
|
||||
:task-id (game-task snow-ball)
|
||||
:task-name (new 'static 'array game-text-id 4
|
||||
(game-text-id snow-open-door)
|
||||
(game-text-id snow-open-door)
|
||||
(game-text-id snow-open-door)
|
||||
(game-text-id snow-ball)
|
||||
(game-text-id snow-ball)
|
||||
(game-text-id snow-ball)
|
||||
(game-text-id zero)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user