Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_andsw2.h
Go to the documentation of this file.
1#ifndef D_A_ANDSW2_H
2#define D_A_ANDSW2_H
3
5
14class daAndsw2_c : public fopAc_ac_c {
15public:
24
25 /* 804D5DF8 */ u8 getEventNo();
26 /* 804D5E04 */ u8 getSwbit();
27 /* 804D5E10 */ u8 getSwbit2();
28 /* 804D5E1C */ u8 getType();
29 /* 804D5E28 */ u8 getTimer();
30 /* 804D5E34 */ u8 getNum();
31 /* 804D5E40 */ u8 getTopSw();
32 /* 804D5EB0 */ u8 getSwAns();
33 /* 804D5EBC */ BOOL chkAllSw2();
34 /* 804D5F64 */ bool chkSwStatus();
35 /* 804D6024 */ bool chkSwStatus2();
36 /* 804D60CC */ ~daAndsw2_c();
37 /* 804D6120 */ int create();
38
39 inline int execute();
40
41 void setActio(u8 i_action) { mAction = i_action; }
42
43 /* 0x568 */ s16 mTimer;
44 /* 0x56A */ s16 mEventIdx;
45 /* 0x56C */ u8 mAction;
46};
47
48#endif /* D_A_ANDSW2_H */
Definition d_a_andsw2.h:14
u8 getSwbit2()
Definition d_a_andsw2.cpp:22
int create()
Definition d_a_andsw2.cpp:118
bool chkSwStatus()
Definition d_a_andsw2.cpp:76
u8 getTimer()
Definition d_a_andsw2.cpp:32
Action_e
Definition d_a_andsw2.h:16
@ ACT_ORDER_e
Definition d_a_andsw2.h:19
@ ACT_ON_ALL_e
Definition d_a_andsw2.h:17
@ ACT_TIMER_e
Definition d_a_andsw2.h:18
@ ACT_OFF_e
Definition d_a_andsw2.h:21
@ ACT_WAIT_e
Definition d_a_andsw2.h:22
@ ACT_EVENT_e
Definition d_a_andsw2.h:20
void setActio(u8 i_action)
Definition d_a_andsw2.h:41
~daAndsw2_c()
Definition d_a_andsw2.cpp:115
u8 getType()
Definition d_a_andsw2.cpp:27
s16 mEventIdx
Definition d_a_andsw2.h:44
int execute()
Definition d_a_andsw2.cpp:330
u8 getNum()
Definition d_a_andsw2.cpp:37
u8 mAction
Definition d_a_andsw2.h:45
BOOL chkAllSw2()
Definition d_a_andsw2.cpp:58
u8 getTopSw()
Definition d_a_andsw2.cpp:42
u8 getSwAns()
Definition d_a_andsw2.cpp:53
s16 mTimer
Definition d_a_andsw2.h:43
u8 getSwbit()
Definition d_a_andsw2.cpp:17
bool chkSwStatus2()
Definition d_a_andsw2.cpp:97
u8 getEventNo()
Definition d_a_andsw2.cpp:12
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8