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

#include <seireiking.hpp>

Public Member Functions

 CSeireiKing ()
 
void Draw (float *origin, float size, int spread)
 
void Draw2 (CCamera *camera, float *head, float *source)
 
void Step ()
 
void Initialize ()
 

Public Attributes

sceVu0FVECTOR position [20]
 
int count [20]
 
float alpha [20]
 

Detailed Description

Draws the spirit king's spark trail during the title movie.

Definition at line 12 of file seireiking.hpp.

Constructor & Destructor Documentation

◆ CSeireiKing()

CSeireiKing::CSeireiKing ( )
inline

Stages the trail, the same way a caller may stage it again later.

Definition at line 19 of file seireiking.hpp.

Member Function Documentation

◆ Draw()

void CSeireiKing::Draw ( float *  origin,
float  size,
int  spread 
)
     Draws the trailing sparks around a supplied world position.
Mangled name:
Draw__11CSeireiKingFPffi
Address:
0x1DAE590
Size:
0x814

Definition at line 16 of file seireiking.cpp.

◆ Draw2()

void CSeireiKing::Draw2 ( CCamera *  camera,
float *  head,
float *  source 
)
     Draws the spirit carried at the head of the effect.
Mangled name:
Draw2__11CSeireiKingFP7CCameraPfPf
Address:
0x1DAEDB0
Size:
0x374

Definition at line 168 of file seireiking.cpp.

◆ Step()

void CSeireiKing::Step ( )
     Advances each stored spark position through the trail.
Mangled name:
Step__11CSeireiKingFv
Address:
0x1DAF130
Size:
0x84

Definition at line 246 of file seireiking.cpp.

◆ Initialize()

void CSeireiKing::Initialize ( )
inline

Stages the trail so that each spark starts a step behind the one in front of it and the head is the only one drawn solid.

Definition at line 52 of file seireiking.hpp.

Member Data Documentation

◆ position

sceVu0FVECTOR CSeireiKing::position[20]

Positions occupied by the trail and carried spirit.

Definition at line 14 of file seireiking.hpp.

◆ count

int CSeireiKing::count[20]

Ages of the trailing spark positions.

Definition at line 15 of file seireiking.hpp.

◆ alpha

float CSeireiKing::alpha[20]

Opacity of each trail or spirit position.

Definition at line 16 of file seireiking.hpp.