mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
fe6494187e
* Some Decoder WIPs * Improvements * POC * Fix bss * another newline * Staff OK * Cleanup + fix progress script * script cleanup * Some docs * makefile * Extract text from extract_assets.py * More docs * Even more docs * Other message assets * Small cleanups * Clean up decoders/encoders * Message_SetupLoadItemIcon -> Message_DecodeHeader * Some more docs * Remove mkdmadata * Fade Skippable * More cmd docs * 1 left * Last notes * HS_TIMER -> HS_TIME * More general docs * Format * Note the charmap conversion for buttons in message_data_fmt_nes.h * Remove trailing whitespace * Small fixes * PR
27 lines
575 B
C
27 lines
575 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, typePos, msg) \
|
|
extern const char _message_##textId[];
|
|
|
|
#include "assets/text/message_data.h"
|
|
|
|
#undef DEFINE_MESSAGE
|
|
|
|
#define DEFINE_MESSAGE(textId, typePos, msg) \
|
|
extern const char _message_##textId##_staff[];
|
|
|
|
#include "assets/text/staff_message_data.h"
|
|
|
|
#undef DEFINE_MESSAGE
|
|
|
|
#endif
|