summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-06-03 07:13:17 +0300
committerGitHub <noreply@github.com>2025-06-02 21:13:17 -0700
commit5272152efafaa270b7ca093936ae0eb345d53275 (patch)
treef66e0fbd8589bf303ae2330e54000108cc0765ae /include
parent588b20679dd6f23b52084e888c199d5b3ec85a0e (diff)
d_a_obj_sakuita Matching (#2472)
Diffstat (limited to 'include')
-rw-r--r--include/d/actor/d_a_obj_sakuita.h38
1 files changed, 36 insertions, 2 deletions
diff --git a/include/d/actor/d_a_obj_sakuita.h b/include/d/actor/d_a_obj_sakuita.h
index 2b1913de3e..6ae3b7de9c 100644
--- a/include/d/actor/d_a_obj_sakuita.h
+++ b/include/d/actor/d_a_obj_sakuita.h
@@ -1,8 +1,24 @@
#ifndef D_A_OBJ_SAKUITA_H
#define D_A_OBJ_SAKUITA_H
+#include "d/d_cc_d.h"
#include "f_op/f_op_actor_mng.h"
+struct daObjSakuita_Attr_c {
+ /* 0x00 */ f32 mGravity;
+ /* 0x04 */ f32 mCylR;
+ /* 0x08 */ f32 mCylH;
+ /* 0x0C */ f32 mOffset;
+ /* 0x10 */ f32 mWindRate;
+ /* 0x14 */ f32 mSpeedRate;
+ /* 0x18 */ f32 mHangingPosition;
+ /* 0x1C */ f32 mWindShake;
+ /* 0x20 */ f32 mYVibration;
+ /* 0x24 */ f32 mYConvergence;
+ /* 0x28 */ s16 mYPeriod;
+ /* 0x2C */ u8 mBoardWeight;
+};
+
/**
* @ingroup actors-objects
* @class daObjSakuita_c
@@ -20,10 +36,28 @@ public:
/* 80CC4A98 */ void calcAngle();
/* 80CC4C9C */ ~daObjSakuita_c();
- static u8 const M_attr[44];
+ inline int createHeap();
+ inline int draw();
+ inline int execute();
+ inline int create();
+
+ const daObjSakuita_Attr_c& attr() const { return M_attr; }
+
+ static daObjSakuita_Attr_c const M_attr;
private:
- /* 0x568 */ u8 field_0x568[0x750 - 0x568];
+ /* 0x568 */ J3DModel* mModel;
+ /* 0x56C */ request_of_phase_process_class mPhase;
+ /* 0x574 */ Mtx mMtx;
+ /* 0x5A4 */ dCcD_Stts mStts;
+ /* 0x5A4 */ dCcD_Cyl mCyl;
+ /* 0x71C */ cXyz field_0x71c;
+ /* 0x728 */ cXyz field_0x728;
+ /* 0x734 */ cXyz field_0x734;
+ /* 0x740 */ f32 field_0x740;
+ /* 0x744 */ csXyz field_0x744;
+ /* 0x74A */ s16 field_0x74a;
+ /* 0x74C */ u8 field_0x74c;
};
STATIC_ASSERT(sizeof(daObjSakuita_c) == 0x750);