mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-15 14:09:35 +00:00
bf3339a16d
* Build gc-us * Set up gc-us disassembly * Don't disasm unchanged overlays * Fix gc-eu-mq BSS * romalign link_animetion for NTSC * Explicitly set CPP defines to 0/1 * Add #ifs to segment_symbols.h * Add sButtonTextures now * Fix message _SHIFTL usage * Don't ifdef LANGUAGE_MAX
23 lines
954 B
C
23 lines
954 B
C
#define MESSAGE_DATA_STATIC
|
|
|
|
#include "message_data_fmt.h"
|
|
|
|
#define DEFINE_MESSAGE(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \
|
|
const char _message_##textId##_nes[] = nesMessage;
|
|
|
|
#define DEFINE_MESSAGE_NES(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \
|
|
/* Present */ const char _message_##textId##_nes[] = nesMessage;
|
|
#define DEFINE_MESSAGE_JPN(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \
|
|
/* Not Present */
|
|
|
|
#if OOT_NTSC
|
|
// On NTSC versions, the font message is with JPN
|
|
#define DEFINE_MESSAGE_FFFC(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \
|
|
/* Not Present */
|
|
#else
|
|
// On PAL versions, the font message is with NES
|
|
#define DEFINE_MESSAGE_FFFC(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \
|
|
/* Present */ const char _message_##textId##_nes[] = nesMessage;
|
|
#endif
|
|
|
|
#include "assets/text/message_data.enc.nes.h"
|