DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CShockWave Class Reference

#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]
 

Detailed Description

Expands and fades the ring of a large bomb's shock wave.

Definition at line 76 of file itembombeffect.hpp.

Member Function Documentation

◆ Draw()

void CShockWave::Draw ( CCamera *  camera)

Draws the expanding shock-wave ring.

Mangled name:
Draw__10CShockWaveFP7CCamera
Address:
0x1D61E0
Size:
0x2F8

Definition at line 383 of file itembombeffect.cpp.

◆ Step()

void CShockWave::Step ( )

Expands and fades the shock-wave ring by a frame.

Mangled name:
Step__10CShockWaveFv
Address:
0x1D64E0
Size:
0xD8

Definition at line 459 of file itembombeffect.cpp.

Member Data Documentation

◆ position

sceVu0FVECTOR CShockWave::position

World position at the centre of the ring.

Definition at line 78 of file itembombeffect.hpp.

◆ expand_radius

float CShockWave::expand_radius

Radius the ring grows by at the peak of its expansion.

Definition at line 79 of file itembombeffect.hpp.

◆ base_radius

float CShockWave::base_radius

Ring radius before its expansion is applied.

Definition at line 80 of file itembombeffect.hpp.

◆ radius

float CShockWave::radius

Current world-space radius of the ring.

Definition at line 81 of file itembombeffect.hpp.

◆ expand_steps

float CShockWave::expand_steps

Number of frames taken to complete expansion.

Definition at line 82 of file itembombeffect.hpp.

◆ phase

float CShockWave::phase

Sine-envelope phase of the expansion.

Definition at line 83 of file itembombeffect.hpp.

◆ alpha

float CShockWave::alpha

Alpha value used to draw the ring.

Definition at line 84 of file itembombeffect.hpp.

◆ active

s32 CShockWave::active

Nonzero while the ring expands and draws.

Definition at line 85 of file itembombeffect.hpp.

◆ unk_2C

u8 CShockWave::unk_2C[0x4]

Definition at line 86 of file itembombeffect.hpp.