Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_canoe.h
Go to the documentation of this file.
1#ifndef D_A_CANOE_H
2#define D_A_CANOE_H
3
5#include "d/d_cc_d.h"
6#include "d/d_bg_s_acch.h"
8
17class daCanoe_c : public fopAc_ac_c {
18public:
19 /* 804DA5F4 */ void createHeap();
20 /* 804DA740 */ void create();
21 /* 804DAEA8 */ ~daCanoe_c();
22 /* 804DB008 */ void setRoomInfo();
23 /* 804DB0B0 */ void setMatrix();
24 /* 804DB3F4 */ void setCollision();
25 /* 804DB578 */ void posMove();
26 /* 804DB754 */ void checkGomikabe(cBgS_PolyInfo&);
27 /* 804DB7AC */ void setFrontBackPos();
28 /* 804DB828 */ void frontBackBgCheck();
29 /* 804DC330 */ void setPaddleEffect();
30 /* 804DC554 */ void setCanoeSliderEffect();
31 /* 804DC7B4 */ void execute();
32 /* 804DD35C */ void draw();
33
34 J3DModel* getModel() { return mpModel; }
36 bool checkTandem() { return fopAcM_GetParam(this) == 2; }
37 bool checkJumpRideFlg() { return mJumpRideFlg; }
38 void incShapeOffsetY(f32 offset) { mShapeOffsetY += offset; }
45
51
57
59 field_0x1454 = 0x40;
60 field_0x1456 = 0xF;
61 }
62
64 field_0x1454 = -0x40;
65 field_0x1456 = 0xF;
66 }
67
68private:
70 /* 0x0570 */ J3DModel* mpModel;
71 /* 0x0574 */ J3DModel* mpPaddleModel;
72 /* 0x0578 */ J3DModel* mpMaskModel;
73 /* 0x057C */ dCcD_Stts field_0x57c;
74 /* 0x05B8 */ dBgS_AcchCir field_0x5b8[9];
75 /* 0x07F8 */ dBgS_LinkAcch field_0x7f8[3];
76 /* 0x0D80 */ dCcD_Cyl field_0xd80[5];
79 /* 0x143C */ char* mResName;
80 /* 0x1440 */ u8 mPaddleWaterType;
81 /* 0x1441 */ u8 field_0x1441;
82 /* 0x1442 */ u8 field_0x1442;
83 /* 0x1443 */ u8 mJumpRideFlg;
84 /* 0x1444 */ u8 field_0x1444;
85 /* 0x1445 */ u8 mReverb;
86 /* 0x1446 */ u8 field_0x1446;
87 /* 0x1448 */ s16 field_0x1448;
88 /* 0x144A */ s16 field_0x144a;
89 /* 0x144C */ s16 mAimAngle;
90 /* 0x144E */ s16 field_0x144e;
91 /* 0x1450 */ s16 field_0x1450;
92 /* 0x1452 */ s16 field_0x1452;
93 /* 0x1454 */ s16 field_0x1454;
94 /* 0x1456 */ s16 field_0x1456;
95 /* 0x1458 */ s16 field_0x1458;
96 /* 0x145A */ s16 field_0x145a;
97 /* 0x145C */ s16 field_0x145c;
98 /* 0x145E */ s16 field_0x145e;
99 /* 0x1460 */ s16 field_0x1460;
100 /* 0x1464 */ fpc_ProcID mRodID;
101 /* 0x1468 */ f32 mAimSpeed;
102 /* 0x146C */ f32 mShapeOffsetY;
103 /* 0x1470 */ f32 field_0x1470;
104 /* 0x1474 */ u32 field_0x1474;
105 /* 0x1478 */ u8 field_0x1478[0x1480 - 0x1478];
106 /* 0x1480 */ u32 field_0x1480;
107 /* 0x1484 */ u8 field_0x1484[0x1490 - 0x1484];
108 /* 0x1490 */ u32 field_0x1490;
109 /* 0x1494 */ cXyz field_0x1494;
110 /* 0x14A0 */ cXyz field_0x14a0;
111 /* 0x14AC */ cXyz field_0x14ac;
112 /* 0x14B8 */ cXyz field_0x14b8;
113 /* 0x14C4 */ cXyz field_0x14c4;
114 /* 0x14D0 */ cXyz field_0x14d0;
115};
116
117STATIC_ASSERT(sizeof(daCanoe_c) == 0x14dc);
118
119#endif /* D_A_CANOE_H */
@ Z2SE_AL_CANOE_FALL_DW
Definition Z2SeMgr.h:672
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition Z2SoundObject.h:34
virtual Z2SoundHandlePool * startSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:255
Definition d_bg_s_acch.h:234
Definition d_bg_s_lin_chk.h:20
Canoe.
Definition d_a_canoe.h:17
u8 field_0x1441
Definition d_a_canoe.h:81
s16 field_0x145a
Definition d_a_canoe.h:96
J3DModel * mpPaddleModel
Definition d_a_canoe.h:71
void setMatrix()
Definition d_a_canoe.cpp:636
void setAimSpeed(f32 i_speed)
Definition d_a_canoe.h:46
fpc_ProcID mRodID
Definition d_a_canoe.h:100
s16 field_0x145c
Definition d_a_canoe.h:97
~daCanoe_c()
Definition d_a_canoe.cpp:491
s16 field_0x1460
Definition d_a_canoe.h:99
s16 field_0x144e
Definition d_a_canoe.h:90
void setPaddleOffsetRight()
Definition d_a_canoe.h:58
u8 field_0x1442
Definition d_a_canoe.h:82
f32 field_0x1470
Definition d_a_canoe.h:103
u8 mReverb
Definition d_a_canoe.h:85
cXyz field_0x14c4
Definition d_a_canoe.h:113
void startInitPaddleWater()
Definition d_a_canoe.h:43
void checkGomikabe(cBgS_PolyInfo &)
Definition d_a_canoe.cpp:667
char * mResName
Definition d_a_canoe.h:79
s16 mAimAngle
Definition d_a_canoe.h:89
dBgS_LinkLinChk field_0x13ac
Definition d_a_canoe.h:77
void onRodID(fpc_ProcID i_rodID)
Definition d_a_canoe.h:40
void posMove()
Definition d_a_canoe.cpp:661
J3DModel * mpModel
Definition d_a_canoe.h:70
void setFrontBackPos()
Definition d_a_canoe.cpp:672
void execute()
Definition d_a_canoe.cpp:936
void setPosAndAngle(cXyz const *i_pos, s16 i_angle)
Definition d_a_canoe.h:52
u8 field_0x1446
Definition d_a_canoe.h:86
void setPaddleOffsetLeft()
Definition d_a_canoe.h:63
s16 field_0x1458
Definition d_a_canoe.h:95
u8 mPaddleWaterType
Definition d_a_canoe.h:80
f32 mAimSpeed
Definition d_a_canoe.h:101
u8 field_0x1444
Definition d_a_canoe.h:84
void incShapeOffsetY(f32 offset)
Definition d_a_canoe.h:38
cXyz field_0x14a0
Definition d_a_canoe.h:110
u32 field_0x1490
Definition d_a_canoe.h:108
void setAimAngle(s16 i_angle)
Definition d_a_canoe.h:47
u8 field_0x1484[0x1490 - 0x1484]
Definition d_a_canoe.h:107
bool checkTandem()
Definition d_a_canoe.h:36
u32 field_0x1480
Definition d_a_canoe.h:106
request_of_phase_process_class mPhaseReq
Definition d_a_canoe.h:69
void setCollision()
Definition d_a_canoe.cpp:646
J3DModel * mpMaskModel
Definition d_a_canoe.h:72
bool checkPaddleChangeWater()
Definition d_a_canoe.h:42
void create()
Definition d_a_canoe.cpp:350
dCcD_Stts field_0x57c
Definition d_a_canoe.h:73
u8 mJumpRideFlg
Definition d_a_canoe.h:83
s16 field_0x1448
Definition d_a_canoe.h:87
cXyz field_0x14d0
Definition d_a_canoe.h:114
void frontBackBgCheck()
Definition d_a_canoe.cpp:726
void draw()
Definition d_a_canoe.cpp:982
fpc_ProcID getRodID()
Definition d_a_canoe.h:44
J3DModel * getModel()
Definition d_a_canoe.h:34
void setPaddleEffect()
Definition d_a_canoe.cpp:857
dBgS_LinkAcch field_0x7f8[3]
Definition d_a_canoe.h:75
void incShapeAngleZ(s16 incZ)
Definition d_a_canoe.h:39
dBgS_AcchCir field_0x5b8[9]
Definition d_a_canoe.h:74
bool checkJumpRideFlg()
Definition d_a_canoe.h:37
s16 field_0x144a
Definition d_a_canoe.h:88
void createHeap()
Definition d_a_canoe.cpp:198
void setWaterFallDownSe()
Definition d_a_canoe.h:41
u8 field_0x1478[0x1480 - 0x1478]
Definition d_a_canoe.h:105
MtxP getModelMtx()
Definition d_a_canoe.h:35
cXyz field_0x14b8
Definition d_a_canoe.h:112
void setCanoeSliderEffect()
Definition d_a_canoe.cpp:883
s16 field_0x1452
Definition d_a_canoe.h:92
void setRoomInfo()
Definition d_a_canoe.cpp:506
cXyz field_0x14ac
Definition d_a_canoe.h:111
cXyz field_0x1494
Definition d_a_canoe.h:109
Z2SoundObjSimple field_0x141c
Definition d_a_canoe.h:78
s16 field_0x1456
Definition d_a_canoe.h:94
s16 field_0x1450
Definition d_a_canoe.h:91
f32 mShapeOffsetY
Definition d_a_canoe.h:102
dCcD_Cyl field_0xd80[5]
Definition d_a_canoe.h:76
s16 field_0x145e
Definition d_a_canoe.h:98
u32 field_0x1474
Definition d_a_canoe.h:104
s16 field_0x1454
Definition d_a_canoe.h:93
STATIC_ASSERT(sizeof(daCanoe_c)==0x14dc)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
unsigned int fpc_ProcID
Definition f_pc_base.h:10
f32(* MtxP)[4]
Definition mtx.h:18
Definition d_a_ep.cpp:155
Mtx & getBaseTRMtx()
Definition J3DModel.h:85
s16 z
Definition vec.h:19
Definition d_a_ep.cpp:134
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
csXyz shape_angle
Definition f_op_actor.h:216
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8