Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_msg_unit.h
Go to the documentation of this file.
1#ifndef D_MSG_D_MSG_UNIT_H
2#define D_MSG_D_MSG_UNIT_H
3
4#include "global.h"
5
6// Struct definitions might be wrong
7typedef struct bmg_section_t {
8 u32 msgType; // sectionType
9 u32 size; // total size of the section
10 u8 data[0]; // section data
12
13typedef struct bmg_header_t {
14 /* 0x00 */ char magic[8]; // = BMG_MAGIC
15 /* 0x08 */ u32 size; // total size of file
16 /* 0x0c */ u32 n_sections; // number of sections
17 /* 0x10 */ u32 encoding; // text encoding
18 /* 0x11 */ u8 unknown[12]; // unknown data
19 /* 0x20 */ bmg_section_t section[0]; // first section header
21
27
28typedef struct inf1_section_t {
29 /* 0x00 */ u32 msgType; // sectionType
30 /* 0x04 */ u32 size; // total size of the section
31 /* 0x08 */ u16 entryCount;
32 /* 0x0A */ u16 entryLength;
33 /* 0x0C */ u16 msgArchiveId;
34 /* 0x0E */ inf1_entry_t entries[0];
36
37typedef struct str1_entry_t {
38 char str[0];
40
41typedef struct str1_section_t {
42 /* 0x00 */ u32 msgType; // sectionType
43 /* 0x04 */ u32 size; // total size of the section
44 /* 0x08 */ str1_entry_t entries[0];
46
48public:
49 /* 80238C94 */ dMsgUnit_c();
50 /* 80238CEC */ void setTag(int, int, char*, bool);
51
52 /* 80238CA4 */ virtual ~dMsgUnit_c();
53};
54
56
57inline void dMsgUnit_setTag(int param_0, int param_1, char* param_2) {
59}
60
61#endif /* D_MSG_D_MSG_UNIT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_msg_unit.h:47
void setTag(int, int, char *, bool)
Definition d_msg_unit.cpp:76
virtual ~dMsgUnit_c()
Definition d_msg_unit.cpp:41
dMsgUnit_c()
Definition d_msg_unit.cpp:38
void dMsgUnit_setTag(int param_0, int param_1, char *param_2)
Definition d_msg_unit.h:57
dMsgUnit_c g_msg_unit
Definition d_msg_unit.cpp:159
Definition d_msg_unit.h:13
u32 size
Definition d_msg_unit.h:15
u32 n_sections
Definition d_msg_unit.h:16
char magic[8]
Definition d_msg_unit.h:14
bmg_section_t section[0]
Definition d_msg_unit.h:19
u32 encoding
Definition d_msg_unit.h:17
Definition d_msg_unit.h:7
u32 size
Definition d_msg_unit.h:9
u32 msgType
Definition d_msg_unit.h:8
u8 data[0]
Definition d_msg_unit.h:10
Definition d_msg_unit.h:22
u16 endFrame
Definition d_msg_unit.h:25
u16 startFrame
Definition d_msg_unit.h:24
u32 dat1EntryOffset
Definition d_msg_unit.h:23
Definition d_msg_unit.h:28
u16 msgArchiveId
Definition d_msg_unit.h:33
u32 msgType
Definition d_msg_unit.h:29
inf1_entry_t entries[0]
Definition d_msg_unit.h:34
u32 size
Definition d_msg_unit.h:30
u16 entryLength
Definition d_msg_unit.h:32
u16 entryCount
Definition d_msg_unit.h:31
Definition d_msg_unit.h:37
char str[0]
Definition d_msg_unit.h:38
Definition d_msg_unit.h:41
u32 size
Definition d_msg_unit.h:43
str1_entry_t entries[0]
Definition d_msg_unit.h:44
u32 msgType
Definition d_msg_unit.h:42
Definition d_a_obj_lv4CandleTag.h:8
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8