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

58 lines
1.5 KiB
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_A_OBJ_WATERFALL_H
#define D_A_OBJ_WATERFALL_H
#include "SSystem/SComponent/c_phase.h"
#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 daObjWaterFall_c
* @brief Waterfall With Collision Object
2024-05-29 01:49:10 -06:00
*
* @details Waterfalls that player cannot move through (e.g. those in Zora's Domain)
2024-05-29 01:49:10 -06:00
*/
class daObjWaterFall_c : public fopAc_ac_c {
public:
/* 80D2ED14 */ void search_bomb();
/* 80D2F034 */ void search_arrow();
/* 80D2F324 */ void initBaseMtx();
/* 80D2F344 */ void setBaseMtx();
/* 80D2F39C */ cPhs__Step Create();
/* 80D2F5A0 */ cPhs__Step create();
/* 80D2F984 */ int execute();
2024-05-29 01:49:10 -06:00
/* 80D2FA6C */ void push_player();
/* 80D2FC94 */ int draw();
/* 80D2FC9C */ int _delete();
2024-05-29 01:49:10 -06:00
private:
/* 0x568 */ request_of_phase_process_class mPhase;
/* 0x570 */ u8 pad[4];
/* 0x574 */ dCcD_Stts mCylColliderStts;
/* 0x5B0 */ dCcD_Tri mUnusedTriCollider[2];
/* 0x868 */ dCcD_Cyl mCylCollider;
/* 0x9A4 */ cXyz mCylColliderCenterOscillationTargets[2];
/* 0x9BC */ cXyz mCylColliderCenter;
/* 0x9C8 */ s8 mCylColliderCenterQuantizedOscillation;
enum Type_e {
ALLOW_ARROWS_e
};
BOOL checkFallOut() {
return fopAcM_GetParamBit(this, 10, 4);
}
Type_e getType() {
return static_cast<Type_e>(fopAcM_GetParamBit(this, 8, 2));
}
u32 getSwbit() {
return fopAcM_GetParamBit(this, 0, 8);
}
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(daObjWaterFall_c) == 0x9cc);
2021-03-28 22:49:05 +02:00
#endif /* D_A_OBJ_WATERFALL_H */