mirror of https://github.com/zeldaret/tp.git
59 lines
1.2 KiB
C++
59 lines
1.2 KiB
C++
#ifndef D_A_OBJ_BARDESK_H
|
|
#define D_A_OBJ_BARDESK_H
|
|
|
|
#include "SSystem/SComponent/c_phase.h"
|
|
#include "m_Do/m_Do_hostIO.h"
|
|
#include "d/d_bg_s_movebg_actor.h"
|
|
#include "d/d_cc_d.h"
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daBarDesk_c
|
|
* @brief Kakariko House Desk
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daBarDesk_c : public dBgS_MoveBgActor {
|
|
public:
|
|
void setBaseMtx();
|
|
int CreateHeap();
|
|
cPhs__Step create();
|
|
int Execute(Mtx**);
|
|
void windowProc();
|
|
void init_modeWait();
|
|
void modeWait();
|
|
void init_modeBreak();
|
|
void modeBreak();
|
|
void setBreakEffect();
|
|
int Draw();
|
|
int Delete();
|
|
|
|
/* 0x5A0 */ request_of_phase_process_class mPhase;
|
|
/* 0x5A8 */ J3DModel* mpModel;
|
|
/* 0x5AC */ u8 mMode;
|
|
/* 0x5B0 */ dCcD_Stts mColStatus;
|
|
/* 0x5EC */ dCcD_Cyl mColCyl;
|
|
/* 0x728 */ u8 field_0x728[8];
|
|
|
|
static dCcD_SrcGObjInf const mCcDObjInfo;
|
|
static dCcD_SrcCyl mCcDCyl;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daBarDesk_c) == 0x730);
|
|
|
|
class daBarDesk_HIO_c : public mDoHIO_entry_c {
|
|
public:
|
|
daBarDesk_HIO_c();
|
|
~daBarDesk_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
/* 0x4 */ u8 field_0x4;
|
|
/* 0x5 */ u8 field_0x5;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daBarDesk_HIO_c) == 8);
|
|
|
|
#endif /* D_A_OBJ_BARDESK_H */
|