Merge commit 'refs/pull/1384/head' of https://github.com/valentderah/totk-pc-recomp into task/pr1384

This commit is contained in:
Valiantsin Dzerakh committed 2026-11-23 18:25:26 +03:00
commit 719cff3a4c
12 files changed
+6940 -56

No files matched your search

+3 -2
View File
@@ -59,8 +59,9 @@ MacNativeGames cannot run on x86-64 as is: its CPU path executes ARM64 code nati
- Settings and menu: every key with its default is in one table (`cfg.c`), read from `totk.ini` and `TOTK_*`
variables and written back when the in-game menu changes it. The menu and the performance overlay are Dear ImGui,
drawn into the swapchain image (`runtime/ui/`); their text is in `ui_text.c` (English, Russian, Brazilian Portuguese,
Simplified Chinese). The Chinese glyphs come from a system font (Microsoft YaHei, `plat_font_path`) merged into the
font atlas.
Simplified Chinese, German, French, Spanish, Italian, Dutch, Japanese, Korean,
Vietnamese). The Chinese, Japanese and Korean glyphs
come from a system font (`plat_font_path`) merged into the font atlas.
- OS calls the host makes go through `runtime/platform/` (`platform.h`, `win32.c`), so a Linux or macOS host adds one file instead of touching the rest. The split is not finished: `tools/check_platform.py` lists the Win32 uses left in the other files.
#### Threads and cores
+2 -2
View File
@@ -190,8 +190,8 @@ python -m installer --base FILE --update FILE --keys FILE --lang CODE --dest DIR
install sections, the explanations under More details, the share notice next to Start) in the Sun Valley ttk theme
(`installer/vendor/sv_ttk/`, the platform theme when it does not load), step list with progress, space line,
collapsible log, Cancel (Ctrl+Break to the CLI's process group, then it waits for the exit), finish screen with Open
folder. English, Russian, Brazilian Portuguese, Simplified Chinese, German, French, Spanish, Italian, Dutch, Japanese
or Korean (`guilogic.UI_LANGUAGES`), chosen from the Windows display language (every Chinese, zh-TW and zh-HK
folder. English, Russian, Brazilian Portuguese, Simplified Chinese, German, French, Spanish, Italian, Dutch, Japanese,
Korean or Vietnamese (`guilogic.UI_LANGUAGES`), chosen from the Windows display language (every Chinese, zh-TW and zh-HK
included, gives Simplified Chinese; pt-PT and languages without a catalog give English), switchable in the window;
every sentence is an id in `installer/text/<lang>.json`. The game language starts as the window's when the game has
it; a Chinese or Korean window still starts with English, because that game text needs the Switch shared fonts,