a lot of changes and support languages

This commit is contained in:
Ondřej Novák 2025-02-07 20:26:54 +01:00
parent 185a6e5382
commit f55f92a88b
38 changed files with 1221 additions and 467 deletions

12
game/lang.h Normal file
View file

@ -0,0 +1,12 @@
#pragma once
#include <libs/strlite.h>
#include <libs/string_table.h>
void lang_set_folder(const char *path);
const char *lang_get_folder(void);
void lang_patch_stringtable(TSTR_LIST *lst, const char *object_name, const char *prefix);
const char *lang_replace_path_if_exists(const char *file);
TSTRINGTABLE *lang_load(const char *object_name);