Files
tp/include/d/actor/d_a_obj_hakai_brl.h
T

48 lines
1.1 KiB
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_A_OBJ_HAKAI_BRL_H
#define D_A_OBJ_HAKAI_BRL_H
2025-06-27 16:13:48 -04:00
#include "d/d_cc_d.h"
2024-05-29 01:49:10 -06:00
#include "f_op/f_op_actor_mng.h"
/**
* @ingroup actors-objects
* @class daObjHBarrel_c
* @brief Destructable Barrel
*
* @details
*
*/
2025-06-27 16:13:48 -04:00
class daObjHBarrel_c : public fopAc_ac_c, public request_of_phase_process_class {
2024-05-29 01:49:10 -06:00
public:
/* 80C16758 */ daObjHBarrel_c();
2025-06-27 16:13:48 -04:00
/* 80C16918 */ virtual ~daObjHBarrel_c();
/* 80C16A98 */ int createHeap();
/* 80C16B08 */ int create();
/* 80C16BF8 */ int Delete();
/* 80C16C44 */ int draw();
/* 80C16CA8 */ int execute();
2024-05-29 01:49:10 -06:00
/* 80C16D50 */ void init();
/* 80C16DEC */ void setModelMtx();
/* 80C16E50 */ void hitAction();
2025-06-27 16:13:48 -04:00
u8 getItemBit() {
return fopAcM_GetParamBit(this, 8, 8);
}
u8 getItemNo() {
return fopAcM_GetParamBit(this, 0, 8);
}
2024-05-29 01:49:10 -06:00
/* 80C17090 */ void callEmt();
2025-06-27 16:13:48 -04:00
static dCcD_SrcCyl const s_CcDCyl;
2024-05-29 01:49:10 -06:00
private:
2025-06-27 16:13:48 -04:00
/* 0x574 */ J3DModel* mpModel;
/* 0x578 */ dCcD_Stts mStts;
/* 0x5B4 */ dCcD_Cyl mCyl;
/* 0x6F0 */ Z2SoundObjSimple mSound;
2024-05-29 01:49:10 -06:00
};
2024-06-10 01:34:52 -06:00
2024-05-29 01:49:10 -06:00
STATIC_ASSERT(sizeof(daObjHBarrel_c) == 0x710);
2021-03-28 22:49:05 +02:00
#endif /* D_A_OBJ_HAKAI_BRL_H */