mirror of https://github.com/zeldaret/tp
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
#ifndef F_OP_F_OP_MSG_H
|
|
#define F_OP_F_OP_MSG_H
|
|
|
|
#include "SSystem/SComponent/c_xyz.h"
|
|
#include "f_pc/f_pc_leaf.h"
|
|
|
|
enum fopMsg_Mode_e {
|
|
fopMsg_MODE_MSG_PREPARING_e = 0x01,
|
|
fopMsg_MODE_BOX_OPENING_e = 0x02,
|
|
fopMsg_MODE_MSG_TYPING_e = 0x06,
|
|
fopMsg_MODE_UNK_A_e = 0x0A,
|
|
fopMsg_MODE_UNK_B_e = 0x0B,
|
|
fopMsg_MODE_UNK_D_e = 0x0D,
|
|
fopMsg_MODE_MSG_DISPLAYED_e = 0x0E,
|
|
fopMsg_MODE_MSG_CONTINUE_e = 0x0F,
|
|
fopMsg_MODE_MSG_END_e = 0x10,
|
|
fopMsg_MODE_BOX_CLOSING_e = 0x11,
|
|
fopMsg_MODE_BOX_CLOSED_e = 0x12,
|
|
fopMsg_MODE_MSG_DESTROYED_e = 0x13,
|
|
fopMsg_MODE_UNK15_e = 0x15,
|
|
};
|
|
|
|
class fopAc_ac_c;
|
|
|
|
struct msg_class {
|
|
/* 0x00 */ leafdraw_class base;
|
|
/* 0xC0 */ int type;
|
|
/* 0xC4 */ create_tag_class draw_tag;
|
|
/* 0xD8 */ leafdraw_method_class* sub_method;
|
|
/* 0xDC */ fopAc_ac_c* talk_actor;
|
|
/* 0xE0 */ cXyz pos;
|
|
/* 0xEC */ u32 msg_idx;
|
|
/* 0xF0 */ u32 field_0xf0;
|
|
/* 0xF4 */ u32 field_0xf4;
|
|
/* 0xF8 */ u16 mode;
|
|
/* 0xFA */ u8 select_idx;
|
|
}; // Size: 0xFC
|
|
|
|
extern leafdraw_method_class g_fopMsg_Method;
|
|
|
|
namespace fopMsg {
|
|
extern u8 MemCheck;
|
|
}
|
|
|
|
#endif /* F_OP_F_OP_MSG_H */
|