|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <itembombeffect.hpp>
Public Member Functions | |
| void | Draw (CCamera *camera) |
| void | Step () |
Public Attributes | |
| sceVu0FVECTOR | position |
| float | expand_radius |
| float | base_radius |
| float | radius |
| float | expand_steps |
| float | phase |
| float | alpha |
| s32 | active |
| u8 | unk_2C [0x4] |
Expands and fades the ring of a large bomb's shock wave.
Definition at line 76 of file itembombeffect.hpp.
| void CShockWave::Draw | ( | CCamera * | camera | ) |
Draws the expanding shock-wave ring.
Definition at line 383 of file itembombeffect.cpp.
| void CShockWave::Step | ( | ) |
Expands and fades the shock-wave ring by a frame.
Definition at line 459 of file itembombeffect.cpp.
| sceVu0FVECTOR CShockWave::position |
World position at the centre of the ring.
Definition at line 78 of file itembombeffect.hpp.
| float CShockWave::expand_radius |
Radius the ring grows by at the peak of its expansion.
Definition at line 79 of file itembombeffect.hpp.
| float CShockWave::base_radius |
Ring radius before its expansion is applied.
Definition at line 80 of file itembombeffect.hpp.
| float CShockWave::radius |
Current world-space radius of the ring.
Definition at line 81 of file itembombeffect.hpp.
| float CShockWave::expand_steps |
Number of frames taken to complete expansion.
Definition at line 82 of file itembombeffect.hpp.
| float CShockWave::phase |
Sine-envelope phase of the expansion.
Definition at line 83 of file itembombeffect.hpp.
| float CShockWave::alpha |
Alpha value used to draw the ring.
Definition at line 84 of file itembombeffect.hpp.
| s32 CShockWave::active |
Nonzero while the ring expands and draws.
Definition at line 85 of file itembombeffect.hpp.
| u8 CShockWave::unk_2C[0x4] |
Definition at line 86 of file itembombeffect.hpp.