DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
shot_freefuncs.hpp
1
#pragma once
2
3
#include "common.h"
4
5
// Forward declarations for the types these declarations name. The skeleton
6
// headers are generated from the retail symbol table, which knows the type
7
// names but not where they live.
8
class
CTexture
;
9
struct
spRGBA
;
10
14
struct
CHECK_WATER_INFO
{
15
float
dry_position
[4];
16
float
surface_position
[4];
17
s32
in_water
;
18
char
unk_24[0xC];
19
};
20
21
STATIC_ASSERT(
sizeof
(
CHECK_WATER_INFO
) == 0x30);
22
26
struct
WATER_WAVE_LING
{
27
float
center
[4];
28
float
radius
;
29
s32
life
;
30
char
unk_18[8];
31
};
32
33
STATIC_ASSERT(
sizeof
(
WATER_WAVE_LING
) == 0x20);
34
36
extern
"C"
s32 DebugStatus[21];
37
39
extern
"C"
float
StatusColor[3];
40
48
void
WaterSplash_Init();
49
58
int
CheckHealingWater();
59
67
int
CheckHealZone();
68
76
void
HealingWater();
77
85
void
DrawWaterLing();
86
94
void
StepWaterLing();
95
104
float
SetBattleStyle(
int
map_no,
int
preserve_bgm);
105
113
int
ValuePrint(
int
x,
int
y,
int
value,
int
palette,
unsigned
char
alpha);
114
122
void
BtStatusAlarmInit();
123
131
void
BtStatusAlarmAnime();
132
140
u8 *BtGetStatusPal(
int
bar,
float
max,
float
value);
141
149
u8 *BtGetStatusPal2(
int
bar,
float
max,
float
value);
150
158
void
topStatusInfo(
int
y,
int
selected_item,
int
floor);
159
167
int
StatusErrCheck(
int
status);
168
177
int
BtStatusErrColorSet();
178
186
void
BtStatusErrStep();
187
195
void
BtSetStatusErr(
int
status);
196
204
void
BtStatusErrDraw(
int
y);
205
213
void
setItemToReserved(
char
*page_name,
int
x,
int
y,
char
*item_name,
int
dsax,
int
dsay);
214
222
void
BtMapJumpCashClear();
223
233
int
BtMapJumpLoad(
char
*map_name);
234
242
void
BtSet3DCellModel(
float
*world,
CTexture
*texture,
float
size,
int
x,
int
y,
int
width,
int
height,
int
alpha);
243
252
void
setShotVector(
float
*velocity,
float
speed,
float
angle_y,
float
angle_x);
253
262
void
getCharacterVector(
float
*vector,
float
pitch);
263
272
void
ParabolicInitialVector(
float
*velocity,
float
*from,
float
*to,
float
gravity,
float
time);
CTexture
Definition
texture.hpp:50
CHECK_WATER_INFO
Definition
shot_freefuncs.hpp:14
CHECK_WATER_INFO::in_water
s32 in_water
Definition
shot_freefuncs.hpp:17
CHECK_WATER_INFO::surface_position
float surface_position[4]
Definition
shot_freefuncs.hpp:16
CHECK_WATER_INFO::dry_position
float dry_position[4]
Definition
shot_freefuncs.hpp:15
WATER_WAVE_LING
Definition
shot_freefuncs.hpp:26
WATER_WAVE_LING::radius
float radius
Definition
shot_freefuncs.hpp:28
WATER_WAVE_LING::center
float center[4]
Definition
shot_freefuncs.hpp:27
WATER_WAVE_LING::life
s32 life
Definition
shot_freefuncs.hpp:29
spRGBA
Definition
rect.hpp:45
ps2
include
shot_freefuncs.hpp
Generated by
1.9.8