mirror of
https://github.com/open-goal/jak-project
synced 2026-05-28 08:25:56 -04:00
09142d1712
* generate object, but not supported in linker yet * add link and tests * update types
16 lines
384 B
C++
16 lines
384 B
C++
#pragma once
|
|
#include <string>
|
|
#include <unordered_map>
|
|
|
|
struct ObjectFileData;
|
|
|
|
struct GameTextResult {
|
|
int total_text = 0;
|
|
int language = -1;
|
|
std::unordered_map<int, std::string> text;
|
|
int total_chars = 0;
|
|
};
|
|
|
|
GameTextResult process_game_text(ObjectFileData& data);
|
|
std::string write_game_text(
|
|
const std::unordered_map<int, std::unordered_map<int, std::string>>& data); |