summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-08-05 04:37:09 -0400
committerGitHub <noreply@github.com>2025-08-05 11:37:09 +0300
commitd629cc383bb89b1558154efdcb89192b7bd826c9 (patch)
tree84b1ef24e1e4d1bf7cb52dd291eeef3440d64b94 /include
parente49ed1213d9b3de6b9f9ada9e347fc346d9737c5 (diff)
d_a_e_bg matching (#2567)
Diffstat (limited to 'include')
-rw-r--r--include/d/actor/d_a_e_bg.h45
1 files changed, 21 insertions, 24 deletions
diff --git a/include/d/actor/d_a_e_bg.h b/include/d/actor/d_a_e_bg.h
index fb66dd632c..5aeb2d1ffe 100644
--- a/include/d/actor/d_a_e_bg.h
+++ b/include/d/actor/d_a_e_bg.h
@@ -17,19 +17,19 @@
*/
class daE_BG_c : public fopEn_enemy_c {
public:
- /* 8068585C */ void ctrlJoint(J3DJoint*, J3DModel*);
- /* 80685948 */ void JointCallBack(J3DJoint*, int);
- /* 80685994 */ void draw();
+ /* 8068585C */ int ctrlJoint(J3DJoint*, J3DModel*);
+ /* 80685948 */ static int JointCallBack(J3DJoint*, int);
+ /* 80685994 */ int draw();
/* 80685B70 */ void setBck(int, u8, f32, f32);
/* 80685C14 */ void setActionMode(int, int);
/* 80685C2C */ void damage_check();
/* 80685DBC */ void setSparkEffect();
- /* 80685F04 */ void search_esa();
+ /* 80685F04 */ fopAc_ac_c* search_esa();
/* 80685F88 */ void executeBorn();
/* 80686210 */ void executeSwim();
/* 80686C90 */ void executeAttack();
/* 80687B38 */ void executeDamage();
- /* 80687CD8 */ void setBombCarry(int);
+ /* 80687CD8 */ bool setBombCarry(int);
/* 80687DEC */ void executeBomb();
/* 80687FC4 */ void executeBirth();
/* 8068838C */ void executeHook();
@@ -37,10 +37,10 @@ public:
/* 80689168 */ void action();
/* 80689544 */ void mtx_set();
/* 8068966C */ void cc_set();
- /* 806897EC */ void execute();
- /* 80689978 */ void _delete();
- /* 80689A0C */ void CreateHeap();
- /* 80689C38 */ void create();
+ /* 806897EC */ int execute();
+ /* 80689978 */ int _delete();
+ /* 80689A0C */ int CreateHeap();
+ /* 80689C38 */ int create();
void setBgId(u32 i_bgId) { mBgId = i_bgId; }
bool isBomb() { return mIsBomb; }
@@ -55,7 +55,7 @@ private:
/* 0x670 */ s32 mActionMode;
/* 0x674 */ s32 mMoveMode;
/* 0x678 */ u32 mShadowKey;
- /* 0x67C */ u8 field_0x67C[0x684 - 0x67C];
+ /* 0x67C */ u8 field_0x67c[0x684 - 0x67C];
/* 0x684 */ f32 field_0x684;
/* 0x688 */ f32 field_0x688;
/* 0x68C */ u8 field_0x68c;
@@ -70,24 +70,21 @@ private:
/* 0x69E */ s16 field_0x69e;
/* 0x6A0 */ s16 field_0x6a0;
/* 0x6A2 */ s16 field_0x6a2;
- /* 0x6A4 */ s16 field_0x6a4;
- /* 0x6A6 */ s16 field_0x6a6;
- /* 0x6A8 */ s16 field_0x6a8;
+ /* 0x6A4 */ s16 field_0x6a4[3];
/* 0x6AA */ s16 field_0x6aa;
/* 0x6AC */ s16 field_0x6ac;
/* 0x6AE */ u8 field_0x6ae;
/* 0x6AF */ u8 field_0x6af;
/* 0x6B0 */ u8 field_0x6b0;
/* 0x6B1 */ bool mIsBomb;
- /* 0x6B2 */ u8 field_0x6B2[0x6B4 - 0x6B2];
+ /* 0x6B2 */ u8 field_0x6b2[0x6B4 - 0x6B2];
/* 0x6B4 */ dBgS_AcchCir mAcchCir;
/* 0x6F4 */ dBgS_ObjAcch mObjAcch;
/* 0x8CC */ dCcD_Stts mStts;
/* 0x908 */ dCcD_Sph mSphere;
/* 0xA40 */ dCcD_Sph mAtSphere;
/* 0xB78 */ dCcU_AtInfo mAtInfo;
- /* 0xB9C */ u32 mParticle;
- /* 0xBA0 */ u8 field_0xBA0[0xBB0 - 0xBA0];
+ /* 0xB9C */ u32 mParticle[5];
/* 0xBB0 */ u32 mParticle2;
/* 0xBB4 */ u32 mParticle3;
/* 0xBB8 */ u8 mHIOInit;
@@ -98,18 +95,18 @@ STATIC_ASSERT(sizeof(daE_BG_c) == 0xbbc);
class daE_BG_HIO_c : public JORReflexible {
public:
/* 8068580C */ daE_BG_HIO_c();
- /* 8068A19C */ virtual ~daE_BG_HIO_c();
+ /* 8068A19C */ virtual ~daE_BG_HIO_c() {}
void genMessage(JORMContext*);
/* 0x04 */ s8 field_0x4;
- /* 0x08 */ f32 tracking_speed;
- /* 0x0C */ f32 rush_speed;
- /* 0x10 */ f32 waiting_distance_before_charging;
- /* 0x14 */ f32 player_search_distance;
- /* 0x18 */ f32 attack_range;
- /* 0x1C */ f32 swimming_range;
- /* 0x20 */ f32 spring_time;
+ /* 0x08 */ f32 mTrackingSpeed;
+ /* 0x0C */ f32 mRushSpeed;
+ /* 0x10 */ f32 mWaitDistanceBeforeCharging;
+ /* 0x14 */ f32 mPlayerSearchDistance;
+ /* 0x18 */ f32 mAttackRange;
+ /* 0x1C */ f32 mSwimRange;
+ /* 0x20 */ f32 mJumpTime;
};
#endif /* D_A_E_BG_H */