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
11
enum
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
20
class
CCamera
;
21
25
class
CBombEffect
{
26
public
:
27
sceVu0FVECTOR
positions
[8];
28
s32
phases
[8];
29
s32
counters
[8];
30
float
sizes
[8];
31
float
alphas
[8];
32
s32
active
[8];
41
CBombEffect
();
42
50
void
Initialize
();
51
59
void
Draw
(
CCamera
*camera,
int
dust_only);
60
68
void
Step
();
69
};
70
71
STATIC_ASSERT(
sizeof
(
CBombEffect
) == 0x120);
CBombEffect
Definition
bombeffect.hpp:25
CBombEffect::Step
void Step()
Definition
bombeffect.cpp:98
CBombEffect::Draw
void Draw(CCamera *camera, int dust_only)
Definition
bombeffect.cpp:12
CBombEffect::phases
s32 phases[8]
Definition
bombeffect.hpp:28
CBombEffect::CBombEffect
CBombEffect()
Definition
main.cpp:1737
CBombEffect::counters
s32 counters[8]
Definition
bombeffect.hpp:29
CBombEffect::sizes
float sizes[8]
Definition
bombeffect.hpp:30
CBombEffect::positions
sceVu0FVECTOR positions[8]
Definition
bombeffect.hpp:27
CBombEffect::alphas
float alphas[8]
Definition
bombeffect.hpp:31
CBombEffect::active
s32 active[8]
Definition
bombeffect.hpp:32
CBombEffect::Initialize
void Initialize()
Definition
main.cpp:1748
CCamera
Definition
camera.hpp:17
ps2
include
title
bombeffect.hpp
Generated by
1.9.8