mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-05 17:43:23 -04:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user