mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 15:05:06 -04:00
0ff06d2974
* Fix missing arg to JUT_ASSERT * Fix some MWCC version diff errors * Compile m_Do_ext, d_demo, actor_mng * Add VSCode task to quickly switch between versions * Unlink magLift for debug * Update the hash of the debug dol The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment. The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol. The DOL now builds OK. * Fix all debug REL dtor splits All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds. * Add genMessage declarations to all HIO subclasses * Fixing more compilation errors * m_Do_mtx 100% on debug Cannot be linked due to weak function name mangling? * Improve various matches * Fix all remaining compilation errors * Fix new compilation errors from main * Fix retail regression * Link f_pc_profile_lst
59 lines
1.4 KiB
C++
59 lines
1.4 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:
|
|
/* 80BA9200 */ void setBaseMtx();
|
|
/* 80BA9288 */ int CreateHeap();
|
|
/* 80BA92F4 */ cPhs__Step create();
|
|
/* 80BA95A4 */ int Execute(Mtx**);
|
|
/* 80BA95F4 */ void windowProc();
|
|
/* 80BA9680 */ void init_modeWait();
|
|
/* 80BA968C */ void modeWait();
|
|
/* 80BA973C */ void init_modeBreak();
|
|
/* 80BA9824 */ void modeBreak();
|
|
/* 80BA9844 */ void setBreakEffect();
|
|
/* 80BA98E8 */ int Draw();
|
|
/* 80BA998C */ 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:
|
|
/* 80BA918C */ daBarDesk_HIO_c();
|
|
/* 80BA9A90 */ ~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 */
|