Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_swspinner.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_SWSPINNER_H
2#define D_A_OBJ_SWSPINNER_H
3
5#include "d/d_bg_w.h"
7
17public:
18 /* 80D00174 */ void initBaseMtx();
19 /* 80D001CC */ void setBaseMtx();
20 /* 80D00284 */ int Create();
21 /* 80D0035C */ int CreateHeap();
22 /* 80D00498 */ int create1st();
23 /* 80D00518 */ int Execute(Mtx**);
24 /* 80D00890 */ int Draw();
25 /* 80D00954 */ int Delete();
26
27 u8 getSwBit() { return fopAcM_GetParamBit(this, 0, 8); }
28 u8 getSwBit2() { return fopAcM_GetParamBit(this, 8, 8); }
29 int GetRotSpeedY() { return mRotSpeedY; }
30 f32 GetR() { return 100.0f; }
31
33 /* 0x5A8 */ J3DModel* mpModelA;
34 /* 0x5AC */ J3DModel* mpModelB;
35 /* 0x5B0 */ dBgW* mpBgW2;
36 /* 0x5B4 */ Mtx mMtx;
37 /* 0x5E4 */ f32 mPartBHeight;
38 /* 0x5E8 */ bool mSpinnerIn;
39 /* 0x5E9 */ bool mPrevSpinnerIn;
40 /* 0x5EA */ bool mCanUse;
41 /* 0x5EB */ bool mPrevIsSwbit2;
42 /* 0x5EC */ s16 mPrevAngle;
43 /* 0x5EE */ s16 mRotSpeedY;
44 /* 0x5F0 */ s16 mCount;
45};
46
48
49#endif /* D_A_OBJ_SWSPINNER_H */
Definition d_bg_s_movebg_actor.h:10
Definition d_bg_w.h:252
Spinner Switch.
Definition d_a_obj_swspinner.h:16
J3DModel * mpModelB
Definition d_a_obj_swspinner.h:34
J3DModel * mpModelA
Definition d_a_obj_swspinner.h:33
int create1st()
Definition d_a_obj_swspinner.cpp:105
f32 GetR()
Definition d_a_obj_swspinner.h:30
s16 mCount
Definition d_a_obj_swspinner.h:44
u8 getSwBit()
Definition d_a_obj_swspinner.h:27
int Delete()
Definition d_a_obj_swspinner.cpp:202
void setBaseMtx()
Definition d_a_obj_swspinner.cpp:41
int Execute(Mtx **)
Definition d_a_obj_swspinner.cpp:118
bool mPrevSpinnerIn
Definition d_a_obj_swspinner.h:39
u8 getSwBit2()
Definition d_a_obj_swspinner.h:28
dBgW * mpBgW2
Definition d_a_obj_swspinner.h:35
bool mSpinnerIn
Definition d_a_obj_swspinner.h:38
int Create()
Definition d_a_obj_swspinner.cpp:56
s16 mPrevAngle
Definition d_a_obj_swspinner.h:42
f32 mPartBHeight
Definition d_a_obj_swspinner.h:37
Mtx mMtx
Definition d_a_obj_swspinner.h:36
s16 mRotSpeedY
Definition d_a_obj_swspinner.h:43
bool mCanUse
Definition d_a_obj_swspinner.h:40
void initBaseMtx()
Definition d_a_obj_swspinner.cpp:34
request_of_phase_process_class mPhase
Definition d_a_obj_swspinner.h:32
bool mPrevIsSwbit2
Definition d_a_obj_swspinner.h:41
int Draw()
Definition d_a_obj_swspinner.cpp:189
int GetRotSpeedY()
Definition d_a_obj_swspinner.h:29
int CreateHeap()
Definition d_a_obj_swspinner.cpp:80
STATIC_ASSERT(sizeof(daObjSwSpinner_c)==0x5F4)
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_hozelda.cpp:14
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8