blob: e79b580bd33ef025b9e05e4e3b4ee7125127309e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#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;
u32 msgSize;
} MessageTableEntry; // size = 0x8;
#if 0
#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
#endif
|