Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_swpropeller.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_SWPROPELLER_H
2#define D_A_OBJ_SWPROPELLER_H
3
4#include "d/d_cc_d.h"
6
15class daObjSwPr_c : public fopAc_ac_c {
16public:
17 /* 8059A5E8 */ void initBaseMtx();
18 /* 8059A624 */ void setBaseMtx();
19 /* 8059A670 */ int Create();
20 /* 8059A808 */ int CreateHeap();
21 /* 8059A888 */ int create();
22 /* 8059AB04 */ int setRotateTime();
23 /* 8059AB14 */ void switchCtrl();
24 /* 8059AB9C */ void execute_type_boomerang();
25 /* 8059ADCC */ void execute_type_wind();
26 /* 8059B014 */ int execute();
27 /* 8059B148 */ int draw();
28 /* 8059B1AC */ int _delete();
29
30 u8 getNameArg() { return fopAcM_GetParamBit(this, 8, 8); }
31 u8 getMdlType() { return fopAcM_GetParamBit(this, 0x10, 4); }
32 int getSwbit() { return fopAcM_GetParamBit(this, 0, 8); }
33 u32 getSwbit2() { return fopAcM_GetParamBit(this, 0x18, 8); }
34
36 /* 0x570 */ J3DModel* mpModel;
37 /* 0x574 */ dCcD_Stts mCcStts;
38 /* 0x5B0 */ dCcD_Cyl mCyl1;
39 /* 0x6EC */ dCcD_Cyl mCyl2;
40 /* 0x828 */ s16 mRotateSpeed;
41 /* 0x82A */ s16 mRotateInitSpeed;
42 /* 0x82C */ s16 field_0x82c; // rotate angle?
43 /* 0x82E */ s16 mRotateTime;
44 /* 0x830 */ u16 mKaitenJntID;
45 /* 0x832 */ s16 mSwDelayTimer;
46 /* 0x834 */ u16 field_0x834;
47 /* 0x836 */ u16 mSwOffDelayTimer;
48 /* 0x838 */ u8 field_0x838;
49 /* 0x839 */ u8 field_0x839;
50 /* 0x83A */ u8 field_0x83a;
51 /* 0x83B */ u8 field_0x83b;
52 /* 0x83C */ u8 mNameArg;
53 /* 0x83D */ u8 field_0x83d;
54 /* 0x83E */ u8 mModelType;
55};
56
57STATIC_ASSERT(sizeof(daObjSwPr_c) == 0x840);
58
59#endif /* D_A_OBJ_SWPROPELLER_H */
Boomerang Switch.
Definition d_a_obj_swpropeller.h:15
void switchCtrl()
Definition d_a_obj_swpropeller.cpp:174
int execute()
Definition d_a_obj_swpropeller.cpp:295
void execute_type_wind()
Definition d_a_obj_swpropeller.cpp:236
int CreateHeap()
Definition d_a_obj_swpropeller.cpp:129
u16 field_0x834
Definition d_a_obj_swpropeller.h:46
s16 mRotateInitSpeed
Definition d_a_obj_swpropeller.h:41
int _delete()
Definition d_a_obj_swpropeller.cpp:324
int getSwbit()
Definition d_a_obj_swpropeller.h:32
int draw()
Definition d_a_obj_swpropeller.cpp:315
dCcD_Cyl mCyl2
Definition d_a_obj_swpropeller.h:39
u32 getSwbit2()
Definition d_a_obj_swpropeller.h:33
dCcD_Cyl mCyl1
Definition d_a_obj_swpropeller.h:38
s16 mSwDelayTimer
Definition d_a_obj_swpropeller.h:45
u8 field_0x838
Definition d_a_obj_swpropeller.h:48
dCcD_Stts mCcStts
Definition d_a_obj_swpropeller.h:37
u16 mKaitenJntID
Definition d_a_obj_swpropeller.h:44
u8 getNameArg()
Definition d_a_obj_swpropeller.h:30
u8 mNameArg
Definition d_a_obj_swpropeller.h:52
u8 field_0x83b
Definition d_a_obj_swpropeller.h:51
u8 mModelType
Definition d_a_obj_swpropeller.h:54
J3DModel * mpModel
Definition d_a_obj_swpropeller.h:36
int Create()
Definition d_a_obj_swpropeller.cpp:87
s16 mRotateTime
Definition d_a_obj_swpropeller.h:43
void execute_type_boomerang()
Definition d_a_obj_swpropeller.cpp:185
void setBaseMtx()
Definition d_a_obj_swpropeller.cpp:46
u16 mSwOffDelayTimer
Definition d_a_obj_swpropeller.h:47
s16 field_0x82c
Definition d_a_obj_swpropeller.h:42
u8 getMdlType()
Definition d_a_obj_swpropeller.h:31
s16 mRotateSpeed
Definition d_a_obj_swpropeller.h:40
request_of_phase_process_class mPhase
Definition d_a_obj_swpropeller.h:35
void initBaseMtx()
Definition d_a_obj_swpropeller.cpp:40
int setRotateTime()
Definition d_a_obj_swpropeller.cpp:168
u8 field_0x83a
Definition d_a_obj_swpropeller.h:50
u8 field_0x83d
Definition d_a_obj_swpropeller.h:53
int create()
Definition d_a_obj_swpropeller.cpp:142
u8 field_0x839
Definition d_a_obj_swpropeller.h:49
STATIC_ASSERT(sizeof(daObjSwPr_c)==0x840)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
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