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

#include <effectgroup.hpp>

Public Member Functions

void Initialize (CEffect *table, int max)
 
void Clear ()
 
void EnterEffect (CEffectParam *param)
 
void Step (int unknown0)
 
void Draw ()
 
void Initialize (CEffect *table, int count)
 
void Clear ()
 
void EnterEffect (CEffectParam *param)
 
void Step (int unused)
 
void Draw ()
 
 CEffectGroup ()
 
int EnterEffect (CEffectParam *parameters)
 
void Step (int unused)
 
void Draw ()
 
void Clear ()
 
void Initialize (CEffect *table, int count)
 

Public Attributes

CEffect * effect_table
 
int capacity
 

Detailed Description

Owns access to a caller-supplied fixed-capacity pool of effects.

Definition at line 126 of file op_a.cpp.

Constructor & Destructor Documentation

◆ CEffectGroup() [1/3]

CEffectGroup::CEffectGroup ( )
inline

Definition at line 131 of file op_a.cpp.

◆ CEffectGroup() [2/3]

CEffectGroup::CEffectGroup ( )
inline

Definition at line 198 of file op_c.cpp.

◆ CEffectGroup() [3/3]

CEffectGroup::CEffectGroup ( )
inline

Starts the group with no pool.

Definition at line 17 of file effectgroup.hpp.

Member Function Documentation

◆ Initialize() [1/2]

void CEffectGroup::Initialize ( CEffect *  table,
int  max 
)

Definition at line 34 of file effectgroup.cpp.

◆ Clear() [1/2]

void CEffectGroup::Clear ( )

Definition at line 28 of file effectgroup.cpp.

◆ EnterEffect() [1/2]

int CEffectGroup::EnterEffect ( CEffectParam *  param)

Definition at line 5 of file effectgroup.cpp.

◆ Step() [1/2]

void CEffectGroup::Step ( int  unknown0)

Definition at line 16 of file effectgroup.cpp.

◆ Draw() [1/2]

void CEffectGroup::Draw ( )

Definition at line 22 of file effectgroup.cpp.

◆ EnterEffect() [2/2]

int CEffectGroup::EnterEffect ( CEffectParam *  parameters)

Starts an effect in the first inactive pool slot.

Mangled name:
EnterEffect__12CEffectGroupFP12CEffectParam
Address:
0x164980
Size:
0x6C

◆ Step() [2/2]

void CEffectGroup::Step ( int  unused)

Advances every pool slot by one frame.

Mangled name:
Step__12CEffectGroupFi
Address:
0x1649F0
Size:
0x64

◆ Draw() [2/2]

void CEffectGroup::Draw ( )

Draws every active effect in the pool.

Mangled name:
Draw__12CEffectGroupFv
Address:
0x164A60
Size:
0x60

◆ Clear() [2/2]

void CEffectGroup::Clear ( )

Resets every effect in the pool to its inactive state.

Mangled name:
Clear__12CEffectGroupFv
Address:
0x164AC0
Size:
0x60

◆ Initialize() [2/2]

void CEffectGroup::Initialize ( CEffect *  table,
int  count 
)

Assigns the storage and capacity used by the effect pool.

Mangled name:
Initialize__12CEffectGroupFP7CEffecti
Address:
0x164B20
Size:
0x10

Member Data Documentation

◆ effect_table

CEffect * CEffectGroup::effect_table

First effect in the caller-supplied pool.

Definition at line 128 of file op_a.cpp.

◆ capacity

int CEffectGroup::capacity

Number of effects in the pool.

Definition at line 129 of file op_a.cpp.