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

#include <runeffect.hpp>

Public Member Functions

 CRunEffect ()
 
void Lighting (int on)
 
void Set (float *position)
 
void Step ()
 
void Draw ()
 
void Lighting (int enabled)
 
void Set (float *origin)
 
void Step ()
 
void Draw ()
 
void Lighting (int enabled)
 
void Set (float *origin)
 
void Step ()
 
void Draw ()
 
void Lighting (int enabled)
 
void Draw ()
 
void Set (float *origin)
 
void Step ()
 
 CRunEffect ()
 

Public Attributes

char unk_00 [208]
 
int lighting
 
u8 unk_04 [0xC]
 
float position [8][4]
 
float velocity_y [8]
 
int life [8]
 

Detailed Description

Raises the puffs of dust the player's run leaves behind.

Definition at line 135 of file rushmovi.cpp.

Constructor & Destructor Documentation

◆ CRunEffect() [1/2]

CRunEffect::CRunEffect ( )

Constructs the run effect with no dust standing.

Mangled name:
__ct__10CRunEffectFv
Address:
0x1639F0
Size:
0x3C

Definition at line 371 of file runeffect.cpp.

◆ CRunEffect() [2/2]

CRunEffect::CRunEffect ( )

Constructs the run effect with no dust standing.

Mangled name:
__ct__10CRunEffectFv
Address:
0x1639F0
Size:
0x3C

Member Function Documentation

◆ Lighting() [1/2]

void CRunEffect::Lighting ( int  enabled)

Sets whether the running effect takes light.

Mangled name:
Lighting__10CRunEffectFi
Address:
0x163470
Size:
0xC

Definition at line 218 of file runeffect.cpp.

◆ Set() [1/2]

void CRunEffect::Set ( float *  origin)

Starts one puff of run dust at a position.

Mangled name:
Set__10CRunEffectFPf
Address:
0x1638F0
Size:
0x8C

Definition at line 328 of file runeffect.cpp.

◆ Step() [1/2]

void CRunEffect::Step ( )

Advances the run dust by a frame.

Mangled name:
Step__10CRunEffectFv
Address:
0x163980
Size:
0x70

Definition at line 354 of file runeffect.cpp.

◆ Draw() [1/2]

void CRunEffect::Draw ( )

Draws the dust the player's run leaves behind.

Mangled name:
Draw__10CRunEffectFv
Address:
0x163480
Size:
0x46C

Definition at line 229 of file runeffect.cpp.

◆ Lighting() [2/2]

void CRunEffect::Lighting ( int  enabled)

Sets whether the running effect takes light.

Mangled name:
Lighting__10CRunEffectFi
Address:
0x163470
Size:
0xC

◆ Draw() [2/2]

void CRunEffect::Draw ( )

Draws the dust the player's run leaves behind.

Mangled name:
Draw__10CRunEffectFv
Address:
0x163480
Size:
0x46C

◆ Set() [2/2]

void CRunEffect::Set ( float *  origin)

Starts one puff of run dust at a position.

Mangled name:
Set__10CRunEffectFPf
Address:
0x1638F0
Size:
0x8C

◆ Step() [2/2]

void CRunEffect::Step ( )

Advances the run dust by a frame.

Mangled name:
Step__10CRunEffectFv
Address:
0x163980
Size:
0x70

Member Data Documentation

◆ unk_00

char CRunEffect::unk_00

Definition at line 137 of file rushmovi.cpp.

◆ lighting

int CRunEffect::lighting

Whether the dust takes light.

Definition at line 43 of file runeffect.hpp.

◆ unk_04

u8 CRunEffect::unk_04[0xC]

Definition at line 44 of file runeffect.hpp.

◆ position

float CRunEffect::position[8][4]

World position of each puff of dust.

Definition at line 45 of file runeffect.hpp.

◆ velocity_y

float CRunEffect::velocity_y[8]

Speed each puff is rising at, which gravity eats into.

Definition at line 46 of file runeffect.hpp.

◆ life

int CRunEffect::life[8]

Frames each puff has left before it goes.

Definition at line 47 of file runeffect.hpp.