|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
Public Member Functions | |
| CMajinBeem () | |
| void | Initialize () |
| void | Draw (CCamera *camera) |
| void | Draw2 (CCamera *camera, float *head, float *source) |
| void | Step () |
Public Attributes | |
| sceVu0FVECTOR | positions [60] |
| sceVu0FVECTOR | target |
| int | state |
| int | counters [60] |
| float | sizes [60] |
| float | alphas [60] |
| int | active |
| float | pitch |
| float | yaw |
| float | speed |
| u8 | unk_6b4 [0xc] |
Definition at line 23 of file majinbeem.hpp.
| CMajinBeem::CMajinBeem | ( | ) |
| void CMajinBeem::Initialize | ( | ) |
| void CMajinBeem::Draw | ( | CCamera * | camera | ) |
Draws the beam trail as camera-facing sprites.
Definition at line 16 of file majinbeem.cpp.
| void CMajinBeem::Draw2 | ( | CCamera * | camera, |
| float * | head, | ||
| float * | source | ||
| ) |
Draws and contracts the beam's leading sprite.
Definition at line 87 of file majinbeem.cpp.
| void CMajinBeem::Step | ( | ) |
Advances the beam and records its trail positions.
Definition at line 166 of file majinbeem.cpp.
| sceVu0FVECTOR CMajinBeem::positions[60] |
Trail element positions, the head first.
Definition at line 25 of file majinbeem.hpp.
| sceVu0FVECTOR CMajinBeem::target |
Point the beam is aimed at on its first step.
Definition at line 26 of file majinbeem.hpp.
| int CMajinBeem::state |
| int CMajinBeem::counters[60] |
Ages of the recorded trail elements.
Definition at line 28 of file majinbeem.hpp.
| float CMajinBeem::sizes[60] |
Draw sizes of the trail elements.
Definition at line 29 of file majinbeem.hpp.
| float CMajinBeem::alphas[60] |
Alpha values of the trail elements.
Definition at line 30 of file majinbeem.hpp.
| int CMajinBeem::active |
Whether the beam is active.
Definition at line 31 of file majinbeem.hpp.
| float CMajinBeem::pitch |
Vertical travel angle.
Definition at line 32 of file majinbeem.hpp.
| float CMajinBeem::yaw |
Horizontal travel angle.
Definition at line 33 of file majinbeem.hpp.
| float CMajinBeem::speed |
Distance travelled during each update.
Definition at line 34 of file majinbeem.hpp.
| u8 CMajinBeem::unk_6b4[0xc] |
Definition at line 35 of file majinbeem.hpp.