mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
9075155201
Co-authored-by: < >
52 lines
1.7 KiB
C++
52 lines
1.7 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"
|
|
|
|
class fopAc_ac_c;
|
|
|
|
enum fopMsg_MessageStatus_e {
|
|
fopMsgStts_MSG_PREPARING_e = 0x01,
|
|
fopMsgStts_BOX_OPENING_e = 0x02,
|
|
fopMsgStts_MSG_TYPING_e = 0x06,
|
|
fopMsgStts_STOP_e = 0x07,
|
|
fopMsgStts_SELECT_2_e = 0x08, // Selection box with 2 choices
|
|
fopMsgStts_SELECT_3_e = 0x09, // Selection box with 3 choices
|
|
fopMsgStts_CLOSE_WAIT_e = 0x0A, // Waiting for player input before closing the text box
|
|
fopMsgStts_UNKB_e = 0x0B,
|
|
fopMsgStts_UNKD_e = 0x0D,
|
|
fopMsgStts_MSG_DISPLAYED_e = 0x0E,
|
|
fopMsgStts_MSG_CONTINUES_e = 0x0F,
|
|
fopMsgStts_MSG_ENDS_e = 0x10,
|
|
fopMsgStts_BOX_CLOSING_e = 0x11,
|
|
fopMsgStts_BOX_CLOSED_e = 0x12,
|
|
fopMsgStts_MSG_DESTROYED_e = 0x13,
|
|
fopMsgStts_SELECT_YOKO_e = 0x14, // Selection box with 2 choices (arranged horizontally)?
|
|
fopMsgStts_INPUT_e = 0x15, // Wind Waker song tutorial (practicing)/numbers input (auction)
|
|
fopMsgStts_TACT_e = 0x16, // Close text box after playing Wind Waker song
|
|
fopMsgStts_DEMO_e = 0x17, // Wind Waker song tutorial (demonstration)
|
|
};
|
|
|
|
struct msg_method_class {
|
|
/* 0x00 */ leafdraw_method_class base;
|
|
};
|
|
|
|
struct msg_class {
|
|
/* 0x00 */ leafdraw_class base;
|
|
/* 0xC0 */ int mMsgType;
|
|
/* 0xC4 */ create_tag_class draw_tag;
|
|
/* 0xD8 */ msg_method_class* sub_method;
|
|
/* 0xDC */ fopAc_ac_c* mpActor;
|
|
/* 0xE0 */ cXyz mPos;
|
|
/* 0xEC */ u32 mMsgNo;
|
|
/* 0xF0 */ u32 field_0xf0;
|
|
/* 0xF4 */ u32 field_0xf4;
|
|
/* 0xF8 */ u16 mStatus;
|
|
/* 0xFA */ u8 mSelectNum; // The index of the choice the player selected.
|
|
}; // Size: 0xFC
|
|
|
|
extern leafdraw_method_class g_fopMsg_Method;
|
|
|
|
#endif /* F_OP_F_OP_MSG_H */
|