DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
itembombeffect.hpp
1#pragma once
2
3#include "common.h"
4
5#include <libvu0.h>
6
7// Forward declarations for the types these declarations name. The skeleton
8// headers are generated from the retail symbol table, which knows the type
9// names but not where they live.
10class CCamera;
11class CUserStatus;
12
17public:
18 sceVu0FVECTOR positions[5];
19 s32 phases[5];
20 s32 counters[5];
21 float sizes[5];
22 float alphas[5];
23 s32 active[5];
24 float scale;
25 u8 unk_B8[0x8];
26
34 void Draw(CCamera *camera);
35
43 void Step();
44
52 void SetBomb(float *position, float scale);
53
61 int CheckBomb();
62
70 void Initialize();
71};
72
77public:
78 sceVu0FVECTOR position;
81 float radius;
83 float phase;
84 float alpha;
85 s32 active;
86 u8 unk_2C[0x4];
87
95 void Draw(CCamera *camera);
96
104 void Step();
105};
106
107STATIC_ASSERT(sizeof(CShockWave) == 0x30);
108
116void usedActiveItem(CUserStatus *status, int item);
117
125int checkItemUsed(int slot);
126
134int SetBombEffect(float *position, int owner, int damage, float scale);
135
136STATIC_ASSERT(sizeof(CItemBombEffect) == 0xC0);
void SetBomb(float *position, float scale)
sceVu0FVECTOR positions[5]
void Draw(CCamera *camera)
void Draw(CCamera *camera)
sceVu0FVECTOR position