Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_digsnow.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_DIGSNOW_H
2#define D_A_OBJ_DIGSNOW_H
3
6#include "d/d_bg_s_acch.h"
7#include "d/d_cc_d.h"
8
9class J3DModel;
10
20public:
21 enum Mode_e {
22 /* 0 */ MODE_WAIT_e,
23 /* 1 */ MODE_DIG_e,
24 /* 2 */ MODE_END_e,
25 };
26
27 enum Action_e {
29 /* 1 */ ACTION_DIG_e,
30 /* 2 */ ACTION_END_e,
31 };
32
33 /* 80BDCC58 */ void initBaseMtx();
34 /* 80BDCC94 */ void setBaseMtx();
35 /* 80BDCD08 */ virtual int Create();
36 /* 80BDCD64 */ virtual int CreateHeap();
37 /* 80BDCDD4 */ int create1st();
38 /* 80BDCE84 */ virtual int Execute(Mtx**);
39 /* 80BDCF00 */ void action();
40 /* 80BDCFA4 */ void mode_init_wait();
41 /* 80BDCFB0 */ void mode_wait();
42 /* 80BDCFDC */ void mode_init_dig();
43 /* 80BDD124 */ void mode_dig();
44 /* 80BDD1BC */ void mode_init_end();
45 /* 80BDD210 */ void mode_end();
46 /* 80BDD214 */ virtual int Draw();
47 /* 80BDD2B8 */ virtual int Delete();
48
49 u8 getSwNo() { return fopAcM_GetParamBit(this, 0, 8); }
52
53private:
55 /* 0x5A8 */ J3DModel* mpModel;
56 /* 0x5AC */ dBgS_ObjAcch mAcch;
58 /* 0x7C4 */ dCcD_Stts mStts;
59 /* 0x800 */ dCcD_Cyl mCyl;
60 /* 0x93C */ u8 mMode;
61 /* 0x93D */ u8 mAction;
62 /* 0x940 */ f32 mGroundHeight;
63}; // Size: 0x944
64
65STATIC_ASSERT(sizeof(daObjDigSnow_c) == 0x944);
66
67#endif /* D_A_OBJ_DIGSNOW_H */
Definition d_bg_s_movebg_actor.h:10
Wolf Dig Place (Snow)
Definition d_a_obj_digsnow.h:19
void mode_init_wait()
Definition d_a_obj_digsnow.cpp:120
void startDig()
Definition d_a_obj_digsnow.h:50
dBgS_AcchCir mAcchCir
Definition d_a_obj_digsnow.h:57
request_of_phase_process_class mPhaseReq
Definition d_a_obj_digsnow.h:54
virtual int Create()
Definition d_a_obj_digsnow.cpp:26
virtual int Delete()
Definition d_a_obj_digsnow.cpp:190
u8 mAction
Definition d_a_obj_digsnow.h:61
Action_e
Definition d_a_obj_digsnow.h:27
@ ACTION_DIG_e
Definition d_a_obj_digsnow.h:29
@ ACTION_END_e
Definition d_a_obj_digsnow.h:30
@ ACTION_WAIT_e
Definition d_a_obj_digsnow.h:28
virtual int Execute(Mtx **)
Definition d_a_obj_digsnow.cpp:91
Mode_e
Definition d_a_obj_digsnow.h:21
@ MODE_DIG_e
Definition d_a_obj_digsnow.h:23
@ MODE_END_e
Definition d_a_obj_digsnow.h:24
@ MODE_WAIT_e
Definition d_a_obj_digsnow.h:22
void initBaseMtx()
Definition d_a_obj_digsnow.cpp:12
void action()
Definition d_a_obj_digsnow.cpp:107
void mode_end()
Definition d_a_obj_digsnow.cpp:175
virtual int Draw()
Definition d_a_obj_digsnow.cpp:178
f32 mGroundHeight
Definition d_a_obj_digsnow.h:62
void mode_wait()
Definition d_a_obj_digsnow.cpp:125
dCcD_Cyl mCyl
Definition d_a_obj_digsnow.h:59
void mode_init_end()
Definition d_a_obj_digsnow.cpp:167
u8 mMode
Definition d_a_obj_digsnow.h:60
int create1st()
Definition d_a_obj_digsnow.cpp:73
J3DModel * mpModel
Definition d_a_obj_digsnow.h:55
dCcD_Stts mStts
Definition d_a_obj_digsnow.h:58
void mode_init_dig()
Definition d_a_obj_digsnow.cpp:133
void mode_dig()
Definition d_a_obj_digsnow.cpp:154
void setBaseMtx()
Definition d_a_obj_digsnow.cpp:18
dBgS_ObjAcch mAcch
Definition d_a_obj_digsnow.h:56
virtual int CreateHeap()
Definition d_a_obj_digsnow.cpp:60
void endDig()
Definition d_a_obj_digsnow.h:51
u8 getSwNo()
Definition d_a_obj_digsnow.h:49
STATIC_ASSERT(sizeof(daObjDigSnow_c)==0x944)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8