Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_rstair.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_RSTAIR_H
2#define D_A_OBJ_RSTAIR_H
3
6
16public:
19
24
31
32 /* 80CC1558 */ void initBaseMtx();
33 /* 80CC1614 */ void setBaseMtx();
34 /* 80CC16B0 */ int Create();
35 /* 80CC17F0 */ int CreateHeap();
36 /* 80CC1A28 */ int create1st();
37 /* 80CC1AF0 */ int Execute(Mtx**);
38 /* 80CC1BA4 */ void move_proc_call();
39 /* 80CC1C30 */ void init_modeWait();
40 /* 80CC1CF0 */ void modeWait();
41 /* 80CC1DF8 */ void init_modeRotate();
42 /* 80CC1EC8 */ void modeRotate();
43 /* 80CC2024 */ void event_proc_call();
44 /* 80CC20E0 */ void actionWait();
45 /* 80CC2158 */ void actionOrderEvent();
46 /* 80CC21C0 */ void actionEvent();
47 /* 80CC221C */ void actionDead();
48 /* 80CC2220 */ int checkChangeSw();
49 /* 80CC22A0 */ void offSwitch(int);
50 /* 80CC2310 */ void onWaterModel();
51 /* 80CC2364 */ void offWaterModel();
52 /* 80CC23C4 */ int Draw();
53 /* 80CC25C0 */ int Delete();
54
55 u8 getSwNo() { return mSwNo; }
56 u8 getSwNo2() { return (mSwNo >> 8) & 0xff; }
57 u8 getSwNo3() { return fopAcM_GetParamBit(this, 8, 8); }
58 u8 getEventID() { return fopAcM_GetParamBit(this, 0, 8); }
60
61private:
63 /* 0x5A8 */ J3DModel* mModel;
64 /* 0x5AC */ J3DModel* mWaterModels[2];
65 /* 0x5B4 */ mDoExt_btkAnm* mBtks[2];
66 /* 0x5BC */ bool mWaterModelOn;
67 /* 0x5C0 */ dBgW* mWaterBgw;
68 /* 0x5C4 */ int field_0x5c4;
69 /* 0x5C8 */ s16 field_0x5c8;
70 /* 0x5CA */ u16 mSwNo;
71 /* 0x5CC */ u8 mInit;
72 /* 0x5CD */ u8 mMode;
73 /* 0x5CE */ s16 mAdditionalRotY;
74 /* 0x5D0 */ s16 mAngleStep;
75 /* 0x5D2 */ s16 mStepTarget;
76 /* 0x5D4 */ s16 mTargetAngle;
77 /* 0x5D6 */ u8 mIsSw[4];
78 /* 0x5DA */ s16 field_0x5da;
79 /* 0x5DC */ s16 field_0x5dc;
80 /* 0x5DE */ s16 mEventId;
81 /* 0x5E0 */ u8 mMapToolId;
82 /* 0x5E1 */ u8 mAction;
83 /* 0x5E2 */ bool field_0x5e2;
84 /* 0x5E3 */ s8 field_0x5e3;
85};
86
88
89
90#endif /* D_A_OBJ_RSTAIR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_bg_s_movebg_actor.h:10
Definition d_bg_w.h:252
Rail Staircase.
Definition d_a_obj_rstair.h:15
void(daObjRotStair_c::* actionFunc)()
Definition d_a_obj_rstair.h:17
void offSwitch(int)
Definition d_a_obj_rstair.cpp:297
void(daObjRotStair_c::* modeFunc)()
Definition d_a_obj_rstair.h:18
void actionOrderEvent()
Definition d_a_obj_rstair.cpp:264
void modeRotate()
Definition d_a_obj_rstair.cpp:227
void offWaterModel()
Definition d_a_obj_rstair.cpp:317
u8 mMode
Definition d_a_obj_rstair.h:72
u8 getSwNo()
Definition d_a_obj_rstair.h:55
u8 getEventID()
Definition d_a_obj_rstair.h:58
s16 mAngleStep
Definition d_a_obj_rstair.h:74
mDoExt_btkAnm * mBtks[2]
Definition d_a_obj_rstair.h:65
int Delete()
Definition d_a_obj_rstair.cpp:361
s16 mTargetAngle
Definition d_a_obj_rstair.h:76
dBgW * mWaterBgw
Definition d_a_obj_rstair.h:67
int CreateHeap()
Definition d_a_obj_rstair.cpp:88
void actionWait()
Definition d_a_obj_rstair.cpp:254
int field_0x5c4
Definition d_a_obj_rstair.h:68
s16 mEventId
Definition d_a_obj_rstair.h:80
void modeWait()
Definition d_a_obj_rstair.cpp:186
u8 mAction
Definition d_a_obj_rstair.h:82
u8 mIsSw[4]
Definition d_a_obj_rstair.h:77
void init_modeRotate()
Definition d_a_obj_rstair.cpp:209
u8 getSwNo3()
Definition d_a_obj_rstair.h:57
u8 mInit
Definition d_a_obj_rstair.h:71
void initBaseMtx()
Definition d_a_obj_rstair.cpp:12
int checkChangeSw()
Definition d_a_obj_rstair.cpp:287
void setBaseMtx()
Definition d_a_obj_rstair.cpp:23
bool mWaterModelOn
Definition d_a_obj_rstair.h:66
bool field_0x5e2
Definition d_a_obj_rstair.h:83
void move_proc_call()
Definition d_a_obj_rstair.cpp:161
int Execute(Mtx **)
Definition d_a_obj_rstair.cpp:143
Action
Definition d_a_obj_rstair.h:25
@ ACTION_WAIT
Definition d_a_obj_rstair.h:26
@ ACTION_ORDER_EVENT
Definition d_a_obj_rstair.h:27
@ ACTION_DEAD
Definition d_a_obj_rstair.h:29
@ ACTION_EVENT
Definition d_a_obj_rstair.h:28
void setAction(u8 action)
Definition d_a_obj_rstair.h:59
s16 field_0x5dc
Definition d_a_obj_rstair.h:79
void actionEvent()
Definition d_a_obj_rstair.cpp:274
s16 mStepTarget
Definition d_a_obj_rstair.h:75
s8 field_0x5e3
Definition d_a_obj_rstair.h:84
s16 mAdditionalRotY
Definition d_a_obj_rstair.h:73
u8 getSwNo2()
Definition d_a_obj_rstair.h:56
void actionDead()
Definition d_a_obj_rstair.cpp:282
J3DModel * mModel
Definition d_a_obj_rstair.h:63
s16 field_0x5c8
Definition d_a_obj_rstair.h:69
u16 mSwNo
Definition d_a_obj_rstair.h:70
s16 field_0x5da
Definition d_a_obj_rstair.h:78
u8 mMapToolId
Definition d_a_obj_rstair.h:81
void onWaterModel()
Definition d_a_obj_rstair.cpp:308
Mode
Definition d_a_obj_rstair.h:20
@ MODE_ROTATE
Definition d_a_obj_rstair.h:22
@ MODE_WAIT
Definition d_a_obj_rstair.h:21
int Draw()
Definition d_a_obj_rstair.cpp:327
int Create()
Definition d_a_obj_rstair.cpp:49
int create1st()
Definition d_a_obj_rstair.cpp:118
void init_modeWait()
Definition d_a_obj_rstair.cpp:171
J3DModel * mWaterModels[2]
Definition d_a_obj_rstair.h:64
request_of_phase_process_class mPhase
Definition d_a_obj_rstair.h:62
void event_proc_call()
Definition d_a_obj_rstair.cpp:242
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daObjRotStair_c)==0x5e4)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8