2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_A_OBJ_WIND_STONE_H
|
|
|
|
|
#define D_A_OBJ_WIND_STONE_H
|
|
|
|
|
|
2024-10-10 07:29:58 -07:00
|
|
|
#include "d/d_bg_w.h"
|
2023-11-27 03:14:06 -08:00
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
/**
|
|
|
|
|
* @ingroup actors-objects
|
|
|
|
|
* @class daWindStone_c
|
|
|
|
|
* @brief Howling Stone (Hole)
|
|
|
|
|
*
|
|
|
|
|
* @details
|
|
|
|
|
*
|
|
|
|
|
*/
|
2024-02-08 13:35:24 +01:00
|
|
|
class daWindStone_c : public fopAc_ac_c, public request_of_phase_process_class {
|
2023-11-27 03:14:06 -08:00
|
|
|
public:
|
|
|
|
|
/* 80D37A18 */ daWindStone_c();
|
2024-02-08 13:35:24 +01:00
|
|
|
/* 80D37A68 */ virtual ~daWindStone_c();
|
|
|
|
|
/* 80D37AF4 */ int createHeap();
|
|
|
|
|
/* 80D37C20 */ int create();
|
|
|
|
|
/* 80D37F0C */ int execute();
|
|
|
|
|
/* 80D37F6C */ int draw();
|
|
|
|
|
/* 80D3806C */ int Delete();
|
2023-11-27 03:14:06 -08:00
|
|
|
/* 80D3811C */ void setModelMtx();
|
|
|
|
|
/* 80D38180 */ void init();
|
2024-02-08 13:35:24 +01:00
|
|
|
/* 80D381EC */ bool chkWlfInRange();
|
|
|
|
|
/* 80D38278 */ bool chkEveOccur();
|
2023-11-27 03:14:06 -08:00
|
|
|
/* 80D382C4 */ void exeModeHowl();
|
|
|
|
|
/* 80D3835C */ void exeModeMapDisp();
|
2024-02-08 13:35:24 +01:00
|
|
|
/* 80D383FC */ bool chkMapDispMode();
|
|
|
|
|
/* 80D384C4 */ u8 getGoldWolfIdx();
|
2023-11-27 03:14:06 -08:00
|
|
|
|
|
|
|
|
s8 getTuneId() { return fopAcM_GetParamBit(this, 4, 4); }
|
|
|
|
|
int getNextSceneId() { return fopAcM_GetParamBit(this, 0, 4); }
|
2024-03-04 17:33:13 -08:00
|
|
|
u32 getSwBit1() { return home.angle.x & 0xff; }
|
2024-02-08 13:35:24 +01:00
|
|
|
u32 getSwBit2() { return fopAcM_GetParamBit(this, 8, 8); }
|
|
|
|
|
u32 getDelEveFlgId() { return fopAcM_GetParamBit(this, 0x10, 0x10); }
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
private:
|
2024-02-08 13:35:24 +01:00
|
|
|
/* 0x574 */ cBgS_PolyInfo mPolyInfo;
|
|
|
|
|
/* 0x584 */ J3DModel* mpModel;
|
|
|
|
|
/* 0x588 */ dBgW* mpBgW;
|
|
|
|
|
/* 0x58C */ Mtx field_0x58c;
|
|
|
|
|
/* 0x5BC */ f32 field_0x5bc;
|
|
|
|
|
/* 0x5C0 */ u32 field_0x5c0;
|
|
|
|
|
/* 0x5C4 */ u8 field_0x5c4;
|
2023-11-27 03:14:06 -08:00
|
|
|
};
|
2024-06-10 01:34:52 -06:00
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
STATIC_ASSERT(sizeof(daWindStone_c) == 0x5C8);
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* D_A_OBJ_WIND_STONE_H */
|