mirror of https://github.com/zeldaret/tp.git
73 lines
1.7 KiB
C++
73 lines
1.7 KiB
C++
#ifndef D_A_OBJ_ZRTURARA_H
|
|
#define D_A_OBJ_ZRTURARA_H
|
|
|
|
#include "m_Do/m_Do_hostIO.h"
|
|
#include "f_op/f_op_actor_mng.h"
|
|
#include "d/d_cc_d.h"
|
|
#include "d/d_bg_s_movebg_actor.h"
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daZrTurara_c
|
|
* @brief Zora Drop
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daZrTurara_c : public dBgS_MoveBgActor {
|
|
public:
|
|
void setBaseMtx();
|
|
int CreateHeap();
|
|
cPhs__Step create();
|
|
int Execute(Mtx**);
|
|
void move();
|
|
void modeWait();
|
|
void init_modeBreak();
|
|
void modeBreak();
|
|
void init_modeEnd();
|
|
void modeEnd();
|
|
int Draw();
|
|
int Delete();
|
|
|
|
private:
|
|
/* 0x5A0 */ dCcD_Stts mCcStatus;
|
|
/* 0x5DC */ dCcD_Cyl mCcCyl;
|
|
/* 0x718 */ request_of_phase_process_class mPhaseReq;
|
|
/* 0x720 */ J3DModel* mpBaseModel;
|
|
/* 0x724 */ J3DModel* mpRockModel;
|
|
/* 0x728 */ u8 mMode;
|
|
/* 0x729 */ u8 mSw2;
|
|
/* 0x72A */ u8 mDrawRock;
|
|
/* 0x72B */ u8 mBreakTimer;
|
|
/* 0x72C */ dBgW* mpRockBgW;
|
|
/* 0x730 */ Mtx mRockBgMtx;
|
|
/* 0x760 */ f32 mScaleF;
|
|
/* 0x764 */ u32 mParticleKey;
|
|
/* 0x768 */ u8 mDebrisCount;
|
|
|
|
public:
|
|
int getSwBit1() { return fopAcM_GetParamBit(this, 0, 8); }
|
|
int getSwBit2() { return fopAcM_GetParamBit(this, 8, 8); }
|
|
int getScale() { return fopAcM_GetParamBit(this, 0x10, 8); }
|
|
|
|
static dCcD_SrcGObjInf const mCcDObjInfo;
|
|
static dCcD_SrcCyl mCcDCyl;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daZrTurara_c) == 0x76C);
|
|
|
|
class daZrTurara_HIO_c : public mDoHIO_entry_c {
|
|
public:
|
|
daZrTurara_HIO_c();
|
|
~daZrTurara_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
/* 0x4 */ f32 mDebrisRange;
|
|
/* 0x8 */ u8 mDebrisNum;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daZrTurara_HIO_c) == 0xC);
|
|
|
|
#endif /* D_A_OBJ_ZRTURARA_H */
|