Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_gra2.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_GRA2_H
2#define D_A_OBJ_GRA2_H
3
5
14class daObj_GrA_c : public fopAc_ac_c {
15public:
17 public:
18 /* 80C04E14 */ ~daObj_GrA_prtclMngr_c();
19 /* 80C04E50 */ daObj_GrA_prtclMngr_c();
20 };
21
22 /* 80BFFF58 */ void rideCallBack(dBgW*, fopAc_ac_c*, fopAc_ac_c*);
23 /* 80BFFF70 */ daObj_GrA_c();
24 /* 80C0011C */ ~daObj_GrA_c();
25 /* 80C003CC */ void create();
26 /* 80C00614 */ void CreateHeap();
27 /* 80C00790 */ void Delete();
28 /* 80C00804 */ void Execute(f32 (**)[3][4]);
29 /* 80C00A44 */ void Draw();
30 /* 80C00ACC */ void jointCtrl(J3DJoint*, J3DModel*);
31 /* 80C00D5C */ void getResName();
32 /* 80C00D74 */ void getMode();
33 /* 80C00DF8 */ void getPathNo();
34 /* 80C00E04 */ void getTagNo();
35 /* 80C00E10 */ void getJumpType();
36 /* 80C00E1C */ void isDelete();
37 /* 80C00EFC */ void restart();
38 /* 80C010D4 */ void init();
39 /* 80C013B0 */ void setBaseAnm(int, f32);
40 /* 80C014F4 */ void setFaceAnm(int, bool, f32);
41 /* 80C01698 */ void setFaceBtp(int);
42 /* 80C0178C */ void setBaseMotion(int, f32);
43 /* 80C017AC */ void setFaceMotion(int, f32);
44 /* 80C017F0 */ void calcMotion();
45 /* 80C018C0 */ void checkProcess(int (daObj_GrA_c::*)(void*));
46 /* 80C018F4 */ void setProcess(int (daObj_GrA_c::*)(void*));
47 /* 80C019B8 */ void setParam();
48 /* 80C01C18 */ void checkEvent();
49 /* 80C01D7C */ void mainProc();
50 /* 80C01FE4 */ void adjustShapeAngle();
51 /* 80C01FE8 */ void setMtx(int);
52 /* 80C02614 */ void setCollisions();
53 /* 80C02970 */ void setAttnPos();
54 /* 80C02A5C */ void drawOtherMdls();
55 /* 80C02A60 */ bool dbgDraw();
56 /* 80C02A68 */ void ppMoveInit();
57 /* 80C02AD4 */ void setLookMode(int);
58 /* 80C02AE8 */ void lookat();
59 /* 80C0308C */ void hitChk();
60 /* 80C031E4 */ void wait(void*);
61 /* 80C0335C */ void talk(void*);
62 /* 80C035B8 */ void ctrlMsgAnm(int&, int&, fopAc_ac_c*);
63 /* 80C03720 */ void checkTagGraSub(fopAc_ac_c*);
64 /* 80C03764 */ void fallAbyssCheck();
65 /* 80C03830 */ void setPrtcl();
66 /* 80C03B14 */ void base000(int);
67 /* 80C03B48 */ void base001(int);
68 /* 80C03B7C */ void base003(int);
69 /* 80C03C1C */ void base004(int);
70 /* 80C03CBC */ void base005(int);
71 /* 80C03D54 */ void base006(int);
72 /* 80C03D88 */ void base007(int);
73 /* 80C03DF0 */ void base008(int);
74 /* 80C03E74 */ void base009(int);
75 /* 80C03F14 */ void base010(int);
76 /* 80C03FC0 */ void base013(int);
77 /* 80C04118 */ void base016(int);
78 /* 80C04180 */ void base017(int);
79 /* 80C041E8 */ void base018(int);
80 /* 80C04260 */ void base019(int);
81 /* 80C042D4 */ void base020(int);
82 /* 80C04308 */ void base021(int);
83 /* 80C0433C */ void base022(int);
84 /* 80C04370 */ void base023(int);
85 /* 80C043A4 */ void base024(int);
86 /* 80C043D8 */ void base025(int);
87 /* 80C0440C */ void base026(int);
88 /* 80C04440 */ void face000(int);
89 /* 80C04478 */ void face003(int);
90 /* 80C04518 */ void face004(int);
91 /* 80C045B8 */ void face005(int);
92 /* 80C045F0 */ void face006(int);
93 /* 80C04628 */ void face007(int);
94 /* 80C04660 */ void face008(int);
95 /* 80C04700 */ void face009(int);
96 /* 80C047A0 */ void face010(int);
97 /* 80C047D8 */ void face011(int);
98 /* 80C04810 */ void face012(int);
99 /* 80C04848 */ void face016(int);
100 /* 80C04880 */ void face017(int);
101 /* 80C048B8 */ void face999(int);
102 /* 80C048F8 */ void evtcutTalk(int, int);
103 /* 80C04A0C */ void setFaceTalkAfter();
104 /* 80C0536C */ void getSrchCircleR();
105 /* 80C053C4 */ void standWait(void*);
106 /* 80C05920 */ void walk(void*);
107 /* 80C05F64 */ void defence(void*);
108 /* 80C061F4 */ void toStone(void*);
109 /* 80C067D8 */ void step(void*);
110 /* 80C06CDC */ void rollReturn(void*);
111 /* 80C0780C */ void soldierDemoSkip();
112 /* 80C078A8 */ void soldierDemo(void*);
113 /* 80C07C40 */ void getSrchLinkR();
114 /* 80C07C98 */ void getSrchGraR();
115 /* 80C07CF0 */ void getSpeed();
116 /* 80C07D38 */ void standRoll(void*);
117 /* 80C083F0 */ void rollDemo(void*);
118 /* 80C08804 */ void rollAttack(void*);
119 /* 80C09298 */ void rollAttacked(void*);
120 /* 80C09918 */ void rollEscape(void*);
121 /* 80C09F08 */ void rollLanding();
122 /* 80C0A018 */ void thrown(void*);
123 /* 80C0A120 */ void demo_camera();
124 /* 80C0AF94 */ void rollAttackedDemo();
125 /* 80C0B9AC */ void graThrowDemo();
126 /* 80C0BD90 */ void setCarryStatus();
127 /* 80C0BE5C */ void checkThrow();
128 /* 80C0BF34 */ void calcCatchPos(f32, int);
129 /* 80C0C348 */ void initCrazyBeforeCatch(int);
130 /* 80C0C364 */ void executeCrazyBeforeCatch();
131 /* 80C0C3E0 */ void initCrazyCatch(int);
132 /* 80C0C478 */ void executeCrazyCatch();
133 /* 80C0C5F0 */ void initCrazyThrow(int);
134 /* 80C0C690 */ void executeCrazyThrow();
135 /* 80C0C84C */ void initCrazyAttack();
136 /* 80C0CA64 */ void executeCrazyJumping();
137 /* 80C0CDBC */ void modeChangeCheck();
138 /* 80C0CF98 */ void checkGraSub(fopAc_ac_c*);
139 /* 80C0D000 */ void waitDemo(void*);
140 /* 80C0D2FC */ void skipDemoGra();
141 /* 80C0D3E0 */ void startDemo(void*);
142 /* 80C0EFC4 */ void turn(s16, f32, int);
143 /* 80C0F17C */ void turn_step(s16, int, int, int);
144 /* 80C0F330 */ void chkFindPlayer2(int, s16);
145 /* 80C0F668 */ void chkPointInArea(cXyz, cXyz, cXyz, s16);
146 /* 80C0F5A4 */ void chkPointInArea(cXyz, cXyz, f32, f32, f32, s16);
147 /* 80C0F6E0 */ void chkActorInSight2(fopAc_ac_c*, f32, s16);
148 /* 80C0F7EC */ void getAttentionPos(fopAc_ac_c*);
149 /* 80C0F860 */ void standWaitJump(void*);
150
151 bool checkNpcObjGra() { return field_0xa7e == 1; }
152 void setCrazyDash() { field_0xa48 |= 4; }
153 void setCrazyCatch() { field_0xa48 |= 2; }
155 void setCrazyThrowRight() { field_0xa48 |= 0x10; }
156
157 static u8 mBaseMotionList[264];
158 static u8 mFaceMotionList[168];
159
160private:
161 /* 0x0568 */ u8 field_0x568[0xA48 - 0x568];
162 /* 0x0A48 */ u16 field_0xa48;
163 /* 0x0A4A */ u8 field_0xa4a[0xA7E - 0xA4A];
164 /* 0x0A7E */ u8 field_0xa7e;
165 /* 0x0A7F */ u8 field_0xa7f[0x20a4 - 0xA7F];
166};
167
168STATIC_ASSERT(sizeof(daObj_GrA_c) == 0x20a4);
169
171public:
172 /* 80C04B1C */ ~daObj_GrA_Param_c();
173
174 static u8 const m[192];
175};
176
177#endif /* D_A_OBJ_GRA2_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_w.h:252
Definition d_a_obj_gra2.h:170
static u8 const m[192]
Definition d_a_obj_gra2.h:1623
~daObj_GrA_Param_c()
Definition d_a_obj_gra2.cpp:3356
Definition d_a_obj_gra2.h:16
daObj_GrA_prtclMngr_c()
Definition d_a_obj_gra2.cpp:3416
~daObj_GrA_prtclMngr_c()
Definition d_a_obj_gra2.cpp:3410
Goron A.
Definition d_a_obj_gra2.h:14
void getAttentionPos(fopAc_ac_c *)
Definition d_a_obj_gra2.cpp:3780
u8 field_0xa4a[0xA7E - 0xA4A]
Definition d_a_obj_gra2.h:163
u8 field_0xa7f[0x20a4 - 0xA7F]
Definition d_a_obj_gra2.h:165
void setCollisions()
Definition d_a_obj_gra2.cpp:2453
void checkEvent()
Definition d_a_obj_gra2.cpp:1947
void standRoll(void *)
Definition d_a_obj_gra2.cpp:3590
void setCrazyThrowLeft()
Definition d_a_obj_gra2.h:154
void base020(int)
Definition d_a_obj_gra2.cpp:3207
void executeCrazyCatch()
Definition d_a_obj_gra2.cpp:3672
void face006(int)
Definition d_a_obj_gra2.cpp:3262
void face008(int)
Definition d_a_obj_gra2.cpp:3272
void setProcess(int(daObj_GrA_c::*)(void *))
Definition d_a_obj_gra2.cpp:1932
void setFaceAnm(int, bool, f32)
Definition d_a_obj_gra2.cpp:1898
void ctrlMsgAnm(int &, int &, fopAc_ac_c *)
Definition d_a_obj_gra2.cpp:2581
void toStone(void *)
Definition d_a_obj_gra2.cpp:3550
void turn(s16, f32, int)
Definition d_a_obj_gra2.cpp:3739
void restart()
Definition d_a_obj_gra2.cpp:1768
void base005(int)
Definition d_a_obj_gra2.cpp:3129
void executeCrazyBeforeCatch()
Definition d_a_obj_gra2.cpp:3661
void base010(int)
Definition d_a_obj_gra2.cpp:3169
void base009(int)
Definition d_a_obj_gra2.cpp:3149
void soldierDemoSkip()
Definition d_a_obj_gra2.cpp:3565
static u8 mBaseMotionList[264]
Definition d_a_obj_gra2.h:1304
void startDemo(void *)
Definition d_a_obj_gra2.cpp:3734
void setBaseAnm(int, f32)
Definition d_a_obj_gra2.cpp:1893
void calcCatchPos(f32, int)
Definition d_a_obj_gra2.cpp:3651
void ppMoveInit()
Definition d_a_obj_gra2.cpp:2500
void base023(int)
Definition d_a_obj_gra2.cpp:3222
void adjustShapeAngle()
Definition d_a_obj_gra2.cpp:2018
void face010(int)
Definition d_a_obj_gra2.cpp:3282
void fallAbyssCheck()
Definition d_a_obj_gra2.cpp:2597
void setCrazyThrowRight()
Definition d_a_obj_gra2.h:155
void lookat()
Definition d_a_obj_gra2.cpp:2560
void drawOtherMdls()
Definition d_a_obj_gra2.cpp:2490
void setMtx(int)
Definition d_a_obj_gra2.cpp:2414
void getJumpType()
Definition d_a_obj_gra2.cpp:1753
void executeCrazyThrow()
Definition d_a_obj_gra2.cpp:3683
u8 field_0x568[0xA48 - 0x568]
Definition d_a_obj_gra2.h:161
void face011(int)
Definition d_a_obj_gra2.cpp:3287
void evtcutTalk(int, int)
Definition d_a_obj_gra2.cpp:3312
void standWait(void *)
Definition d_a_obj_gra2.cpp:3528
void step(void *)
Definition d_a_obj_gra2.cpp:3555
void setAttnPos()
Definition d_a_obj_gra2.cpp:2485
void setBaseMotion(int, f32)
Definition d_a_obj_gra2.cpp:1909
void soldierDemo(void *)
Definition d_a_obj_gra2.cpp:3570
void base003(int)
Definition d_a_obj_gra2.cpp:2660
void checkProcess(int(daObj_GrA_c::*)(void *))
Definition d_a_obj_gra2.cpp:1926
void setCrazyCatch()
Definition d_a_obj_gra2.h:153
void rollAttacked(void *)
Definition d_a_obj_gra2.cpp:3605
void initCrazyThrow(int)
Definition d_a_obj_gra2.cpp:3677
void Execute(f32(**)[3][4])
Definition d_a_obj_gra2.cpp:1690
void setCrazyDash()
Definition d_a_obj_gra2.h:152
void getTagNo()
Definition d_a_obj_gra2.cpp:1748
void face016(int)
Definition d_a_obj_gra2.cpp:3297
void executeCrazyJumping()
Definition d_a_obj_gra2.cpp:3693
void standWaitJump(void *)
Definition d_a_obj_gra2.cpp:3785
void getMode()
Definition d_a_obj_gra2.cpp:1738
void CreateHeap()
Definition d_a_obj_gra2.cpp:1675
void setLookMode(int)
Definition d_a_obj_gra2.cpp:2505
u8 field_0xa7e
Definition d_a_obj_gra2.h:164
void defence(void *)
Definition d_a_obj_gra2.cpp:3538
void base013(int)
Definition d_a_obj_gra2.cpp:3182
void base018(int)
Definition d_a_obj_gra2.cpp:3197
void face007(int)
Definition d_a_obj_gra2.cpp:3267
bool dbgDraw()
Definition d_a_obj_gra2.cpp:2495
void wait(void *)
Definition d_a_obj_gra2.cpp:2570
void getSrchGraR()
Definition d_a_obj_gra2.cpp:3580
void base007(int)
Definition d_a_obj_gra2.cpp:3139
void face009(int)
Definition d_a_obj_gra2.cpp:3277
void setFaceBtp(int)
Definition d_a_obj_gra2.cpp:1903
void waitDemo(void *)
Definition d_a_obj_gra2.cpp:3719
void base022(int)
Definition d_a_obj_gra2.cpp:3217
void setParam()
Definition d_a_obj_gra2.cpp:1942
void face017(int)
Definition d_a_obj_gra2.cpp:3302
void base000(int)
Definition d_a_obj_gra2.cpp:2650
void base026(int)
Definition d_a_obj_gra2.cpp:3237
void base006(int)
Definition d_a_obj_gra2.cpp:3134
void base016(int)
Definition d_a_obj_gra2.cpp:3187
void base025(int)
Definition d_a_obj_gra2.cpp:3232
void base004(int)
Definition d_a_obj_gra2.cpp:2665
void base017(int)
Definition d_a_obj_gra2.cpp:3192
void calcMotion()
Definition d_a_obj_gra2.cpp:1920
void chkFindPlayer2(int, s16)
Definition d_a_obj_gra2.cpp:3749
void base024(int)
Definition d_a_obj_gra2.cpp:3227
void chkActorInSight2(fopAc_ac_c *, f32, s16)
Definition d_a_obj_gra2.cpp:3774
void setCarryStatus()
Definition d_a_obj_gra2.cpp:3641
void checkTagGraSub(fopAc_ac_c *)
Definition d_a_obj_gra2.cpp:2592
bool checkNpcObjGra()
Definition d_a_obj_gra2.h:151
void base019(int)
Definition d_a_obj_gra2.cpp:3202
void face012(int)
Definition d_a_obj_gra2.cpp:3292
void base001(int)
Definition d_a_obj_gra2.cpp:2655
daObj_GrA_c()
Definition d_a_obj_gra2.cpp:1600
void face999(int)
Definition d_a_obj_gra2.cpp:3307
void rollDemo(void *)
Definition d_a_obj_gra2.cpp:3595
void base021(int)
Definition d_a_obj_gra2.cpp:3212
void hitChk()
Definition d_a_obj_gra2.cpp:2565
void Draw()
Definition d_a_obj_gra2.cpp:1708
void initCrazyCatch(int)
Definition d_a_obj_gra2.cpp:3666
void initCrazyAttack()
Definition d_a_obj_gra2.cpp:3688
~daObj_GrA_c()
Definition d_a_obj_gra2.cpp:1605
void rollAttack(void *)
Definition d_a_obj_gra2.cpp:3600
void mainProc()
Definition d_a_obj_gra2.cpp:2012
static u8 mFaceMotionList[168]
Definition d_a_obj_gra2.h:1465
void thrown(void *)
Definition d_a_obj_gra2.cpp:3620
void checkGraSub(fopAc_ac_c *)
Definition d_a_obj_gra2.cpp:3714
void rideCallBack(dBgW *, fopAc_ac_c *, fopAc_ac_c *)
Definition d_a_obj_gra2.cpp:403
void isDelete()
Definition d_a_obj_gra2.cpp:1758
void talk(void *)
Definition d_a_obj_gra2.cpp:2575
void getPathNo()
Definition d_a_obj_gra2.cpp:1743
void rollLanding()
Definition d_a_obj_gra2.cpp:3615
void walk(void *)
Definition d_a_obj_gra2.cpp:3533
u16 field_0xa48
Definition d_a_obj_gra2.h:162
void Delete()
Definition d_a_obj_gra2.cpp:1680
void face000(int)
Definition d_a_obj_gra2.cpp:3242
void graThrowDemo()
Definition d_a_obj_gra2.cpp:3636
void create()
Definition d_a_obj_gra2.cpp:1617
void chkPointInArea(cXyz, cXyz, cXyz, s16)
Definition d_a_obj_gra2.cpp:3768
void rollReturn(void *)
Definition d_a_obj_gra2.cpp:3560
void getSpeed()
Definition d_a_obj_gra2.cpp:3585
void skipDemoGra()
Definition d_a_obj_gra2.cpp:3724
void face004(int)
Definition d_a_obj_gra2.cpp:3252
void getSrchLinkR()
Definition d_a_obj_gra2.cpp:3575
void rollEscape(void *)
Definition d_a_obj_gra2.cpp:3610
void rollAttackedDemo()
Definition d_a_obj_gra2.cpp:3631
void init()
Definition d_a_obj_gra2.cpp:1888
void setFaceMotion(int, f32)
Definition d_a_obj_gra2.cpp:1915
void jointCtrl(J3DJoint *, J3DModel *)
Definition d_a_obj_gra2.cpp:1721
void setFaceTalkAfter()
Definition d_a_obj_gra2.cpp:3318
void getResName()
Definition d_a_obj_gra2.cpp:1726
void getSrchCircleR()
Definition d_a_obj_gra2.cpp:3523
void base008(int)
Definition d_a_obj_gra2.cpp:3144
void demo_camera()
Definition d_a_obj_gra2.cpp:3625
void face003(int)
Definition d_a_obj_gra2.cpp:3247
void turn_step(s16, int, int, int)
Definition d_a_obj_gra2.cpp:3744
void checkThrow()
Definition d_a_obj_gra2.cpp:3646
void modeChangeCheck()
Definition d_a_obj_gra2.cpp:3698
void initCrazyBeforeCatch(int)
Definition d_a_obj_gra2.cpp:3656
void face005(int)
Definition d_a_obj_gra2.cpp:3257
void setPrtcl()
Definition d_a_obj_gra2.cpp:2645
STATIC_ASSERT(sizeof(daObj_GrA_c)==0x20a4)
Definition d_a_hozelda.cpp:239
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:19
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8