DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
bombeffect.hpp
1#pragma once
2
3#include "common.h"
4
5#include <libvu0.h>
6
10// clang-format off
11enum BombPhase {
12 BOMB_PHASE_BURST = 0,
13 BOMB_PHASE_BLOOM = 1,
14 BOMB_PHASE_LINGER = 2,
15 BOMB_PHASE_DISSIPATE = 3,
16};
17
18// clang-format on
19
20class CCamera;
21
26public:
27 sceVu0FVECTOR positions[8];
28 s32 phases[8];
29 s32 counters[8];
30 float sizes[8];
31 float alphas[8];
32 s32 active[8];
42
50 void Initialize();
51
59 void Draw(CCamera *camera, int dust_only);
60
68 void Step();
69};
70
71STATIC_ASSERT(sizeof(CBombEffect) == 0x120);
void Draw(CCamera *camera, int dust_only)
s32 phases[8]
s32 counters[8]
float sizes[8]
sceVu0FVECTOR positions[8]
float alphas[8]
s32 active[8]
void Initialize()
Definition main.cpp:1748