mirror of
https://github.com/zeldaret/tp
synced 2026-05-27 16:13:56 -04:00
4dc0cd9d09
* 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
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
#ifndef D_A_OBJ_KTONFIRE_H
|
|
#define D_A_OBJ_KTONFIRE_H
|
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daKtOnFire_c
|
|
* @brief Lantern Fire
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daKtOnFire_c : public fopAc_ac_c {
|
|
public:
|
|
/* 8058C678 */ void setBaseMtx();
|
|
/* 8058C6D0 */ void create();
|
|
/* 8058C960 */ void lightInit();
|
|
/* 8058C9D4 */ void setLight();
|
|
/* 8058C9F8 */ void cutLight();
|
|
/* 8058CA1C */ int Execute();
|
|
/* 8058CDF8 */ int Draw();
|
|
/* 8058CE00 */ int Delete();
|
|
|
|
static u8 const mCcDObjInfo[48];
|
|
static u8 mCcDCyl[68];
|
|
|
|
private:
|
|
/* 0x568 */ u8 field_0x568[0x6E4 - 0x568];
|
|
/* 0x6E4 */ cXyz mTorchPos;
|
|
/* 0x6F0 */ u8 field_0x6E4[0x6FC - 0x6F0];
|
|
/* 0x6FC */ cXyz mLightPos;
|
|
/* 0x708 */ LIGHT_INFLUENCE mLight;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daKtOnFire_c) == 0x728);
|
|
|
|
class daKtOnFire_HIO_c : public mDoHIO_entry_c {
|
|
public:
|
|
/* 8058C60C */ daKtOnFire_HIO_c();
|
|
/* 8058CEA8 */ ~daKtOnFire_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
u8 mTimer;
|
|
u8 mColor1R;
|
|
u8 mColor1G;
|
|
u8 mColor1B;
|
|
};
|
|
|
|
|
|
#endif /* D_A_OBJ_KTONFIRE_H */
|