mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 23:01:23 -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
66 lines
1.6 KiB
C++
66 lines
1.6 KiB
C++
#ifndef D_A_OBJ_LV3CANDLE_H
|
|
#define D_A_OBJ_LV3CANDLE_H
|
|
|
|
#include "d/d_cc_d.h"
|
|
#include "f_op/f_op_actor_mng.h"
|
|
#include "m_Do/m_Do_hostIO.h"
|
|
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daLv3Candle_c
|
|
* @brief Lakebed Temple Torch
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daLv3Candle_c : public fopAc_ac_c {
|
|
public:
|
|
/* 80C57B38 */ void setBaseMtx();
|
|
/* 80C57BC0 */ int CreateHeap();
|
|
/* 80C57C40 */ cPhs__Step create();
|
|
/* 80C57F6C */ static int createHeapCallBack(fopAc_ac_c*);
|
|
/* 80C57F8C */ void lightInit();
|
|
/* 80C58018 */ void pointLightProc();
|
|
/* 80C580A0 */ int Execute();
|
|
/* 80C582FC */ int Draw();
|
|
/* 80C583A0 */ int Delete();
|
|
|
|
u8 getSwBit() { return fopAcM_GetParamBit(this, 0, 8); }
|
|
u8 getType() { return fopAcM_GetParamBit(this, 8, 8); }
|
|
|
|
private:
|
|
/* 0x568 */ request_of_phase_process_class mPhaseReq;
|
|
/* 0x570 */ J3DModel* mpModel;
|
|
/* 0x574 */ u8 mType;
|
|
/* 0x578 */ dCcD_Stts mStts;
|
|
/* 0x5B4 */ dCcD_Sph mSph;
|
|
/* 0x6EC */ cXyz mTorchPos;
|
|
/* 0x6F8 */ u32 field_0x6f8; // Unused?
|
|
/* 0x6FC */ cXyz mLightPos;
|
|
/* 0x708 */ u8 mIsLit;
|
|
/* 0x70C */ f32 mIntensity;
|
|
/* 0x710 */ LIGHT_INFLUENCE mLight;
|
|
/* 0x730 */ u8 mTgHit;
|
|
/* 0x734 */ Z2SoundObjSimple mSound;
|
|
|
|
static dCcD_SrcGObjInf const mCcDObjInfo;
|
|
static dCcD_SrcSph mCcDSph;
|
|
|
|
}; // Size: 0x754
|
|
|
|
STATIC_ASSERT(sizeof(daLv3Candle_c) == 0x754);
|
|
|
|
class daLv3Candle_HIO_c : public mDoHIO_entry_c {
|
|
public:
|
|
/* 80C57ACC */ daLv3Candle_HIO_c();
|
|
/* 80C58484 */ virtual ~daLv3Candle_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
/* 0x00 vtable */
|
|
/* 0x04 */ u8 field_0x04;
|
|
};
|
|
|
|
#endif /* D_A_OBJ_LV3CANDLE_H */
|