Port over OoT's new text pipeline (#1685)

* Port OoT's new msgdis and msgenc

* format

* Remove item_ids try block

* Update assets/text/charmap.txt

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

---------

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
This commit is contained in:
Derek Hensley
2024-10-12 17:03:44 -07:00
committed by GitHub
parent 7bb0e9287d
commit 0514d963d9
15 changed files with 3695 additions and 1249 deletions
+3 -3
View File
@@ -9,17 +9,17 @@ typedef struct MessageTableEntry {
/* 0x4 */ const char* segment;
} MessageTableEntry; // size = 0x8;
#define DEFINE_MESSAGE(textId, typePos, msg) \
#define DEFINE_MESSAGE(textId, type, yPos, msg) \
extern const char _message_##textId[];
#include "assets/text/message_data.h"
#undef DEFINE_MESSAGE
#define DEFINE_MESSAGE(textId, typePos, msg) \
#define DEFINE_MESSAGE(textId, type, yPos, msg) \
extern const char _message_##textId##_staff[];
#include "assets/text/staff_message_data.h"
#include "assets/text/message_data_staff.h"
#undef DEFINE_MESSAGE