Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_crope.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CROPE_H
2#define D_A_OBJ_CROPE_H
3
5#include "d/d_cc_d.h"
6
15class daObjCrope_c : public fopAc_ac_c {
16public:
17 /* 80BCCCD8 */ int createHeap();
18 /* 80BCCD64 */ int create();
19 /* 80BCD524 */ ~daObjCrope_c();
20 /* 80BCD6C4 */ void setNormalRopePos();
21 /* 80BCD9EC */ void setRideRopePos();
22 /* 80BCE4FC */ int execute();
23 /* 80BCE9BC */ int draw();
24
26 cXyz* getRopeEndPos() { return &mLineMat.getPos(0)[99]; }
27 cXyz* getRopeVec() { return &mRopeVec; }
29 void onOutFlg() { mOutFlg = true; }
32
37
38 void rideKeep() {
39 setFrontJoint(-2);
40 setBackJoint(-1);
41 }
42
43 void offRide() {
44 setFrontJoint(-1);
45 setBackJoint(-1);
46 }
47
49 mCoCancelTimer = 30;
50 }
51
52private:
54 /* 0x0570 */ dCcD_Stts mCcStts;
55 /* 0x05AC */ dCcD_Sph mCollider;
56 /* 0x06E4 */ Mtx field_0x6e4;
57 /* 0x0714 */ u8 field_0x714;
58 /* 0x0715 */ u8 mOutFlg;
59 /* 0x0716 */ u8 mCoCancelTimer;
60 /* 0x0718 */ int mFrontJoint;
61 /* 0x071C */ int mBackJoint;
62 /* 0x0720 */ f32 field_0x720;
63 /* 0x0724 */ f32 field_0x724;
64 /* 0x0728 */ cXyz mRopeVec;
65 /* 0x0734 */ cXyz mPlayerNearPos;
66 /* 0x0740 */ cXyz field_0x740[98];
67 /* 0x0BD8 */ cXyz field_0xbd8[98];
69};
70
71STATIC_ASSERT(sizeof(daObjCrope_c) == 0x10ac);
72
73
74#endif /* D_A_OBJ_CROPE_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_cc_d.h:432
Wolf Tightrope.
Definition d_a_obj_crope.h:15
void setCoCancelTimer()
Definition d_a_obj_crope.h:48
void onOutFlg()
Definition d_a_obj_crope.h:29
cXyz mRopeVec
Definition d_a_obj_crope.h:64
void setNormalRopePos()
Definition d_a_obj_crope.cpp:462
int draw()
Definition d_a_obj_crope.cpp:578
int mBackJoint
Definition d_a_obj_crope.h:61
Mtx field_0x6e4
Definition d_a_obj_crope.h:56
cXyz field_0x740[98]
Definition d_a_obj_crope.h:66
void setRideRopePos()
Definition d_a_obj_crope.cpp:557
void setBackJoint(int i_jointNo)
Definition d_a_obj_crope.h:31
void offRide()
Definition d_a_obj_crope.h:43
cXyz field_0xbd8[98]
Definition d_a_obj_crope.h:67
u8 field_0x714
Definition d_a_obj_crope.h:57
cXyz & getPlayerNearPos()
Definition d_a_obj_crope.h:28
u8 mOutFlg
Definition d_a_obj_crope.h:58
int execute()
Definition d_a_obj_crope.cpp:562
u8 mCoCancelTimer
Definition d_a_obj_crope.h:59
f32 field_0x724
Definition d_a_obj_crope.h:63
cXyz * getRopeEndPos()
Definition d_a_obj_crope.h:26
request_of_phase_process_class mPhase
Definition d_a_obj_crope.h:53
mDoExt_3DlineMat1_c mLineMat
Definition d_a_obj_crope.h:68
cXyz mPlayerNearPos
Definition d_a_obj_crope.h:65
void setFrontJoint(int i_jointNo)
Definition d_a_obj_crope.h:30
~daObjCrope_c()
Definition d_a_obj_crope.cpp:405
dCcD_Sph mCollider
Definition d_a_obj_crope.h:55
int mFrontJoint
Definition d_a_obj_crope.h:60
void rideKeep()
Definition d_a_obj_crope.h:38
dCcD_Stts mCcStts
Definition d_a_obj_crope.h:54
int create()
Definition d_a_obj_crope.cpp:300
cXyz * getRopeVec()
Definition d_a_obj_crope.h:27
f32 getStartRate(const cXyz *param_0)
Definition d_a_obj_crope.h:33
f32 field_0x720
Definition d_a_obj_crope.h:62
cXyz * getRopeStartPos()
Definition d_a_obj_crope.h:25
int createHeap()
Definition d_a_obj_crope.cpp:97
Definition m_Do_ext.h:519
cXyz * getPos(int i_idx)
Definition m_Do_ext.h:528
STATIC_ASSERT(sizeof(daObjCrope_c)==0x10ac)
f32 Mtx[3][4]
Definition mtx.h:15
f32 z
Definition vec.h:11
f32 x
Definition vec.h:11
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8