2022-02-19 13:10:10 -05:00
|
|
|
#pragma once
|
|
|
|
#include <map>
|
2022-06-22 23:37:46 -04:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
2022-04-24 15:15:16 -04:00
|
|
|
#include <unordered_map>
|
2022-02-19 13:10:10 -05:00
|
|
|
#include <unordered_set>
|
2022-06-22 23:37:46 -04:00
|
|
|
|
2023-07-08 21:53:39 -04:00
|
|
|
#include "common/serialization/subtitles/subtitles.h"
|
|
|
|
#include "common/serialization/subtitles/subtitles_v1.h"
|
|
|
|
#include "common/serialization/subtitles/subtitles_v2.h"
|
|
|
|
#include "common/serialization/text/text_ser.h"
|
2022-06-22 23:37:46 -04:00
|
|
|
#include "common/util/Assert.h"
|
|
|
|
#include "common/util/FontUtils.h"
|
2022-02-19 13:10:10 -05:00
|
|
|
|
2023-04-30 17:22:56 -04:00
|
|
|
void compile_game_text(const std::vector<GameTextDefinitionFile>& filenames,
|
2022-06-30 21:11:58 -04:00
|
|
|
GameTextDB& db,
|
|
|
|
const std::string& output_prefix);
|
2023-07-08 21:53:39 -04:00
|
|
|
void compile_game_subtitles(const std::vector<GameSubtitleDefinitionFile>& filenames,
|
|
|
|
GameSubtitleDB& db,
|
2023-06-07 20:04:16 -04:00
|
|
|
const std::string& output_prefix);
|