mirror of https://github.com/zeldaret/tp.git
45 lines
826 B
C++
45 lines
826 B
C++
#ifndef D_A_ALLDIE_H
|
|
#define D_A_ALLDIE_H
|
|
|
|
#include "f_op/f_op_actor.h"
|
|
|
|
/**
|
|
* @ingroup actors-unsorted
|
|
* @class daAlldie_c
|
|
* @brief
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daAlldie_c : public fopAc_ac_c {
|
|
public:
|
|
enum EAction {
|
|
/* 0x0 */ ACT_WAIT,
|
|
/* 0x1 */ ACT_CHECK,
|
|
/* 0x2 */ ACT_TIMER,
|
|
/* 0x3 */ ACT_ORDER,
|
|
/* 0x4 */ ACT_NEXT,
|
|
/* 0x5 */ ACT_EVENT,
|
|
};
|
|
|
|
u8 getEventNo();
|
|
u8 getSwbit();
|
|
int actionWait();
|
|
int actionCheck();
|
|
int actionTimer();
|
|
int actionOrder();
|
|
int actionEvent();
|
|
int actionNext();
|
|
int execute();
|
|
|
|
inline int create();
|
|
|
|
/* 0x568 */ u8 mAction;
|
|
/* 0x56A */ s16 mTimer;
|
|
/* 0x56C */ s16 mEventIdx;
|
|
/* 0x56E */ s16 mNextEventIdx;
|
|
/* 0x570 */ s16 mMapToolID;
|
|
}; // Size: 0x574
|
|
|
|
#endif /* D_A_ALLDIE_H */
|