NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::ef::Effect Class Reference
Inheritance diagram for nw4r::ef::Effect:
[legend]

Description

Definition at line 25 of file ef_effect.h.

Classes

struct  CallBack
 

Public Member Functions

virtual void SendClosing ()
 
virtual void DestroyFunc ()
 
virtual bool Initialize (EffectSystem *pSystem, EmitterResource *pResource, u16 calcRemain)
 
virtual EmitterCreateEmitter (ResEmitter res, u8 drawWeight, u16 calcRemain)
 
virtual void Calc (bool onlyBillboard)
 
virtual void Draw (const DrawInfo &rInfo)
 
bool Closing (Emitter *pEmitter)
 
EmitterCreateEmitter (EmitterResource *pResource, u8 drawWeight, u16 calcRemain)
 
ulong RetireEmitter (Emitter *pEmitter)
 
ulong RetireEmitterAll ()
 
ulong RetireParticleAll ()
 
u16 GetNumEmitter () const
 
EmitterGetEmitter (u16 idx)
 
ulong ForeachParticleManager (ForEachFunc pFunc, ForEachParam param, bool ignoreLifeStatus)
 
ulong ForeachEmitterFrom (ForEachFunc pFunc, ForEachParam param, bool ignoreLifeStatus, Emitter *pEmitter)
 
void ParticleManagerAdd (ParticleManager *pManager)
 
void ParticleManagerRemove (ParticleManager *pManager)
 
void Modifier_SetSimpleLightType (u8 type, bool ignoreLifeStatus)
 
void Modifier_SetSimpleLightAmbient (const GXColor &rColor, bool ignoreLifeStatus)
 
void Modifier_SetScale (math::VEC2 &rScale, bool ignoreLifeStatus)
 
void Modifier_SetRotate (const math::VEC3 &rRot, bool ignoreLifeStatus)
 
bool GetFlagDisableCalc () const
 
void SetFlagDisableCalc (bool disable)
 
bool GetFlagDisableDraw () const
 
void SetFlagDisableDraw (bool disable)
 
bool GetFlagExistCalcRemain () const
 
void SetFlagExistCalcRemain (bool exist)
 
const math::MTX34GetRootMtx () const
 
void SetRootMtx (const math::MTX34 &rMtx)
 
const math::VEC3GetVelocity () const
 
- Public Member Functions inherited from nw4r::ef::ReferencedObject
void ChangeLifeStatus (LifeStatus status)
 
LifeStatus GetLifeStatus () const
 
ulong GetRefCount () const
 
bool Initialize ()
 
void Destroy ()
 
ulong Ref ()
 
ulong UnRef ()
 
- Public Member Functions inherited from nw4r::ef::LinkedObject
u16 GetObjectIdx () const
 

Public Attributes

EffectSystemmManagerES
 
ActivityList mActivityList
 
ulong mGroupID
 
CallBack mCallBack
 
- Public Attributes inherited from nw4r::ef::ReferencedObject
ut::Link mActivityLink
 
- Public Attributes inherited from nw4r::ef::LinkedObject
ut::Link mMemoryLink
 
ulong mObjectID
 

Protected Attributes

ulong mFlags
 
math::MTX34 mRootMtx
 
math::VEC3 mVelocity
 
ut::List mParticleManager
 
DrawOrderBasemDrawOrderFunc
 
- Protected Attributes inherited from nw4r::ef::ReferencedObject
LifeStatus mLifeStatus
 
ulong mRefCount
 

Private Types

enum  Flag {
  FLAG_DISABLE_CALC = (1 << 0) ,
  FLAG_DISABLE_DRAW = (1 << 1) ,
  FLAG_EXIST_CALC_REMAIN = (1 << 16)
}
 

Additional Inherited Members

- Public Types inherited from nw4r::ef::ReferencedObject
enum  LifeStatus {
  NW4R_EF_LS_CLOSED ,
  NW4R_EF_LS_ACTIVE ,
  NW4R_EF_LS_WAIT ,
  NW4R_EF_LS_CLOSING
}
 

Member Enumeration Documentation

◆ Flag

enum nw4r::ef::Effect::Flag
private

Definition at line 30 of file ef_effect.h.

Member Function Documentation

◆ SendClosing()

virtual void nw4r::ef::Effect::SendClosing ( )
virtual

Reimplemented from nw4r::ef::ReferencedObject.

◆ DestroyFunc()

virtual void nw4r::ef::Effect::DestroyFunc ( )
virtual

Reimplemented from nw4r::ef::ReferencedObject.

◆ CreateEmitter()

virtual Emitter * nw4r::ef::Effect::CreateEmitter ( ResEmitter res,
u8 drawWeight,
u16 calcRemain )
inlinevirtual

Definition at line 73 of file ef_effect.h.

◆ ParticleManagerAdd()

void nw4r::ef::Effect::ParticleManagerAdd ( ParticleManager * pManager)
inline

Definition at line 98 of file ef_effect.h.

◆ ParticleManagerRemove()

void nw4r::ef::Effect::ParticleManagerRemove ( ParticleManager * pManager)
inline

Definition at line 101 of file ef_effect.h.

◆ Modifier_SetSimpleLightType()

void nw4r::ef::Effect::Modifier_SetSimpleLightType ( u8 type,
bool ignoreLifeStatus )
inline

Definition at line 105 of file ef_effect.h.

◆ Modifier_SetSimpleLightAmbient()

void nw4r::ef::Effect::Modifier_SetSimpleLightAmbient ( const GXColor & rColor,
bool ignoreLifeStatus )
inline

Definition at line 111 of file ef_effect.h.

◆ Modifier_SetScale()

void nw4r::ef::Effect::Modifier_SetScale ( math::VEC2 & rScale,
bool ignoreLifeStatus )
inline

Definition at line 119 of file ef_effect.h.

◆ Modifier_SetRotate()

void nw4r::ef::Effect::Modifier_SetRotate ( const math::VEC3 & rRot,
bool ignoreLifeStatus )
inline

Definition at line 125 of file ef_effect.h.

◆ GetFlagDisableCalc()

bool nw4r::ef::Effect::GetFlagDisableCalc ( ) const
inline

Definition at line 130 of file ef_effect.h.

◆ SetFlagDisableCalc()

void nw4r::ef::Effect::SetFlagDisableCalc ( bool disable)
inline

Definition at line 133 of file ef_effect.h.

◆ GetFlagDisableDraw()

bool nw4r::ef::Effect::GetFlagDisableDraw ( ) const
inline

Definition at line 141 of file ef_effect.h.

◆ SetFlagDisableDraw()

void nw4r::ef::Effect::SetFlagDisableDraw ( bool disable)
inline

Definition at line 144 of file ef_effect.h.

◆ GetFlagExistCalcRemain()

bool nw4r::ef::Effect::GetFlagExistCalcRemain ( ) const
inline

Definition at line 152 of file ef_effect.h.

◆ SetFlagExistCalcRemain()

void nw4r::ef::Effect::SetFlagExistCalcRemain ( bool exist)
inline

Definition at line 155 of file ef_effect.h.

◆ GetRootMtx()

const math::MTX34 * nw4r::ef::Effect::GetRootMtx ( ) const
inline

Definition at line 163 of file ef_effect.h.

◆ GetVelocity()

const math::VEC3 * nw4r::ef::Effect::GetVelocity ( ) const
inline

Definition at line 169 of file ef_effect.h.

Member Data Documentation

◆ mManagerES

EffectSystem* nw4r::ef::Effect::mManagerES

Definition at line 52 of file ef_effect.h.

◆ mActivityList

ActivityList nw4r::ef::Effect::mActivityList

Definition at line 53 of file ef_effect.h.

◆ mGroupID

ulong nw4r::ef::Effect::mGroupID

Definition at line 54 of file ef_effect.h.

◆ mCallBack

CallBack nw4r::ef::Effect::mCallBack

Definition at line 55 of file ef_effect.h.

◆ mFlags

ulong nw4r::ef::Effect::mFlags
protected

Definition at line 58 of file ef_effect.h.

◆ mRootMtx

math::MTX34 nw4r::ef::Effect::mRootMtx
protected

Definition at line 59 of file ef_effect.h.

◆ mVelocity

math::VEC3 nw4r::ef::Effect::mVelocity
protected

Definition at line 60 of file ef_effect.h.

◆ mParticleManager

ut::List nw4r::ef::Effect::mParticleManager
protected

Definition at line 61 of file ef_effect.h.

◆ mDrawOrderFunc

DrawOrderBase* nw4r::ef::Effect::mDrawOrderFunc
protected

Definition at line 62 of file ef_effect.h.