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

Description

Definition at line 65 of file ef_particle.h.

Public Member Functions

virtual void SendClosing ()
 
virtual void DestroyFunc ()
 
virtual bool Initialize (u16 life, math::VEC3 pos, math::VEC3 vel, ParticleManager *pManager, const math::MTX34 *pSpace, float momentum, const EmitterInheritSetting *pSetting, Particle *pReferencePtcl)
 
void Draw_GetColor (int layer, GXColor *pColorPri, GXColor *pColorSec)
 
void GetColor (int layer, int index, GXColor *pColor)
 
f32 Draw_GetSizeX ()
 
f32 Draw_GetSizeY ()
 
void Draw_GetRotate (math::VEC3 *pRot)
 
int Draw_GetTextureScaleS (int layer) const
 
int Draw_GetTextureScaleT (int layer) const
 
int Draw_GetTextureTransS (int layer) const
 
int Draw_GetTextureTransT (int layer) const
 
GXTexWrapMode GetTextureWrapS (int layer) const
 
GXTexWrapMode GetTextureWrapT (int layer) const
 
math::VEC3GetMoveDir (math::VEC3 *pDir)
 
math::VEC3AddPosition (const math::VEC3 *pDelta)
 
- 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

ParticleParameter mParameter
 
ParticleManagermParticleManager
 
math::VEC3 mPrevAxis
 
EvaluateStatus mEvalStatus
 
u16 mTick
 
u16 mRandSeed
 
u16 mLife
 
u16 mCalcRemain
 
- Public Attributes inherited from nw4r::ef::ReferencedObject
ut::Link mActivityLink
 
- Public Attributes inherited from nw4r::ef::LinkedObject
ut::Link mMemoryLink
 
ulong mObjectID
 

Private Types

enum  TextureReverseFlag {
  TEX_REVERSE_S = (1 << 0) ,
  TEX_REVERSE_T = (1 << 1) ,
  TEX_REVERSE_ST = TEX_REVERSE_S | TEX_REVERSE_T ,
  NUM_OF_TEX_REVERSE = 2
}
 
enum  TextureWrapFlag {
  TEX_WRAP_MASK = (1 << 0) | (1 << 1) ,
  NUM_OF_TEX_WRAP_S = 2 ,
  NUM_OF_TEX_WRAP_T = 2 ,
  NUM_OF_TEX_WRAP_ST = 4
}
 

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
}
 
- Protected Attributes inherited from nw4r::ef::ReferencedObject
LifeStatus mLifeStatus
 
ulong mRefCount
 

Member Enumeration Documentation

◆ TextureReverseFlag

enum nw4r::ef::Particle::TextureReverseFlag
private

Definition at line 253 of file ef_particle.h.

◆ TextureWrapFlag

enum nw4r::ef::Particle::TextureWrapFlag
private

Definition at line 262 of file ef_particle.h.

Member Function Documentation

◆ SendClosing()

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

Reimplemented from nw4r::ef::ReferencedObject.

◆ DestroyFunc()

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

Reimplemented from nw4r::ef::ReferencedObject.

◆ GetColor()

void nw4r::ef::Particle::GetColor ( int layer,
int index,
GXColor * pColor )
inline

Definition at line 92 of file ef_particle.h.

◆ Draw_GetSizeX()

f32 nw4r::ef::Particle::Draw_GetSizeX ( )
inline

Definition at line 99 of file ef_particle.h.

◆ Draw_GetSizeY()

f32 nw4r::ef::Particle::Draw_GetSizeY ( )
inline

Definition at line 103 of file ef_particle.h.

◆ Draw_GetRotate()

void nw4r::ef::Particle::Draw_GetRotate ( math::VEC3 * pRot)
inline

Definition at line 135 of file ef_particle.h.

◆ Draw_GetTextureScaleS()

int nw4r::ef::Particle::Draw_GetTextureScaleS ( int layer) const
inline

Definition at line 153 of file ef_particle.h.

◆ Draw_GetTextureScaleT()

int nw4r::ef::Particle::Draw_GetTextureScaleT ( int layer) const
inline

Definition at line 171 of file ef_particle.h.

◆ Draw_GetTextureTransS()

int nw4r::ef::Particle::Draw_GetTextureTransS ( int layer) const
inline

Definition at line 190 of file ef_particle.h.

◆ Draw_GetTextureTransT()

int nw4r::ef::Particle::Draw_GetTextureTransT ( int layer) const
inline

Definition at line 208 of file ef_particle.h.

◆ GetTextureWrapS()

GXTexWrapMode nw4r::ef::Particle::GetTextureWrapS ( int layer) const
inline

Definition at line 227 of file ef_particle.h.

◆ GetTextureWrapT()

GXTexWrapMode nw4r::ef::Particle::GetTextureWrapT ( int layer) const
inline

Definition at line 233 of file ef_particle.h.

◆ GetMoveDir()

math::VEC3 & nw4r::ef::Particle::GetMoveDir ( math::VEC3 * pDir)
inline

Definition at line 240 of file ef_particle.h.

◆ AddPosition()

math::VEC3 & nw4r::ef::Particle::AddPosition ( const math::VEC3 * pDelta)
inline

Definition at line 245 of file ef_particle.h.

Member Data Documentation

◆ mParameter

ParticleParameter nw4r::ef::Particle::mParameter

Definition at line 69 of file ef_particle.h.

◆ mParticleManager

ParticleManager* nw4r::ef::Particle::mParticleManager

Definition at line 70 of file ef_particle.h.

◆ mPrevAxis

math::VEC3 nw4r::ef::Particle::mPrevAxis

Definition at line 71 of file ef_particle.h.

◆ mEvalStatus

EvaluateStatus nw4r::ef::Particle::mEvalStatus

Definition at line 72 of file ef_particle.h.

◆ mTick

u16 nw4r::ef::Particle::mTick

Definition at line 73 of file ef_particle.h.

◆ mRandSeed

u16 nw4r::ef::Particle::mRandSeed

Definition at line 74 of file ef_particle.h.

◆ mLife

u16 nw4r::ef::Particle::mLife

Definition at line 75 of file ef_particle.h.

◆ mCalcRemain

u16 nw4r::ef::Particle::mCalcRemain

Definition at line 76 of file ef_particle.h.