Work on d_a_mirror

This commit is contained in:
Tal Hayon
2023-06-30 19:29:50 +03:00
parent 7150d8e25d
commit bf7e686ef7
35 changed files with 497 additions and 784 deletions
@@ -57,7 +57,6 @@ private:
/* 0xC8 */ cXyz field_0xc8[6];
}; // Size: 0x110
struct daMirror_c;
class daAlink_c;
class daBoomerang_c : public fopAc_ac_c {
+48
View File
@@ -2,5 +2,53 @@
#define D_A_MIRROR_H
#include "dolphin/types.h"
#include "f_op/f_op_actor.h"
#include "f_op/f_op_actor_mng.h"
struct dMirror_packet_c : public J3DPacket {
/* 80870BD8 */ dMirror_packet_c();
/* 80870C94 */ void reset();
/* 80870CA0 */ void calcMinMax();
/* 80870D58 */ int entryModel(J3DModel*);
/* 80870D88 */ void mirrorZdraw(f32*, f32*, f32, f32, f32, f32, f32, f32);
/* 80871268 */ void modelDraw(J3DModel*, f32 (*)[4]);
/* 8087146C */ void mainDraw();
/* 80871D84 */ virtual void draw();
/* 80871E84 */ virtual ~dMirror_packet_c();
cXyz& getViewScale() { return mViewScale; }
GXTexObj& getTexObj() { return mTexObj; }
cXyz* getQuad() { return mQuad; }
/* 0x10 */ GXTexObj mTexObj;
/* 0x30 */ u8 mModelCount;
/* 0x31 */ u8 field_0x31[3];
/* 0x34 */ J3DModel* mModels[0x40];
/* 0x134 */ cXyz mQuad[4];
/* 0x164 */ cXyz mMinVal;
/* 0x170 */ cXyz mMaxVal;
/* 0x17c */ cXyz mViewScale;
};
struct daMirror_c : public fopAc_ac_c {
/* 80871E24 */ daMirror_c();
/* 80871F08 */ bool createHeap();
/* 80871F78 */ void setModelMtx();
/* 8087206C */ int create();
/* 808723E4 */ int execute();
/* 80872560 */ int entryModel(J3DModel*);
/* 8003194C */ static int entry(J3DModel*);
/* 80031990 */ static int remove();
s32 getType() { return fopAcM_GetParamBit(this, 0, 8); }
s32 getSw() { return fopAcM_GetParamBit(this, 8, 8); }
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;
};
#endif /* D_A_MIRROR_H */