2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_A_OBJ_DIGPLACE_H
|
|
|
|
|
#define D_A_OBJ_DIGPLACE_H
|
|
|
|
|
|
2023-07-25 15:25:04 -07:00
|
|
|
#include "d/d_path.h"
|
|
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
/**
|
|
|
|
|
* @ingroup actors-objects
|
|
|
|
|
* @class daObjDigpl_c
|
|
|
|
|
* @brief Wolf Dig Place (Treasure)
|
|
|
|
|
*
|
|
|
|
|
* @details
|
|
|
|
|
*
|
|
|
|
|
*/
|
2023-07-25 15:25:04 -07:00
|
|
|
class daObjDigpl_c : public fopAc_ac_c {
|
|
|
|
|
public:
|
|
|
|
|
/* 8057BF98 */ int create();
|
|
|
|
|
/* 8057C1EC */ int execute();
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
private:
|
2023-07-25 15:25:04 -07:00
|
|
|
/* 0x568 */ u8 mType;
|
|
|
|
|
/* 0x569 */ u8 mSwitch;
|
|
|
|
|
/* 0x56A */ u8 mDigFlg;
|
|
|
|
|
/* 0x56B */ u8 field_0x56b;
|
|
|
|
|
/* 0x56C */ u8 mCurrentDigPoint;
|
|
|
|
|
/* 0x570 */ Mtx field_0x570;
|
|
|
|
|
/* 0x5A0 */ int mUsedDigFlags[6];
|
|
|
|
|
/* 0x5B8 */ dPath* mpDigPoints;
|
|
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
public:
|
2023-07-25 15:25:04 -07:00
|
|
|
/* 8057C158 */ virtual ~daObjDigpl_c();
|
|
|
|
|
|
|
|
|
|
u8 getSceneNum() { return (fopAcM_GetParam(this) >> 0xC) & 0xFF; }
|
|
|
|
|
int getItemNum() { return getSceneNum(); }
|
2024-10-24 20:47:02 -07:00
|
|
|
u8 getType() const { return mType; }
|
|
|
|
|
void onDigFlg() { mDigFlg = true; }
|
2023-07-25 15:25:04 -07:00
|
|
|
};
|
2024-06-10 01:34:52 -06:00
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
STATIC_ASSERT(sizeof(daObjDigpl_c) == 0x5C0);
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* D_A_OBJ_DIGPLACE_H */
|