mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
[game] subtitles support (tools + goal + text file). (#1174)
* add subtitles support (tools + goal + text file). * add to build system proper * better handling of line speakers * billy test subtitles * adjust timings * better handling of subtitle timing + citadel subs * press square to toggle cutscene subtitles * improve DirectRenderer performance * clang * dont error out if there's no user files * make system supports multiple inputs for subtitles * clang * oh no typo!! * avoid future issues * fix warp gate crash * remove no longer necessary code in DirectRenderer * remove temp prints * delete triplicate code * i found a better way * fix make issues with subtitles * force avx compilation
This commit is contained in:
@@ -56,10 +56,9 @@ void DataObjectGenerator::link_word_to_word(int source, int target, int offset)
|
||||
}
|
||||
|
||||
void DataObjectGenerator::link_word_to_byte(int source_word, int target_byte) {
|
||||
PointerLinkRecord rec;
|
||||
auto& rec = m_ptr_links.emplace_back();
|
||||
rec.source_word = source_word;
|
||||
rec.target_byte = target_byte;
|
||||
m_ptr_links.push_back(rec);
|
||||
}
|
||||
|
||||
int DataObjectGenerator::add_ref_to_string_in_pool(const std::string& str) {
|
||||
|
||||
Reference in New Issue
Block a user