mirror of
https://github.com/zeldaret/oot
synced 2026-08-09 02:47:52 -04:00
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>
This commit is contained in:
@@ -235,8 +235,10 @@ typedef struct {
|
||||
/* 0xE2FE */ u8 textBoxPos; // text box position
|
||||
/* 0xE300 */ s32 msgLength; // original name : "msg_data"
|
||||
/* 0xE304 */ u8 msgMode; // original name: "msg_mode"
|
||||
/* 0xE305 */ char unk_E305[0x1];
|
||||
/* 0xE306 */ u8 msgBufDecoded[200]; // decoded message buffer, may be smaller than this
|
||||
/* 0xE306 */ union {
|
||||
u8 msgBufDecoded[200];
|
||||
u16 msgBufDecodedWide[100];
|
||||
};
|
||||
/* 0xE3CE */ u16 msgBufPos; // original name : "rdp"
|
||||
/* 0xE3D0 */ u16 unk_E3D0; // unused, only ever set to 0
|
||||
/* 0xE3D2 */ u16 textDrawPos; // draw all decoded characters up to this buffer position
|
||||
|
||||
Reference in New Issue
Block a user