d_a_obj_majyuu_door 100% Matching (#1138)

* Initial structure

* More progress

* fix index

* _create()

* more progress

* modeProcCall

* fix smoke_set

* Matching

* add demo support, remove current.roomNo

* cleanup
This commit is contained in:
Teddy Heidmann
2026-07-30 14:11:54 -07:00
committed by GitHub
parent be8da688fc
commit 32cd6f7080
3 changed files with 229 additions and 30 deletions
+35 -7
View File
@@ -2,13 +2,23 @@
#define D_A_OBJ_MAJYUU_DOOR_H
#include "f_op/f_op_actor.h"
#include "d/d_bg_w.h"
#include "d/d_cc_d.h"
#include "d/d_particle.h"
#include "m_Do/m_Do_hostIO.h"
class daObj_MjDoor_c : public fopAc_ac_c {
public:
void modeProcCall() {}
enum Mode {
MODE_WAIT = 0x0,
MODE_DELETE = 0x1,
};
daObj_MjDoor_c() : mSmoke(smoke_col, &tevStr, 0) {}
void modeProcCall();
void set_mtx();
void _createHeap();
BOOL _createHeap();
void getArg();
void CreateInit();
cPhs_State _create();
@@ -22,16 +32,34 @@ public:
bool _execute();
bool _draw();
public:
/* Place member variables here */
};
static GXColor smoke_col;
static const s32 m_heapsize;
static const char m_arc_name[];
class daObj_MjDoorHIO_c {
public:
/* 0x290 */ int mMode;
/* 0x294 */ cXyz mPos;
/* 0x2A0 */ csXyz mAngle;
/* 0x2A8 */ dPa_smokeEcallBack mSmoke;
/* 0x2C8 */ int mSmokeTimer;
/* 0x2CC */ u8 field_0x2CC;
/* 0x2D0 */ J3DModel* mpModel;
/* 0x2D4 */ request_of_phase_process_class mPhs;
/* 0x2DC */ dBgW* mpBgW;
/* 0x2E0 */ Mtx mMtx;
/* 0x310 */ int mDeleteTimer;
/* 0x314 */ dCcD_Stts mStts;
/* 0x350 */ dCcD_Cyl mCyl[10];
}; // Size: 0xF30
STATIC_ASSERT(sizeof(daObj_MjDoor_c) == 0xF30);
class daObj_MjDoorHIO_c : public mDoHIO_entry_c {
public:
daObj_MjDoorHIO_c();
public:
/* Place member variables here */
/* 0x4 */ u8 field_0x4;
};
#endif /* D_A_OBJ_MAJYUU_DOOR_H */