2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_A_OBJ_TWGATE_H
|
|
|
|
|
#define D_A_OBJ_TWGATE_H
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
#include "f_op/f_op_actor_mng.h"
|
2025-07-26 03:44:23 +03:00
|
|
|
#include "d/d_bg_s_movebg_actor.h"
|
2024-05-29 01:49:10 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ingroup actors-objects
|
|
|
|
|
* @class daTwGate_c
|
|
|
|
|
* @brief Twilight Gate (Wall?)
|
|
|
|
|
*
|
|
|
|
|
* @details
|
|
|
|
|
*
|
|
|
|
|
*/
|
2025-07-26 03:44:23 +03:00
|
|
|
class daTwGate_c : public dBgS_MoveBgActor {
|
2024-05-29 01:49:10 -06:00
|
|
|
public:
|
2025-11-30 14:23:42 -08:00
|
|
|
void setBaseMtx();
|
|
|
|
|
int CreateHeap();
|
|
|
|
|
int create();
|
|
|
|
|
int Execute(Mtx**);
|
|
|
|
|
int Draw();
|
|
|
|
|
int Delete();
|
2025-07-26 03:44:23 +03:00
|
|
|
|
|
|
|
|
int getGateType() { return fopAcM_GetParamBit(this, 4, 8); }
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
private:
|
2025-07-26 03:44:23 +03:00
|
|
|
/* 0x5A0 */ request_of_phase_process_class mPhase;
|
|
|
|
|
/* 0x5A8 */ J3DModel* mModel;
|
|
|
|
|
/* 0x5AC */ mDoExt_btkAnm mBtk;
|
|
|
|
|
/* 0x5C4 */ mDoExt_brkAnm mBrk;
|
|
|
|
|
/* 0x5DC */ u8 mGateType;
|
|
|
|
|
/* 0x5E0 */ cM3dGLin mLine;
|
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(daTwGate_c) == 0x5fc);
|
|
|
|
|
|
2025-07-26 03:44:23 +03:00
|
|
|
class daTwGate_HIO_c : public fOpAcm_HIO_entry_c {
|
2024-05-29 01:49:10 -06:00
|
|
|
public:
|
2025-11-30 14:23:42 -08:00
|
|
|
daTwGate_HIO_c();
|
|
|
|
|
~daTwGate_HIO_c() {}
|
2025-07-26 03:44:23 +03:00
|
|
|
|
|
|
|
|
void genMessage(JORMContext* ctx);
|
|
|
|
|
|
|
|
|
|
/* 0x4 */ f32 mRange;
|
2024-05-29 01:49:10 -06:00
|
|
|
};
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* D_A_OBJ_TWGATE_H */
|