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 void initBaseMtx();
18 void setBaseMtx();
19 int Create();
20 int CreateHeap();
21 int create();
22 int setRotateTime();
23 void switchCtrl();
25 void execute_type_wind();
26 int execute();
27 int draw();
28 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 */
Definition J3DModel.h:43
Definition d_cc_d.h:461
Definition d_cc_d.h:269
Boomerang Switch.
Definition d_a_obj_swpropeller.h:15
void switchCtrl()
Definition d_a_obj_swpropeller.cpp:160
int execute()
Definition d_a_obj_swpropeller.cpp:277
void execute_type_wind()
Definition d_a_obj_swpropeller.cpp:219
int CreateHeap()
Definition d_a_obj_swpropeller.cpp:118
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:304
int getSwbit()
Definition d_a_obj_swpropeller.h:32
int draw()
Definition d_a_obj_swpropeller.cpp:296
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:77
s16 mRotateTime
Definition d_a_obj_swpropeller.h:43
void execute_type_boomerang()
Definition d_a_obj_swpropeller.cpp:170
void setBaseMtx()
Definition d_a_obj_swpropeller.cpp:44
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:39
int setRotateTime()
Definition d_a_obj_swpropeller.cpp:155
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:130
u8 field_0x839
Definition d_a_obj_swpropeller.h:49
Definition f_op_actor.h:230
STATIC_ASSERT(sizeof(daObjSwPr_c)==0x840)
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
unsigned short int u16
Definition types.h:10
unsigned char u8
Definition types.h:8
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:196
Definition c_phase.h:17