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:
|
2025-11-30 14:23:42 -08:00
|
|
|
daWindStone_c();
|
|
|
|
|
virtual ~daWindStone_c();
|
|
|
|
|
int createHeap();
|
|
|
|
|
int create();
|
|
|
|
|
int execute();
|
|
|
|
|
int draw();
|
|
|
|
|
int Delete();
|
|
|
|
|
void setModelMtx();
|
|
|
|
|
void init();
|
|
|
|
|
bool chkWlfInRange();
|
|
|
|
|
bool chkEveOccur();
|
|
|
|
|
void exeModeHowl();
|
|
|
|
|
void exeModeMapDisp();
|
|
|
|
|
bool chkMapDispMode();
|
|
|
|
|
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 */
|