Skip to content

Commit 55f2b09

Browse files
authored
d_a_obj_maki matching (#2370)
* Matching daObj_Maki_HIO_c::daObj_Maki_HIO_c() Matched daObj_Maki_HIO_c::daObj_Maki_HIO_c() and started work on daObj_Maki_HIO_c::~daObj_Maki_HIO_c() * more work on d_a_obj_maki More structures defined, work on all methods, some equivalent, just missing registers * d_a_obj_maki Matching Final work on maki to get it to Match 100%. * d_a_obj_maki matching d_a_obj_maki matching | * cleanup for PR
1 parent e55c504 commit 55f2b09

File tree

3 files changed

+260
-327
lines changed

3 files changed

+260
-327
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ def MatchingFor(*versions):
20052005
ActorRel(NonMatching, "d_a_obj_lv9SwShutter"),
20062006
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_magLift"),
20072007
ActorRel(NonMatching, "d_a_obj_magLiftRot"),
2008-
ActorRel(NonMatching, "d_a_obj_maki"),
2008+
ActorRel(MatchingFor("GZ2E01"), "d_a_obj_maki"),
20092009
ActorRel(NonMatching, "d_a_obj_master_sword"),
20102010
ActorRel(NonMatching, "d_a_obj_mato"),
20112011
ActorRel(NonMatching, "d_a_obj_mhole"),

include/d/actor/d_a_obj_maki.h

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#ifndef D_A_OBJ_MAKI_H
22
#define D_A_OBJ_MAKI_H
33

4-
#include "f_op/f_op_actor_mng.h"
4+
#include "JSystem/J3DGraphAnimator/J3DModel.h"
5+
#include "SSystem/SComponent/c_phase.h"
6+
#include "d/d_cc_d.h"
7+
#include "d/d_kankyo.h"
8+
#include "d/d_particle.h"
9+
#include "f_op/f_op_actor.h"
510

611
/**
712
* @ingroup actors-objects
@@ -12,16 +17,31 @@
1217
*
1318
*/
1419
class obj_maki_class : public fopAc_ac_c {
15-
private:
16-
/* 0x568 */ u8 field_0x568[0x730 - 0x568];
20+
public:
21+
/* 0x568 */ request_of_phase_process_class mPhase;
22+
/* 0x570 */ J3DModel* mModel1;
23+
/* 0x574 */ mDoExt_brkAnm* mBrk;
24+
/* 0x578 */ J3DModel* mModel2;
25+
/* 0x57c */ u8 field_0x57c;
26+
/* 0x57d */ u8 field_0x57d; // Undefined
27+
/* 0x57e */ s16 field_0x57e;
28+
/* 0x580 */ s16 field_0x580[2];
29+
/* 0x584*/ dCcD_Stts mStts;
30+
/* 0x5c0 */ dCcD_Sph mSph;
31+
/* 0x6f8 */ u32 field_0x6f8[4];
32+
/* 0x6fc */ u8 field_0x6fc[0x70c - 0x708]; // Undefined
33+
/* 0x70c */ LIGHT_INFLUENCE mLightObj;
34+
/* 0x72c */ u8 field_0x72c;
35+
/* 0x72d */ u8 field_0x72d[0x730 - 0x72d]; //Undefined
1736
};
1837

1938
STATIC_ASSERT(sizeof(obj_maki_class) == 0x730);
20-
2139
class daObj_Maki_HIO_c {
2240
public:
2341
/* 80C8FE0C */ daObj_Maki_HIO_c();
24-
/* 80C9089C */ ~daObj_Maki_HIO_c();
42+
/* 80C9089C */ virtual ~daObj_Maki_HIO_c() {};
43+
44+
/* 0x04 */ s8 field_0x4;
2545
};
2646

2747

0 commit comments

Comments
 (0)