|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <healeffect.hpp>
Public Member Functions | |
| void | Set (float *world) |
| void | Step () |
| void | Draw () |
Public Attributes | |
| float | position [4] |
| float | particle_offset [32][4] |
| float | angle [32] |
| float | angular_velocity [32] |
| float | radius [32] |
| float | alpha [32] |
| float | phase [32] |
| float | size [32] |
| s32 | active |
| u8 | unk_514 [0xC] |
Animates the ring of healing particles around the player character.
Definition at line 8 of file healeffect.hpp.
| void CHealEffect::Set | ( | float * | world | ) |
Starts a healing-particle effect at the supplied world position.
Definition at line 15 of file healeffect.cpp.
| void CHealEffect::Step | ( | ) |
Advances every active healing particle and ends the effect when all expire.
Definition at line 32 of file healeffect.cpp.
| void CHealEffect::Draw | ( | ) |
Draws every live healing particle around the player character.
Definition at line 80 of file healeffect.cpp.
| float CHealEffect::position[4] |
World-space centre of the effect.
Definition at line 10 of file healeffect.hpp.
| float CHealEffect::particle_offset[32][4] |
Rotated offset of each healing particle.
Definition at line 11 of file healeffect.hpp.
| float CHealEffect::angle[32] |
Rotation angle of each particle around the centre.
Definition at line 12 of file healeffect.hpp.
| float CHealEffect::angular_velocity[32] |
Per-step angular advance of each particle.
Definition at line 13 of file healeffect.hpp.
| float CHealEffect::radius[32] |
Horizontal orbit radius of each particle.
Definition at line 14 of file healeffect.hpp.
| float CHealEffect::alpha[32] |
Current opacity of each particle.
Definition at line 15 of file healeffect.hpp.
| float CHealEffect::phase[32] |
Lifetime phase controlling height and opacity.
Definition at line 16 of file healeffect.hpp.
| float CHealEffect::size[32] |
Draw size of each particle.
Definition at line 17 of file healeffect.hpp.
| s32 CHealEffect::active |
Indicates that the particle effect is advancing.
Definition at line 18 of file healeffect.hpp.
| u8 CHealEffect::unk_514[0xC] |
Definition at line 19 of file healeffect.hpp.