d_a_obj_bkdoor OK (#2082)

* bkdoor decomp OK

* Cleanup and document pass

* Updating progress after merge conflict

---------

Co-authored-by: GinNoOokami <noreply>
This commit is contained in:
Jeff Padgham
2024-03-01 22:25:27 -08:00
committed by GitHub
parent 218f15ab6d
commit 9b87f613c8
17 changed files with 212 additions and 900 deletions
@@ -1,6 +1,35 @@
#ifndef D_A_OBJ_BKDOOR_H
#define D_A_OBJ_BKDOOR_H
#include "d/bg/d_bg_s_movebg_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "dolphin/types.h"
class J3DModel;
class daObjBkDoor_c : public dBgS_MoveBgActor {
public:
/* 80578D4C */ void initBaseMtx();
/* 80578D88 */ void setBaseMtx();
/* 80578E14 */ virtual int Create();
/* 80578EA0 */ virtual int CreateHeap();
/* 80578F20 */ int create1st();
/* 80578FC0 */ void openCheck();
/* 8057902C */ virtual int Execute(Mtx**);
/* 805792E4 */ virtual int Draw();
/* 80579388 */ virtual int Delete();
private:
/* 0x5A0 */ request_of_phase_process_class mPhaseReq;
/* 0x5A8 */ J3DModel* mpModel;
/* 0x5AC */ csXyz mRotation;
/* 0x5B4 */ f32 mSwingSpeed;
/* 0x5B8 */ s32 mFrameCounter;
/* 0x5BC */ u8 mOrientation;
/* 0x5BD */ bool mOpenCheckDone;
/* 0x5BE */ bool mOpening;
}; // Size: 0x5C0
STATIC_ASSERT(sizeof(daObjBkDoor_c) == 0x5C0);
#endif /* D_A_OBJ_BKDOOR_H */