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.
8class CTexture;
9struct spRGBA;
10
15 float dry_position[4];
18 char unk_24[0xC];
19};
20
21STATIC_ASSERT(sizeof(CHECK_WATER_INFO) == 0x30);
22
27 float center[4];
28 float radius;
29 s32 life;
30 char unk_18[8];
31};
32
33STATIC_ASSERT(sizeof(WATER_WAVE_LING) == 0x20);
34
36extern "C" s32 DebugStatus[21];
37
39extern "C" float StatusColor[3];
40
48void WaterSplash_Init();
49
58int CheckHealingWater();
59
67int CheckHealZone();
68
76void HealingWater();
77
85void DrawWaterLing();
86
94void StepWaterLing();
95
104float SetBattleStyle(int map_no, int preserve_bgm);
105
113int ValuePrint(int x, int y, int value, int palette, unsigned char alpha);
114
122void BtStatusAlarmInit();
123
131void BtStatusAlarmAnime();
132
140u8 *BtGetStatusPal(int bar, float max, float value);
141
149u8 *BtGetStatusPal2(int bar, float max, float value);
150
158void topStatusInfo(int y, int selected_item, int floor);
159
167int StatusErrCheck(int status);
168
177int BtStatusErrColorSet();
178
186void BtStatusErrStep();
187
195void BtSetStatusErr(int status);
196
204void BtStatusErrDraw(int y);
205
213void setItemToReserved(char *page_name, int x, int y, char *item_name, int dsax, int dsay);
214
222void BtMapJumpCashClear();
223
233int BtMapJumpLoad(char *map_name);
234
242void BtSet3DCellModel(float *world, CTexture *texture, float size, int x, int y, int width, int height, int alpha);
243
252void setShotVector(float *velocity, float speed, float angle_y, float angle_x);
253
262void getCharacterVector(float *vector, float pitch);
263
272void ParabolicInitialVector(float *velocity, float *from, float *to, float gravity, float time);