Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_andsw.h
Go to the documentation of this file.
1
#ifndef D_A_ANDSW_H
2
#define D_A_ANDSW_H
3
4
#include "
d/d_com_inf_game.h
"
5
14
class
daAndsw_c
:
public
fopAc_ac_c
{
15
public
:
16
u8
getSwNo
() {
17
return
fopAcM_GetParamBit
(
this
,0,8);
18
}
19
20
u8
getSwNo2
() {
21
return
fopAcM_GetParamBit
(
this
,8,8);
22
}
23
24
u8
getTimer
() {
25
return
fopAcM_GetParamBit
(
this
,16,8);
26
}
27
28
u8
getType
() {
29
return
fopAcM_GetParamBit
(
this
,24,8);
30
}
31
32
int
Create
();
33
int
create
();
34
int
execute
();
35
int
_delete
();
36
37
/* 0x568 */
u8
mSwNo
;
38
/* 0x568 */
u8
mSwNo2
;
39
/* 0x56A */
s16
mTimer
;
40
};
41
42
class
daAndsw_HIO_c
:
public
mDoHIO_entry_c
{
43
public
:
44
daAndsw_HIO_c
();
45
46
void
genMessage
(
JORMContext
*);
47
48
/* 0x06 */
u8
field_0x6
;
49
};
50
51
52
#endif
/* D_A_ANDSW_H */
JORMContext
Definition
JORMContext.h:120
daAndsw_HIO_c
Definition
d_a_andsw.h:42
daAndsw_HIO_c::daAndsw_HIO_c
daAndsw_HIO_c()
Definition
d_a_andsw.cpp:14
daAndsw_HIO_c::genMessage
void genMessage(JORMContext *)
Definition
d_a_andsw.cpp:18
daAndsw_HIO_c::field_0x6
u8 field_0x6
Definition
d_a_andsw.h:48
daAndsw_c
Definition
d_a_andsw.h:14
daAndsw_c::getSwNo2
u8 getSwNo2()
Definition
d_a_andsw.h:20
daAndsw_c::create
int create()
Definition
d_a_andsw.cpp:39
daAndsw_c::getType
u8 getType()
Definition
d_a_andsw.h:28
daAndsw_c::mTimer
s16 mTimer
Definition
d_a_andsw.h:39
daAndsw_c::mSwNo2
u8 mSwNo2
Definition
d_a_andsw.h:38
daAndsw_c::Create
int Create()
Definition
d_a_andsw.cpp:24
daAndsw_c::getTimer
u8 getTimer()
Definition
d_a_andsw.h:24
daAndsw_c::_delete
int _delete()
Definition
d_a_andsw.cpp:85
daAndsw_c::mSwNo
u8 mSwNo
Definition
d_a_andsw.h:37
daAndsw_c::execute
int execute()
Definition
d_a_andsw.cpp:52
daAndsw_c::getSwNo
u8 getSwNo()
Definition
d_a_andsw.h:16
fopAc_ac_c
Definition
f_op_actor.h:230
mDoHIO_entry_c
Definition
m_Do_hostIO.h:27
d_com_inf_game.h
s16
signed short int s16
Definition
types.h:9
u8
unsigned char u8
Definition
types.h:8
fopAcM_GetParamBit
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition
f_op_actor_mng.h:196
include
d
actor
d_a_andsw.h
Generated by
1.12.0