summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2022-12-30 16:03:16 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2022-12-30 16:43:48 -0800
commitb45b95c3bea399defb428da0ab9bc63d51fa8df8 (patch)
treeb44692e07be30c82c3fc97c8792f42f24a36237d /include
parent0ff72d731be2c03d9626289dc679299b2496fa0d (diff)
msg documentation
Diffstat (limited to 'include')
-rw-r--r--include/d/msg/d_msg_class.h16
-rw-r--r--include/f_op/f_op_msg_mng.h7
2 files changed, 12 insertions, 11 deletions
diff --git a/include/d/msg/d_msg_class.h b/include/d/msg/d_msg_class.h
index 60e36b8758..ffcac0294a 100644
--- a/include/d/msg/d_msg_class.h
+++ b/include/d/msg/d_msg_class.h
@@ -7,16 +7,16 @@
class msg_class : public leafdraw_class {
public:
- /* 0xC0 */ int field_0xc0;
- /* 0xC4 */ create_tag_class field_0xc4;
- /* 0xD8 */ leafdraw_method_class* field_0xd8;
- /* 0xDC */ fopAc_ac_c* field_0xdc;
- /* 0xE0 */ cXyz field_0xe0;
- /* 0xEC */ u32 field_0xec;
+ /* 0xC0 */ int mMsgType;
+ /* 0xC4 */ create_tag_class mDwTg;
+ /* 0xD8 */ leafdraw_method_class* mSubMtd;
+ /* 0xDC */ fopAc_ac_c* mpActor;
+ /* 0xE0 */ cXyz mPos;
+ /* 0xEC */ u32 mMsgID;
/* 0xF0 */ u32 field_0xf0;
/* 0xF4 */ u32 field_0xf4;
- /* 0xF8 */ u16 field_0xf8;
- /* 0xFA */ u8 field_0xfa;
+ /* 0xF8 */ u16 mMode;
+ /* 0xFA */ u8 mSelectedChoiceIdx;
/* 0xFC */ int field_0xfc;
}; // Size: 0x100
diff --git a/include/f_op/f_op_msg_mng.h b/include/f_op/f_op_msg_mng.h
index 7cafe41427..7a9299d7bb 100644
--- a/include/f_op/f_op_msg_mng.h
+++ b/include/f_op/f_op_msg_mng.h
@@ -6,9 +6,9 @@
#include "f_op/f_op_actor.h"
struct fopMsg_prm_class {
- /* 0x00 */ fopAc_ac_c* field_0x0;
- /* 0x04 */ cXyz field_0x4;
- /* 0x10 */ u32 field_0x10;
+ /* 0x00 */ fopAc_ac_c* mpActor;
+ /* 0x04 */ cXyz mPos;
+ /* 0x10 */ u32 mMsgID;
/* 0x14 */ u32 field_0x14;
/* 0x18 */ int field_0x18;
}; // Size: 0x1C
@@ -33,6 +33,7 @@ typedef int (*fopMsgCreateFunc)(void*);
JKRExpHeap* fopMsgM_createExpHeap(u32, JKRHeap*);
u32 fopMsgM_Create(s16, fopMsgCreateFunc, void*);
+fopMsg_prm_class* fopMsgM_GetAppend(void* msg);
void fopMsgM_setMessageID(unsigned int);
void fopMsgM_destroyExpHeap(JKRExpHeap*);
s32 fopMsgM_setStageLayer(void*);