|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <bombeffect.hpp>
Public Member Functions | |
| CBombEffect () | |
| void | Initialize () |
| void | Draw (CCamera *camera, int dust_only) |
| void | Step () |
Public Attributes | |
| sceVu0FVECTOR | positions [8] |
| s32 | phases [8] |
| s32 | counters [8] |
| float | sizes [8] |
| float | alphas [8] |
| s32 | active [8] |
Animates the fire and dust billboards of a title-overlay explosion.
Definition at line 25 of file bombeffect.hpp.
| CBombEffect::CBombEffect | ( | ) |
| void CBombEffect::Initialize | ( | ) |
| void CBombEffect::Draw | ( | CCamera * | camera, |
| int | dust_only | ||
| ) |
Draws the active fire and dust billboards facing the camera.
Definition at line 12 of file bombeffect.cpp.
| void CBombEffect::Step | ( | ) |
Advances every active billboard through its size and alpha envelope.
Definition at line 98 of file bombeffect.cpp.
| sceVu0FVECTOR CBombEffect::positions[8] |
World position of each billboard.
Definition at line 27 of file bombeffect.hpp.
| s32 CBombEffect::phases[8] |
Envelope phase each billboard is in; also pushes it towards the camera.
Definition at line 28 of file bombeffect.hpp.
| s32 CBombEffect::counters[8] |
Frames elapsed in each billboard's current phase.
Definition at line 29 of file bombeffect.hpp.
| float CBombEffect::sizes[8] |
World-space billboard widths and heights.
Definition at line 30 of file bombeffect.hpp.
| float CBombEffect::alphas[8] |
GS alpha values used to draw the billboards.
Definition at line 31 of file bombeffect.hpp.
| s32 CBombEffect::active[8] |
One while the corresponding billboard is animated.
Definition at line 32 of file bombeffect.hpp.