2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_A_OBJ_TIMEFIRE_H
|
|
|
|
|
#define D_A_OBJ_TIMEFIRE_H
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
#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:
|
2025-11-30 14:23:42 -08:00
|
|
|
void setBaseMtx();
|
|
|
|
|
int create();
|
|
|
|
|
void lightInit();
|
|
|
|
|
void setLight();
|
|
|
|
|
void cutLight();
|
|
|
|
|
int Execute();
|
|
|
|
|
bool fireCheck(u8);
|
|
|
|
|
int Draw();
|
|
|
|
|
int Delete();
|
2024-12-17 01:16:19 +02:00
|
|
|
|
|
|
|
|
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); }
|
2024-05-29 01:49:10 -06:00
|
|
|
|
|
|
|
|
private:
|
2024-12-17 01:16:19 +02:00
|
|
|
/* 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;
|
2024-05-29 01:49:10 -06:00
|
|
|
};
|
2024-06-10 01:34:52 -06:00
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
STATIC_ASSERT(sizeof(daTimeFire_c) == 0x5c0);
|
|
|
|
|
|
2024-12-17 01:16:19 +02:00
|
|
|
class daTimeFire_HIO_c : public mDoHIO_entry_c {
|
2024-05-29 01:49:10 -06:00
|
|
|
public:
|
2025-11-30 14:23:42 -08:00
|
|
|
daTimeFire_HIO_c();
|
|
|
|
|
virtual ~daTimeFire_HIO_c() {}
|
2024-12-17 01:16:19 +02:00
|
|
|
|
2025-03-22 21:00:51 -04:00
|
|
|
void genMessage(JORMContext*);
|
|
|
|
|
|
2024-12-17 01:16:19 +02:00
|
|
|
u8 field_0x4;
|
2024-05-29 01:49:10 -06:00
|
|
|
};
|
|
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* D_A_OBJ_TIMEFIRE_H */
|