|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <itembombeffect.hpp>
Public Member Functions | |
| void | Draw (CCamera *camera) |
| void | Step () |
| void | SetBomb (float *position, float scale) |
| int | CheckBomb () |
| void | Initialize () |
Public Attributes | |
| sceVu0FVECTOR | positions [5] |
| s32 | phases [5] |
| s32 | counters [5] |
| float | sizes [5] |
| float | alphas [5] |
| s32 | active [5] |
| float | scale |
| u8 | unk_B8 [0x8] |
Animates the blast billboards created by one bomb.
Definition at line 16 of file itembombeffect.hpp.
| void CItemBombEffect::Draw | ( | CCamera * | camera | ) |
Draws the bomb's blast and its shock wave.
Definition at line 190 of file itembombeffect.cpp.
| void CItemBombEffect::Step | ( | ) |
Advances the bomb effect by a frame.
Definition at line 270 of file itembombeffect.cpp.
| void CItemBombEffect::SetBomb | ( | float * | position, |
| float | scale | ||
| ) |
Places the bomb's five blast puffs around a position.
Definition at line 331 of file itembombeffect.cpp.
| int CItemBombEffect::CheckBomb | ( | ) |
Reports whether the bomb effect is still running.
Definition at line 353 of file itembombeffect.cpp.
| void CItemBombEffect::Initialize | ( | ) |
Clears the bomb effect.
Definition at line 370 of file itembombeffect.cpp.
| sceVu0FVECTOR CItemBombEffect::positions[5] |
World positions of the blast billboards.
Definition at line 18 of file itembombeffect.hpp.
| s32 CItemBombEffect::phases[5] |
Envelope phase run by each billboard.
Definition at line 19 of file itembombeffect.hpp.
| s32 CItemBombEffect::counters[5] |
Frames elapsed in each billboard's phase; negative while its start is delayed.
Definition at line 20 of file itembombeffect.hpp.
| float CItemBombEffect::sizes[5] |
World-space widths of the billboards.
Definition at line 21 of file itembombeffect.hpp.
| float CItemBombEffect::alphas[5] |
Alpha values used to draw the billboards.
Definition at line 22 of file itembombeffect.hpp.
| s32 CItemBombEffect::active[5] |
Nonzero while each billboard is animated.
Definition at line 23 of file itembombeffect.hpp.
| float CItemBombEffect::scale |
Scale applied to every billboard.
Definition at line 24 of file itembombeffect.hpp.
| u8 CItemBombEffect::unk_B8[0x8] |
Definition at line 25 of file itembombeffect.hpp.