|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <shot_firebar.hpp>
Public Member Functions | |
| int | Init (float *origin, float *direction, int collision_damage, int element) |
| int | Set (float *origin, float *direction, int collision_damage, int element) |
| void | Rset () |
| void | Step () |
| void | Draw () |
Public Attributes | |
| float | position [64][4] |
| float | velocity [64][4] |
| float | size [64] |
| float | opacity [63] |
| s32 | init_damage |
| s32 | damage [63] |
| s32 | init_element |
| s32 | particle_element [64] |
| s32 | state [64] |
| s32 | start_index |
| u8 | unk_D04 [0xC] |
Manages the particle state and rendering for Ozumond's fire stream.
Definition at line 10 of file shot_firebar.hpp.
| int CSHOT_FIREBAR::Init | ( | float * | origin, |
| float * | direction, | ||
| int | collision_damage, | ||
| int | element | ||
| ) |
Initializes a 24-particle fire stream from a position and direction.
Definition at line 17 of file shot_firebar.cpp.
| int CSHOT_FIREBAR::Set | ( | float * | origin, |
| float * | direction, | ||
| int | collision_damage, | ||
| int | element | ||
| ) |
Emits a 24-particle fire stream from a position and direction.
Definition at line 45 of file shot_firebar.cpp.
| void CSHOT_FIREBAR::Rset | ( | ) |
Marks the first 24 fire-particle slots as inactive.
Definition at line 68 of file shot_firebar.cpp.
| void CSHOT_FIREBAR::Step | ( | ) |
Advances active fire particles and applies their periodic collision damage.
Definition at line 75 of file shot_firebar.cpp.
| void CSHOT_FIREBAR::Draw | ( | ) |
Draws the active fire particles with their selected texture cells.
Definition at line 111 of file shot_firebar.cpp.
| float CSHOT_FIREBAR::position[64][4] |
World positions for the fire particles.
Definition at line 12 of file shot_firebar.hpp.
| float CSHOT_FIREBAR::velocity[64][4] |
Per-step movement vectors for the fire particles.
Definition at line 13 of file shot_firebar.hpp.
| float CSHOT_FIREBAR::size[64] |
Display sizes for the fire particles.
Definition at line 14 of file shot_firebar.hpp.
| float CSHOT_FIREBAR::opacity[63] |
Current opacity values for the fire particles.
Definition at line 15 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::init_damage |
Collision damage given when the stream was initialized.
Definition at line 16 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::damage[63] |
Collision damage values for the fire particles.
Definition at line 17 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::init_element |
Element given when the stream was initialized.
Definition at line 18 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::particle_element[64] |
Weapon element of each fire particle, which picks its texture cell.
Definition at line 19 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::state[64] |
Activity states for the fire particles.
Definition at line 20 of file shot_firebar.hpp.
| s32 CSHOT_FIREBAR::start_index |
First particle slot that initialization lays the stream out from.
Definition at line 21 of file shot_firebar.hpp.
| u8 CSHOT_FIREBAR::unk_D04[0xC] |
Definition at line 22 of file shot_firebar.hpp.