d_a_mirror done, d_a_ni 99% done (#2095)

* d_a_mirror done

* d_a_ni 99.9% done

* remove asm

* some d_a_ni doc

* progress
This commit is contained in:
TakaRikka
2024-03-14 08:28:01 +02:00
committed by GitHub
parent 42418393d5
commit e4d6e610f6
22 changed files with 3080 additions and 1866 deletions
+16 -12
View File
@@ -3,7 +3,8 @@
#include "f_op/f_op_actor_mng.h"
struct dMirror_packet_c : public J3DPacket {
class dMirror_packet_c : public J3DPacket {
public:
/* 80870BD8 */ dMirror_packet_c();
/* 80870C94 */ void reset();
/* 80870CA0 */ void calcMinMax();
@@ -17,36 +18,39 @@ struct dMirror_packet_c : public J3DPacket {
GXTexObj& getTexObj() { return mTexObj; }
cXyz* getQuad() { return mQuad; }
/* 0x10 */ GXTexObj mTexObj;
/* 0x30 */ u8 mModelCount;
/* 0x31 */ u8 field_0x31[3];
/* 0x34 */ J3DModel* mModels[0x40];
/* 0x010 */ GXTexObj mTexObj;
/* 0x030 */ u8 mModelCount;
/* 0x034 */ J3DModel* mModels[0x40];
/* 0x134 */ cXyz mQuad[4];
/* 0x164 */ cXyz mMinVal;
/* 0x170 */ cXyz mMaxVal;
/* 0x17c */ cXyz mViewScale;
/* 0x17C */ cXyz mViewScale;
};
struct daMirror_c : public fopAc_ac_c {
class daMirror_c : public fopAc_ac_c, public request_of_phase_process_class {
public:
/* 80871E24 */ daMirror_c();
/* 80871F08 */ bool createHeap();
/* 80871F08 */ BOOL createHeap();
/* 80871F78 */ void setModelMtx();
/* 8087206C */ int create();
/* 8087206C */ inline int create();
/* 808723E4 */ int execute();
/* 80872560 */ int entryModel(J3DModel*);
/* 8003194C */ static int entry(J3DModel*);
/* 80031990 */ static int remove();
inline int Delete();
inline int draw();
s32 getType() { return fopAcM_GetParamBit(this, 0, 8); }
s32 getSw() { return fopAcM_GetParamBit(this, 8, 8); }
static u32 getMirrorRoomPrm() { return 0xff03; }
static u32 getMirrorRoomPrm() { return 0xFF03; }
typedef int (daMirror_c::*entryModelFunc)(J3DModel*);
static entryModelFunc m_entryModel;
static daMirror_c* m_myObj;
/* 0x568 */ request_of_phase_process_class mPhase;
/* 0x570 */ dMirror_packet_c mPacket;
/* 0x6f8 */ J3DModel* field_0x6f8;
/* 0x6f8 */ J3DModel* mpModel;
};
+1 -1
View File
@@ -1,6 +1,6 @@
#ifndef D_A_NI_H
#define D_A_NI_H
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
#endif /* D_A_NI_H */