mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
09c1816e2d
* Move definitions of OOT_NTSC/OOT_PAL/OOT_MQ to versions.h * Add PAL_N64 shorthand
24 lines
976 B
C
24 lines
976 B
C
#define MESSAGE_DATA_STATIC
|
|
|
|
#include "message_data_fmt.h"
|
|
#include "versions.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"
|