Files
tp/include/d/actor/d_a_obj_lv6elevta.h
T

58 lines
1.3 KiB
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_A_OBJ_LV6ELEVTA_H
#define D_A_OBJ_LV6ELEVTA_H
2025-10-23 21:20:04 -04:00
#include "d/d_event_lib.h"
2024-05-29 01:49:10 -06:00
#include "f_op/f_op_actor_mng.h"
2025-10-23 21:20:04 -04:00
#include "d/d_bg_s_movebg_actor.h"
2024-05-29 01:49:10 -06:00
/**
* @ingroup actors-objects
* @class daObjLv6ElevtA_c
* @brief Temple of Time Elevator
*
* @details
*
*/
2025-10-23 21:20:04 -04:00
class daObjLv6ElevtA_c : public dBgS_MoveBgActor,
public request_of_phase_process_class,
public dEvLib_callback_c {
2024-05-29 01:49:10 -06:00
public:
2025-10-23 21:20:04 -04:00
daObjLv6ElevtA_c() : dEvLib_callback_c(this) {}
virtual ~daObjLv6ElevtA_c() {};
2025-11-30 14:23:42 -08:00
int create1st();
void setMtx();
int CreateHeap();
int Create();
bool eventStart();
void moveAngle(void*);
int Execute(Mtx**);
int Draw();
int Delete();
2025-10-23 21:20:04 -04:00
int getSwNo() { return fopAcM_GetParamBit(this, 0, 8); };
int getSw2No() { return fopAcM_GetParamBit(this, 8, 8); };
int getEvent() { return fopAcM_GetParamBit(this, 0x10, 8); };
2024-05-29 01:49:10 -06:00
private:
2025-10-23 21:20:04 -04:00
/* 0x5B8 */ Mtx mMtx1;
/* 0x5E8 */ Mtx mMtx2;
/* 0x618 */ J3DModel* mModel;
/* 0x61C */ int mAngle;
/* 0x620 */ int mMode;
/* 0x624 */ bool mIsMoving;
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(daObjLv6ElevtA_c) == 0x628);
2025-10-23 21:20:04 -04:00
#if DEBUG
class daObjLv6ElevtA_HIO_c : public mDoHIO_entry_c {
public:
daObjLv6ElevtA_HIO_c();
void genMessage(JORMContext*);
/* 0x6 */ s16 mRightAngleTurnFrameCount;
};
#endif
2021-03-28 22:49:05 +02:00
#endif /* D_A_OBJ_LV6ELEVTA_H */