mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 07:02:47 -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
67 lines
1.6 KiB
C++
67 lines
1.6 KiB
C++
#ifndef D_A_OBJ_LV5SWICE_H
|
|
#define D_A_OBJ_LV5SWICE_H
|
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
#include "d/d_bg_s_movebg_actor.h"
|
|
#include "d/d_cc_d.h"
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daLv5SwIce_c
|
|
* @brief Snowpeak Ruins Ice Switch
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daLv5SwIce_c : public dBgS_MoveBgActor {
|
|
public:
|
|
enum daLv5SwIce_MODE {
|
|
MODE_WAIT,
|
|
MODE_BREAK,
|
|
};
|
|
|
|
/* 80C6CA20 */ void setBaseMtx();
|
|
/* 80C6CB14 */ int create();
|
|
/* 80C6CE28 */ void procMain();
|
|
/* 80C6CEB4 */ void init_modeWait();
|
|
/* 80C6CED0 */ void modeWait();
|
|
/* 80C6D0F4 */ void init_modeBreak();
|
|
/* 80C6D144 */ void modeBreak();
|
|
|
|
/* 80C6CAA8 */ virtual int CreateHeap();
|
|
/* 80C6CDD0 */ virtual int Execute(Mtx**);
|
|
/* 80C6D260 */ virtual int Draw();
|
|
/* 80C6D314 */ virtual int Delete();
|
|
|
|
int getSwBit1() { return fopAcM_GetParamBit(this, 0, 8); }
|
|
|
|
static const dCcD_SrcGObjInf mCcDObjInfo;
|
|
static dCcD_SrcCyl mCcDCyl;
|
|
|
|
private:
|
|
/* 0x5A0 */ dCcD_Stts mCcStts;
|
|
/* 0x5DC */ dCcD_Cyl mCcCyl;
|
|
/* 0x718 */ request_of_phase_process_class mPhase;
|
|
/* 0x720 */ J3DModel* mpModel;
|
|
/* 0x724 */ u8 mMode;
|
|
/* 0x725 */ u8 mHitcount;
|
|
/* 0x726 */ u8 mSwBit1;
|
|
/* 0x728 */ u32 mEmitter0ID[2];
|
|
/* 0x730 */ u32 mEmitter1ID[2];
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daLv5SwIce_c) == 0x738);
|
|
|
|
class daLv5SwIce_HIO_c : public fOpAcm_HIO_entry_c {
|
|
public:
|
|
/* 80C6C94C */ daLv5SwIce_HIO_c();
|
|
/* 80C6D418 */ virtual ~daLv5SwIce_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
/* 0x4 */ u8 hitcount;
|
|
};
|
|
|
|
|
|
#endif /* D_A_OBJ_LV5SWICE_H */
|