Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_wdStick.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_WDSTICK_H
2#define D_A_OBJ_WDSTICK_H
3
4#include "d/d_bg_s_acch.h"
5#include "d/d_cc_d.h"
7
16class daWdStick_c : public fopAc_ac_c {
17public:
18 typedef void (daWdStick_c::*modeFunc)();
27
28 /* 80D31BD0 */ void setBaseMtx();
29 /* 80D31C58 */ virtual int CreateHeap();
30 /* 80D31CC4 */ int create();
31 /* 80D32168 */ static int createHeapCallBack(fopAc_ac_c*);
32 /* 80D32194 */ void lightInit();
33 /* 80D32198 */ void setLight();
34 /* 80D3219C */ void setFire();
35 /* 80D3269C */ virtual int Execute();
36 /* 80D32DB4 */ void bgCheck();
37 /* 80D33348 */ void setBoundSe();
38 /* 80D333F4 */ void mode_proc_call();
39 /* 80D3350C */ void mode_init_wait();
40 /* 80D3353C */ void mode_proc_wait();
41 /* 80D33588 */ void mode_init_carry();
42 /* 80D335AC */ void mode_proc_carry();
43 /* 80D3386C */ void mode_init_drop();
44 /* 80D33890 */ void mode_proc_drop();
45 /* 80D338DC */ void mode_init_roll();
46 /* 80D338F4 */ void mode_proc_roll();
47 /* 80D33D44 */ BOOL chkWaterLineIn();
48 /* 80D33D68 */ void mode_init_sink();
49 /* 80D33D8C */ void mode_proc_sink();
50 /* 80D33EB0 */ virtual int Draw();
51 /* 80D33F14 */ virtual int Delete();
52
53 static dCcD_SrcGObjInf const mCcDObjInfo;
54 static dCcD_SrcSph mCcDSph;
55
56private:
58 /* 0x574 */ J3DModel* mModel;
59 /* 0x578 */ u8 mMode;
60 /* 0x579 */ bool misCarrying;
61 /* 0x57C */ cXyz field_0x57c;
62 /* 0x588 */ u8 field_0x588[0x594 - 0x588];
63 /* 0x594 */ cXyz field_0x594;
64 /* 0x5A0 */ dBgS_ObjAcch mAcch;
66 /* 0x7B8 */ dCcD_Stts mStts;
67 /* 0x7F4 */ dCcD_Sph mSph1;
68 /* 0x92C */ dCcD_Sph mSph2;
69 /* 0xA64 */ cXyz field_0xa64;
70 /* 0xA70 */ cXyz field_0xa70;
71 /* 0xA7C */ cXyz field_0xa7c;
72 /* 0xA88 */ cXyz field_0xa88;
73 /* 0xA94 */ cXyz field_0xa94;
74 /* 0xAA0 */ cXyz field_0xaa0;
75 /* 0xAAC */ u8 field_0xaac;
76 /* 0xAAD */ u8 field_0xaad;
77 /* 0xAAE */ u16 field_0xaae;
78 /* 0xAB0 */ u16 field_0xab0;
79 /* 0xAB4 */ cXyz field_0xab4;
80 /* 0xAC0 */ cXyz field_0xac0;
81 /* 0xACC */ cXyz field_0xacc;
82 /* 0xAD8 */ cXyz field_0xad8;
83 /* 0xAE4 */ u32 field_0xae4[2];
84 /* 0xAEC */ u32 field_0xaec[2];
85 /* 0xAF4 */ u8 field_0xaf4;
86};
87
88STATIC_ASSERT(sizeof(daWdStick_c) == 0xaf8);
89
91public:
92 /* 80D31B4C */ daWdStick_HIO_c();
93 /* 80D34030 */ virtual ~daWdStick_HIO_c() {}
94
95 /* 0x04 */ u8 field_0x04;
96 /* 0x05 */ u8 field_0x05;
97 /* 0x06 */ s16 field_0x06;
98 /* 0x08 */ u8 field_0x08;
99};
100
101
102#endif /* D_A_OBJ_WDSTICK_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_cc_d.h:432
Definition d_a_obj_wdStick.h:90
u8 field_0x08
Definition d_a_obj_wdStick.h:98
daWdStick_HIO_c()
Definition d_a_obj_wdStick.cpp:22
virtual ~daWdStick_HIO_c()
Definition d_a_obj_wdStick.h:93
u8 field_0x05
Definition d_a_obj_wdStick.h:96
s16 field_0x06
Definition d_a_obj_wdStick.h:97
u8 field_0x04
Definition d_a_obj_wdStick.h:95
Wooden Stick.
Definition d_a_obj_wdStick.h:16
void mode_proc_sink()
Definition d_a_obj_wdStick.cpp:480
cXyz field_0xacc
Definition d_a_obj_wdStick.h:81
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_obj_wdStick.cpp:93
void setFire()
Definition d_a_obj_wdStick.cpp:106
void mode_init_wait()
Definition d_a_obj_wdStick.cpp:323
u8 field_0xaad
Definition d_a_obj_wdStick.h:76
cXyz field_0xa94
Definition d_a_obj_wdStick.h:73
dCcD_Stts mStts
Definition d_a_obj_wdStick.h:66
dBgS_AcchCir mAcchCir
Definition d_a_obj_wdStick.h:65
Mode
Definition d_a_obj_wdStick.h:20
@ MODE_ROLL
Definition d_a_obj_wdStick.h:24
@ MODE_WAIT
Definition d_a_obj_wdStick.h:21
@ MODE_SINK
Definition d_a_obj_wdStick.h:25
@ MODE_DROP
Definition d_a_obj_wdStick.h:23
@ MODE_CARRY
Definition d_a_obj_wdStick.h:22
void mode_proc_drop()
Definition d_a_obj_wdStick.cpp:402
cXyz field_0xa7c
Definition d_a_obj_wdStick.h:71
u8 field_0xaac
Definition d_a_obj_wdStick.h:75
cXyz field_0xad8
Definition d_a_obj_wdStick.h:82
cXyz field_0xac0
Definition d_a_obj_wdStick.h:80
virtual int Execute()
Definition d_a_obj_wdStick.cpp:160
void lightInit()
Definition d_a_obj_wdStick.cpp:98
virtual int Delete()
Definition d_a_obj_wdStick.cpp:512
cXyz field_0x57c
Definition d_a_obj_wdStick.h:61
dCcD_Sph mSph2
Definition d_a_obj_wdStick.h:68
void mode_proc_call()
Definition d_a_obj_wdStick.cpp:306
void(daWdStick_c::* modeFunc)()
Definition d_a_obj_wdStick.h:18
static dCcD_SrcSph mCcDSph
Definition d_a_obj_wdStick.h:19
void mode_init_sink()
Definition d_a_obj_wdStick.cpp:472
void mode_init_carry()
Definition d_a_obj_wdStick.cpp:338
bool misCarrying
Definition d_a_obj_wdStick.h:60
virtual int Draw()
Definition d_a_obj_wdStick.cpp:504
cXyz field_0x594
Definition d_a_obj_wdStick.h:63
dBgS_ObjAcch mAcch
Definition d_a_obj_wdStick.h:64
dCcD_Sph mSph1
Definition d_a_obj_wdStick.h:67
cXyz field_0xa70
Definition d_a_obj_wdStick.h:70
cXyz field_0xaa0
Definition d_a_obj_wdStick.h:74
BOOL chkWaterLineIn()
Definition d_a_obj_wdStick.cpp:467
void setLight()
Definition d_a_obj_wdStick.cpp:102
request_of_phase_process_class mPhase
Definition d_a_obj_wdStick.h:57
cXyz field_0xab4
Definition d_a_obj_wdStick.h:79
u8 mMode
Definition d_a_obj_wdStick.h:59
void bgCheck()
Definition d_a_obj_wdStick.cpp:238
J3DModel * mModel
Definition d_a_obj_wdStick.h:58
void setBoundSe()
Definition d_a_obj_wdStick.cpp:297
cXyz field_0xa64
Definition d_a_obj_wdStick.h:69
void mode_proc_roll()
Definition d_a_obj_wdStick.cpp:415
u8 field_0x588[0x594 - 0x588]
Definition d_a_obj_wdStick.h:62
void mode_proc_wait()
Definition d_a_obj_wdStick.cpp:331
void mode_proc_carry()
Definition d_a_obj_wdStick.cpp:345
u32 field_0xae4[2]
Definition d_a_obj_wdStick.h:83
int create()
Definition d_a_obj_wdStick.cpp:55
static dCcD_SrcGObjInf const mCcDObjInfo
Definition d_a_obj_wdStick.h:47
void mode_init_drop()
Definition d_a_obj_wdStick.cpp:395
u16 field_0xab0
Definition d_a_obj_wdStick.h:78
u16 field_0xaae
Definition d_a_obj_wdStick.h:77
cXyz field_0xa88
Definition d_a_obj_wdStick.h:72
virtual int CreateHeap()
Definition d_a_obj_wdStick.cpp:38
u32 field_0xaec[2]
Definition d_a_obj_wdStick.h:84
void setBaseMtx()
Definition d_a_obj_wdStick.cpp:30
void mode_init_roll()
Definition d_a_obj_wdStick.cpp:409
u8 field_0xaf4
Definition d_a_obj_wdStick.h:85
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daWdStick_c)==0xaf8)
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_cc_d.h:85
Definition d_cc_d.h:92
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8