mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.5.0
In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
This commit is contained in:
@@ -75,15 +75,17 @@ def main():
|
||||
re.search(r"static uint32_t rd32\(.*", src).group(0),
|
||||
re.search(r"static void wr16\(.*", src).group(0),
|
||||
block(src, "static unsigned cmap4_glyph("),
|
||||
block(src, "static int bound_input("),
|
||||
block(src, "static int cmap4_bind("),
|
||||
block(src, "static int bind_font("),
|
||||
# (a controller's face: the keyboard and mouse face's keys are tests/test_prompt_keys.py's)
|
||||
"int main(int argc, char **argv) {",
|
||||
" FILE *f = fopen(argv[1], \"rb\");",
|
||||
" static unsigned char st[65536];",
|
||||
" const size_t n = fread(st, 1, sizeof st, f);",
|
||||
" fclose(f);",
|
||||
" if (argc > 2 && !strcmp(argv[2], \"font\")) { printf(\"%d\\n\", bind_font(st, n)); return 0; }",
|
||||
" printf(\"%d\\n\", cmap4_bind(st, n));",
|
||||
" if (argc > 2 && !strcmp(argv[2], \"font\")) { printf(\"%d\\n\", bind_font(st, n, HOS_PROMPT_XBOX)); return 0; }",
|
||||
" printf(\"%d\\n\", cmap4_bind(st, n, HOS_PROMPT_XBOX));",
|
||||
" for (int i = 2; i < argc; i++) printf(\"%u\\n\", cmap4_glyph(st, n, (unsigned)strtoul(argv[i], NULL, 0)));",
|
||||
" return 0;",
|
||||
"}", ""])
|
||||
|
||||
Reference in New Issue
Block a user