summaryrefslogtreecommitdiff
path: root/include/functions.h
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-07-21 18:50:20 -0700
committerGitHub <noreply@github.com>2024-07-21 21:50:20 -0400
commit47fd0232389eebcf883f58bdbc2002abd4e3ad18 (patch)
tree81f2ca8a0d0c27e704505e6b1026c07b5294bcdb /include/functions.h
parentab2ca85227bb4ed245d3a39faedc25f793a39a45 (diff)
Match NTSC z_kanfont.c and z_message.c (#1997)
* Match NTSC z_kanfont.c and z_message.c Co-authored-by: inspectredc <inspectredc@gmail.com> * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Remove now-unnecessary padding * Remove msgBufDecoded comment * Use == NULL for fake match * Rename Message_DrawText{JPN,NES} -> Message_DrawText[Wide] * Font_LoadKanji -> Font_LoadCharWide * Restore FONT_MESSAGE_OFFSET/FONT_MESSAGE_LENGTH --------- Co-authored-by: inspectredc <inspectredc@gmail.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Diffstat (limited to 'include/functions.h')
-rw-r--r--include/functions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.h b/include/functions.h
index d9c29270a..d0547e5d6 100644
--- a/include/functions.h
+++ b/include/functions.h
@@ -776,7 +776,8 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize);
void KaleidoSetup_Update(PlayState* play);
void KaleidoSetup_Init(PlayState* play);
void KaleidoSetup_Destroy(PlayState* play);
-void func_8006EE50(Font* font, u16 arg1, u16 arg2);
+s32 Kanji_OffsetFromShiftJIS(s32 character);
+void Font_LoadCharWide(Font* font, u16 character, u16 codePointIndex);
void Font_LoadChar(Font* font, u8 character, u16 codePointIndex);
void Font_LoadMessageBoxIcon(Font* font, u16 icon);
void Font_LoadOrderedFont(Font* font);