mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 15:21:08 -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
61 lines
1.5 KiB
C++
61 lines
1.5 KiB
C++
#ifndef D_A_OBJ_TIMEFIRE_H
|
|
#define D_A_OBJ_TIMEFIRE_H
|
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
/**
|
|
* @ingroup actors-objects
|
|
* @class daTimeFire_c
|
|
* @brief Time Fire
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daTimeFire_c : public fopAc_ac_c {
|
|
public:
|
|
/* 80D0E958 */ void setBaseMtx();
|
|
/* 80D0E9B0 */ int create();
|
|
/* 80D0EACC */ void lightInit();
|
|
/* 80D0EB40 */ void setLight();
|
|
/* 80D0EB64 */ void cutLight();
|
|
/* 80D0EB88 */ int Execute();
|
|
/* 80D0ED68 */ bool fireCheck(u8);
|
|
/* 80D0EF88 */ int Draw();
|
|
/* 80D0EF90 */ int Delete();
|
|
|
|
int getSw() { return fopAcM_GetParamBit(this, 0, 8); }
|
|
u8 getStartTime() { return fopAcM_GetParamBit(this, 8, 8); }
|
|
u8 getEndTime() { return fopAcM_GetParamBit(this, 16, 8); }
|
|
u8 getScale() { return fopAcM_GetParamBit(this, 24, 8); }
|
|
|
|
private:
|
|
/* 0x568 */ u8 field_0x568;
|
|
/* 0x569 */ u8 field_0x569;
|
|
/* 0x56A */ u8 mStartTime;
|
|
/* 0x56B */ u8 mEndTime;
|
|
/* 0x56C */ bool field_0x56c;
|
|
/* 0x56D */ bool field_0x56d;
|
|
/* 0x570 */ cXyz field_0x570;
|
|
/* 0x57C */ cXyz mParticleScale;
|
|
/* 0x588 */ int mParticleId1;
|
|
/* 0x58c */ int mParticleId2;
|
|
/* 0x590 */ int mParticleId3;
|
|
/* 0x594 */ cXyz field_0x594;
|
|
/* 0x5A0 */ LIGHT_INFLUENCE mLightInfluence;
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daTimeFire_c) == 0x5c0);
|
|
|
|
class daTimeFire_HIO_c : public mDoHIO_entry_c {
|
|
public:
|
|
/* 80D0E8EC */ daTimeFire_HIO_c();
|
|
/* 80D0F038 */ virtual ~daTimeFire_HIO_c() {}
|
|
|
|
void genMessage(JORMContext*);
|
|
|
|
u8 field_0x4;
|
|
};
|
|
|
|
|
|
#endif /* D_A_OBJ_TIMEFIRE_H */
|