DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
fishing.hpp
1
#pragma once
2
3
#include "collision.hpp"
4
5
template
<
int
T>
6
class
CDataAlloc2
;
7
class
CFish
;
8
class
CCharacter
;
9
class
CFrame
;
10
class
CFrameVu1
;
11
15
extern
int
draw_under_water;
16
20
extern
float
distp;
21
25
extern
float
WaterLevel;
26
30
extern
float
GroundLevel;
31
35
extern
float
UkiGroundLevel;
36
40
extern
float
HookGroundLevel;
41
45
extern
float
LineGroundLevel;
46
50
extern
CFrameVu1
*EsaFrame;
51
55
extern
int
esa_type;
56
60
extern
CFrame
*HookFrame;
61
65
extern
CFrame
*UkiFrame;
66
70
extern
int
fishing_texb;
71
75
extern
int
fish_texb;
76
80
extern
int
esa_texb;
81
85
extern
CFish
*Fish;
86
90
extern
CFish
*AngleFish;
91
95
extern
CFish
*BattleFish;
96
100
extern
int
FishNum;
101
105
extern
CCPoly
*cpoly;
106
110
extern
int
cpoly_num;
111
115
extern
int
set_hook_pos;
116
120
extern
int
set_uki_pos;
121
125
extern
float
pull_hook;
126
130
extern
CBoxVu0
fishing_rect;
131
135
extern
CBoxVu0
fish_rect;
136
140
extern
CFrameVu1
UkiFrameTop;
141
145
extern
CCharacter
Rod;
146
150
extern
sceVu0FVECTOR point[24];
151
155
extern
sceVu0FVECTOR old_p[24];
156
160
extern
sceVu0FVECTOR velo[24];
161
165
extern
sceVu0FVECTOR hookp[3];
166
170
extern
sceVu0FVECTOR hookop[3];
171
175
extern
sceVu0FVECTOR hookv[3];
176
180
extern
float
hook_dist[3];
181
185
extern
sceVu0FVECTOR ukip[4];
186
190
extern
sceVu0FVECTOR ukiop[4];
191
195
extern
sceVu0FVECTOR ukiv[4];
196
200
extern
float
uki_dist[6];
201
205
extern
sceVu0FVECTOR rod_top;
206
210
extern
sceVu0FVECTOR fishhook;
211
215
extern
sceVu0FVECTOR uki;
216
224
void
FishingInit();
225
233
void
FishingSetWaterLevel(
float
water_level,
float
ground_level);
234
242
void
FishingSetGroundLevel(
float
uki_height,
float
hook_height);
243
251
float
FishingGetWaterLevel();
252
260
void
FishingDeleteEsa();
261
269
void
FishingBattleFish(
int
fish_no);
270
278
CFish
*FishingGetBattleFish();
279
287
void
FishingDeleteAngleFish();
288
296
void
FishPullHook(
float
tension);
297
305
void
FishingExit();
306
314
void
FishingLoad(
CDataAlloc2<1>
*alloc,
int
slot);
315
323
void
FishingLoadFish(
int
spot,
CDataAlloc2<1>
*alloc,
int
slot);
324
332
void
FishingLoadEsa(
int
item_no,
CFrameVu1
*frame,
int
slot);
333
341
int
FishingGetEsaItemNo();
342
350
void
FishingSetCPoly(
CCPoly
*polys,
int
count);
351
359
void
FishingSetRect(
CBoxVu0
bounds);
360
368
int
FishingPickUpPoly(
CCPoly
*polys);
369
377
void
FishingInitFish(
CBoxVu0
bounds);
378
386
int
FishingFishStatus(
int
*fish_no);
387
395
int
FishingFishKind(
int
fish_no);
396
404
void
FishingBattleToAngleFish(u_int *pack,
CDataAlloc2<1>
*alloc);
405
413
void
FishLineStep(
float
*rod_position,
float
*unused);
414
422
void
FishingAngleFish(
int
fish_no);
423
431
int
FishingGetAngleFishSize(
int
*size,
int
*fp);
432
440
void
FishingInitFishStatus();
441
449
void
FishingStepFish();
450
458
void
FishingDrawFish();
459
467
void
FishLineInit(
float
*
position
);
468
476
void
FishLineSetUki(
float
*
position
,
float
rate);
477
485
void
FishLineSetHook(
float
*
position
,
float
rate);
486
494
void
FishLineGetUki(
float
*
position
);
495
503
void
FishLineGetHook(
float
*
position
);
504
512
int
FishingCheckUkiHook();
513
521
void
FishLineDraw(
int
above_water);
522
526
extern
char
fishing_err_format[];
CBoxVu0
Definition
collision.hpp:26
CCPoly
Definition
collision.hpp:46
CCharacter
Definition
character.hpp:115
CDataAlloc2
Definition
dataalloc.hpp:22
CFish
Definition
fish.hpp:57
CFrameVu1
Definition
framevu1.hpp:15
CFrame
Definition
frame.hpp:58
CFrame::position
sceVu0FVECTOR position
Definition
frame.hpp:76
ps2
include
fishing.hpp
Generated by
1.9.8