summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_alldie.h
blob: ce31e486ebded11a27039dae0aa81086c4eeb6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#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 */