Files
dusklight/include/d/actor/d_a_obj_waterfall.h
T
TakaRikka c9e2a73dda general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug (#3065)
* typedef for cPhs_Step

* make sdk includes consistent

* d_menu_quit / d_msg_scrn_explain debug

* d_a_obj_testcube mostly done

* d_debug_pad mostly done

* jstudio tool library headers

* some JStudioCameraEditor headers

* d_jcam_editor mostly done

* try fixing some shield regressions

* d_bg_parts mostly done

* fix merge errors

* debug fix
2026-01-24 23:36:23 -08:00

58 lines
1.4 KiB
C++

#ifndef D_A_OBJ_WATERFALL_H
#define D_A_OBJ_WATERFALL_H
#include "SSystem/SComponent/c_phase.h"
#include "d/d_cc_d.h"
#include "f_op/f_op_actor_mng.h"
/**
* @ingroup actors-objects
* @class daObjWaterFall_c
* @brief Waterfall With Collision Object
*
* @details Waterfalls that player cannot move through (e.g. those in Zora's Domain)
*/
class daObjWaterFall_c : public fopAc_ac_c {
public:
void search_bomb();
void search_arrow();
void initBaseMtx();
void setBaseMtx();
cPhs_Step Create();
cPhs_Step create();
int execute();
void push_player();
int draw();
int _delete();
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);
}
};
STATIC_ASSERT(sizeof(daObjWaterFall_c) == 0x9cc);
#endif /* D_A_OBJ_WATERFALL_H */