Clean up HIO for TUs using HIOParam/Param_c/HIO_c pattern (#3043)

This commit is contained in:
Max Roncace
2026-01-13 17:58:15 -05:00
committed by GitHub
parent 235cb9a9ad
commit c0e0bbaaf3
143 changed files with 6215 additions and 4094 deletions
+14 -10
View File
@@ -20,27 +20,31 @@ struct daObj_Mie_HIOParam {
/* 0x28 */ f32 floating_offset;
};
struct daObj_Mie_Param_c {
class daObj_Mie_Param_c {
public:
virtual ~daObj_Mie_Param_c() {}
static const daObj_Mie_HIOParam m;
};
class daObj_Mie_HIO_c
#if DEBUG
: public mDoHIO_entry_c
#endif
class daObj_Mie_HIO_c : public mDoHIO_entry_c
{
public:
daObj_Mie_HIO_c() {
mParams = daObj_Mie_Param_c::m;
}
daObj_Mie_HIO_c();
void listenPropertyEvent(const JORPropertyEvent*);
void genMessage(JORMContext*);
virtual ~daObj_Mie_HIO_c() {}
daObj_Mie_HIOParam mParams;
daObj_Mie_HIOParam m;
};
#define OBJ_MIE_HIO_CLASS daObj_Mie_HIO_c
#else
#define OBJ_MIE_HIO_CLASS daObj_Mie_Param_c
#endif
/**
* @ingroup actors-objects
* @class daObj_Mie_c
@@ -51,7 +55,7 @@ public:
*/
class daObj_Mie_c : public fopAc_ac_c {
private:
/* 0x568 */ daObj_Mie_HIO_c* mHIO;
/* 0x568 */ OBJ_MIE_HIO_CLASS* mpHIO;
/* 0x56C */ request_of_phase_process_class mPhase;
/* 0x574 */ J3DModel* mModel;
/* 0x578 */ dBgS_ObjAcch mAcch;