mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-23 08:39:56 -04:00
e7e5ea2071
* Started working on d_a_lbridge * Implemented CheckCreateHeap in d_a_lbridge * Added member variables for d_a_lbridge * Implemented daLbridge_c::set_mtx * Implemented daLbridge_c::setMoveBGMtx * Implemented se functions in d_a_lbridge * Implemented daLbridge_c::demo * Implemented daLbridge_c::_create * Refactored daLbridge_c::_create * Added constructor for mDoExt_bpkAnm * daLbridge_c::_draw * daLbridge_c::_execute match * daLbridge_c::CreateInit * daLbridge_c::sw_check match * daLbridge_c::appear_bridge * daLbridge_c::CreateHeap * daLbridge_c::_delete match * daLbridge_c::disappear_bridge match * d_a_lbridge fixes * d_a_lbridge matching * Removed old comments * d_a_lbridge variable renaming * d_a_lbridge PR fixes
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
#ifndef D_A_LBRIDGE_H
|
|
#define D_A_LBRIDGE_H
|
|
|
|
#include "d/d_com_inf_game.h"
|
|
#include "f_op/f_op_actor.h"
|
|
|
|
class daLbridge_c : public fopAc_ac_c {
|
|
public:
|
|
inline BOOL _delete();
|
|
|
|
BOOL CreateHeap();
|
|
void CreateInit();
|
|
s32 _create();
|
|
void set_mtx();
|
|
void setMoveBGMtx();
|
|
BOOL _execute();
|
|
void sw_check();
|
|
void demo();
|
|
void appear_bridge();
|
|
void disappear_bridge();
|
|
void set_on_se();
|
|
void set_off_se();
|
|
BOOL _draw();
|
|
|
|
static const char m_arcname[];
|
|
|
|
public:
|
|
/* 0x290 */ request_of_phase_process_class mPhs;
|
|
/* 0x298 */ J3DModel* mpModel;
|
|
/* 0x29C */ dBgW* mpBgW;
|
|
/* 0x2A0 */ Mtx mMtx;
|
|
/* 0x2D0 */ mDoExt_btkAnm mBtkAnm;
|
|
/* 0x2E4 */ mDoExt_bpkAnm mBpkAnm;
|
|
/* 0x2F8 */ mDoExt_brkAnm mBrkAnm;
|
|
/* 0x310 */ JPABaseEmitter* mpEmitter;
|
|
/* 0x314 */ s32 mSwitchNo;
|
|
/* 0x318 */ s16 mAppearEventIdx;
|
|
/* 0x31A */ s16 mDisappearEventIdx;
|
|
/* 0x31C */ s16 unk31C;
|
|
/* 0x31E */ u8 mTimer;
|
|
/* 0x31F */ u8 mIsSw;
|
|
};
|
|
|
|
namespace daLbridge_prm {
|
|
inline u8 getSwitchNo(daLbridge_c* ac) {
|
|
return (fopAcM_GetParam(ac) >> 0) & 0xFF;
|
|
}
|
|
}; // namespace daLbridge_prm
|
|
|
|
#endif /* D_A_LBRIDGE_H */
|