1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-24 07:51:48 +00:00

printf finished

This commit is contained in:
fig02 2025-04-22 23:45:37 -04:00
parent 8fd9aa105a
commit 1a35c52078
218 changed files with 228 additions and 10 deletions

View file

@ -12,6 +12,15 @@
#define BAD_RETURN(type) void
#endif
/**
* The "T" macro holds translations in English for original debug strings written in Japanese.
* The translated strings are only direct translations. Certain names or terms may not reflect
* their in-game localized counterparts.
*
* To use translated English strings in the build, change the definition below from "jp" to "en".
*/
#define T(jp, en) jp
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
#define ARRAY_COUNTU(arr) (u32)(sizeof(arr) / sizeof(arr[0]))
#define ARRAY_COUNT_2D(arr) (s32)(sizeof(arr) / sizeof(arr[0][0]))

View file

@ -1,13 +1,6 @@
#ifndef TRANSLATION_H
#define TRANSLATION_H
/**
* The "T" macro holds translations in English for original debug strings written in Japanese.
* The translated strings are only direct translations. Certain names or terms may not reflect
* their in-game localized counterparts.
*
* To use translated English strings in the build, change the definition below from "jp" to "en".
*/
#define T(jp, en) jp
#endif