mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
0514d963d9
* 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>
27 lines
581 B
C
27 lines
581 B
C
#ifndef MESSAGE_DATA_STATIC_H
|
|
#define MESSAGE_DATA_STATIC_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
|
|
typedef struct MessageTableEntry {
|
|
/* 0x0 */ u16 textId;
|
|
/* 0x2 */ u8 typePos;
|
|
/* 0x4 */ const char* segment;
|
|
} MessageTableEntry; // size = 0x8;
|
|
|
|
#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, type, yPos, msg) \
|
|
extern const char _message_##textId##_staff[];
|
|
|
|
#include "assets/text/message_data_staff.h"
|
|
|
|
#undef DEFINE_MESSAGE
|
|
|
|
#endif
|