Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_dshutter.h
Go to the documentation of this file.
1#ifndef D_A_DSHUTTER_H
2#define D_A_DSHUTTER_H
3
5#include "d/d_com_inf_game.h"
6
15class daDsh_c : public dBgS_MoveBgActor {
16public:
32
33 /* 80467498 */ ~daDsh_c();
34 /* 80467694 */ void setMtx();
35 /* 80467708 */ void setAction(daDsh_c::action_c*);
36 /* 8046772C */ int callInit();
37 /* 8046777C */ int callExecute();
38 /* 804677D4 */ int initOpenWait();
39 /* 804677E4 */ int executeOpenWait();
40 /* 80467840 */ int initOpen();
41 /* 80467988 */ int executeOpen();
42 /* 80467A64 */ int initCloseWait();
43 /* 80467A80 */ int executeCloseWait();
44 /* 80467ADC */ int initClose();
45 /* 80467B04 */ int executeClose();
46
47 /* 8046751C */ virtual int CreateHeap();
48 /* 80467640 */ virtual int Execute(f32 (**)[3][4]);
49 /* 8046759C */ virtual int Draw();
50
51 inline int create();
52
53 u8 getType() { return (fopAcM_GetParam(this) >> 8) & 0xF; }
54 int getSw() { return fopAcM_GetParam(this) & 0xFF; }
55
56 u8 getOpenTiltTime() { return 0; }
61
62 u8 getCloseTiltTime() { return 0; }
67
68 static f32 const OPEN_SIZE;
69 static f32 const OPEN_ACCEL;
70 static f32 const OPEN_SPEED;
71 static f32 const OPEN_BOUND_SPEED;
72 static f32 const OPEN_BOUND_RATIO;
73 static f32 const CLOSE_ACCEL;
74 static f32 const CLOSE_SPEED;
75 static f32 const CLOSE_BOUND_SPEED;
76 static f32 const CLOSE_BOUND_RATIO;
77
79 /* 0x5B0 */ J3DModel* mpModel;
80 /* 0x5B4 */ action_c* mpAction;
81 /* 0x5B8 */ s16 mTiltTime;
82 /* 0x5BA */ u8 mSw;
83 /* 0x5BB */ u8 mType;
84};
85
86#endif /* D_A_DSHUTTER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_s_movebg_actor.h:10
Definition d_com_inf_game.h:67
Definition d_a_dshutter.h:17
action_c(actionFunc i_initFunc, actionFunc i_execFunc)
Definition d_a_dshutter.h:21
actionFunc & getExecute()
Definition d_a_dshutter.h:27
actionFunc & getInit()
Definition d_a_dshutter.h:26
int(daDsh_c::* actionFunc)()
Definition d_a_dshutter.h:19
actionFunc mExecuteFunc
Definition d_a_dshutter.h:30
actionFunc mInitFunc
Definition d_a_dshutter.h:29
Death Sword Shutter Gate.
Definition d_a_dshutter.h:15
J3DModel * mpModel
Definition d_a_dshutter.h:79
static f32 const CLOSE_ACCEL
Definition d_a_dshutter.h:73
f32 getCloseBoundRatio()
Definition d_a_dshutter.h:66
int executeCloseWait()
Definition d_a_dshutter.cpp:195
dComIfG_resLoader_c mResLoader
Definition d_a_dshutter.h:78
f32 getOpenBoundSpeed()
Definition d_a_dshutter.h:59
int initOpenWait()
Definition d_a_dshutter.cpp:96
int initClose()
Definition d_a_dshutter.cpp:192
int executeOpenWait()
Definition d_a_dshutter.cpp:125
static f32 const CLOSE_BOUND_RATIO
Definition d_a_dshutter.h:76
u8 mType
Definition d_a_dshutter.h:83
void setAction(daDsh_c::action_c *)
Definition d_a_dshutter.cpp:72
f32 getCloseBoundSpeed()
Definition d_a_dshutter.h:65
int create()
Definition d_a_dshutter.cpp:260
~daDsh_c()
Definition d_a_dshutter.cpp:21
static f32 const OPEN_ACCEL
Definition d_a_dshutter.h:69
f32 getCloseSpeed()
Definition d_a_dshutter.h:64
f32 getOpenSpeed()
Definition d_a_dshutter.h:58
virtual int Execute(f32(**)[3][4])
Definition d_a_dshutter.cpp:54
int executeClose()
Definition d_a_dshutter.cpp:213
f32 getOpenBoundRatio()
Definition d_a_dshutter.h:60
static f32 const CLOSE_SPEED
Definition d_a_dshutter.h:74
f32 getCloseAccel()
Definition d_a_dshutter.h:63
static f32 const CLOSE_BOUND_SPEED
Definition d_a_dshutter.h:75
virtual int Draw()
Definition d_a_dshutter.cpp:43
u8 getCloseTiltTime()
Definition d_a_dshutter.h:62
action_c * mpAction
Definition d_a_dshutter.h:80
int initOpen()
Definition d_a_dshutter.cpp:140
s16 mTiltTime
Definition d_a_dshutter.h:81
static f32 const OPEN_BOUND_RATIO
Definition d_a_dshutter.h:72
u8 mSw
Definition d_a_dshutter.h:82
int executeOpen()
Definition d_a_dshutter.cpp:162
static f32 const OPEN_SIZE
Definition d_a_dshutter.h:68
u8 getType()
Definition d_a_dshutter.h:53
static f32 const OPEN_SPEED
Definition d_a_dshutter.h:70
void setMtx()
Definition d_a_dshutter.cpp:63
int callInit()
Definition d_a_dshutter.cpp:78
u8 getOpenTiltTime()
Definition d_a_dshutter.h:56
int getSw()
Definition d_a_dshutter.h:54
static f32 const OPEN_BOUND_SPEED
Definition d_a_dshutter.h:71
f32 getOpenAccel()
Definition d_a_dshutter.h:57
virtual int CreateHeap()
Definition d_a_dshutter.cpp:31
int callExecute()
Definition d_a_dshutter.cpp:87
int initCloseWait()
Definition d_a_dshutter.cpp:159
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
Definition d_a_ep.cpp:155
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8