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

Description

Definition at line 15 of file ef_drawsmoothstripestrategy.h.

Classes

struct  AheadContextStripe
 
struct  Trigonometric
 
struct  Vertex
 
struct  VertexTube
 

Public Member Functions

virtual void Draw (const DrawInfo &rInfo, ParticleManager *pManager)
 
virtual GetFirstDrawParticleFunc GetGetFirstDrawParticleFunc (int drawOrder)
 
virtual GetNextDrawParticleFunc GetGetNextDrawParticleFunc (int drawOrder)
 
virtual CalcAheadFunc GetCalcAheadFunc (ParticleManager *pManager)
 

Additional Inherited Members

- Public Types inherited from nw4r::ef::DrawStrategyImpl
enum  ParticleDrawOrder {
  DRAWORDER_YOUNGERS_FIRST ,
  DRAWORDER_ELDERS_FIRST
}
 
typedef Particle *(* GetFirstDrawParticleFunc) (ParticleManager *pManager)
 
typedef Particle *(* GetNextDrawParticleFunc) (ParticleManager *pManager, Particle *pParticle)
 
typedef void(* CalcAheadFunc) (math::VEC3 *pAxisY, AheadContext *pContext, Particle *pParticle)
 
- Protected Member Functions inherited from nw4r::ef::DrawStrategyImpl
void InitTexture (const EmitterDrawSetting &rSetting)
 
void InitTev (const EmitterDrawSetting &rSetting, const DrawInfo &rInfo)
 
void InitColor (ParticleManager *pManager, const EmitterDrawSetting &rSetting, const DrawInfo &rInfo)
 
void SetupGP (Particle *pParticle, const EmitterDrawSetting &rSetting, const DrawInfo &rInfo, bool first, bool xfDirty)
 
int GetNumDrawParticle (ParticleManager *pManager)
 
- Static Protected Member Functions inherited from nw4r::ef::DrawStrategyImpl
static void CalcAhead_Speed (math::VEC3 *pAxisY, AheadContext *pContext, Particle *pParticle)
 
static void CalcAhead_EmitterCenter (math::VEC3 *pAxisY, AheadContext *pContext, Particle *pParticle)
 
static void CalcAhead_EmitterDesign (math::VEC3 *pAxisY, AheadContext *pContext)
 
static void CalcAhead_Particle (math::VEC3 *pAxisY, AheadContext *pContext, Particle *pParticle)
 
static void CalcAhead_NoDesign (math::VEC3 *pAxisY, AheadContext *pContext)
 
static void CalcAhead_ParticleBoth (math::VEC3 *pAxisY, AheadContext *pContext, Particle *pParticle)
 
static ParticleGetElderParticle (ParticleManager *pManager, Particle *pParticle)
 
static ParticleGetYoungerParticle (ParticleManager *pManager, Particle *pParticle)
 
static ParticleGetOldestParticle (ParticleManager *pManager)
 
static ParticleGetYoungestParticle (ParticleManager *pManager)
 
static ParticleGetElderDrawParticle (ParticleManager *pManager, Particle *pParticle)
 
static ParticleGetYoungerDrawParticle (ParticleManager *pManager, Particle *pParticle)
 
static ParticleGetOldestDrawParticle (ParticleManager *pManager)
 
static ParticleGetYoungestDrawParticle (ParticleManager *pManager)
 
static bool Normalize (math::VEC3 *pVec)
 
static const math::VEC3GetXUnitVec ()
 
static const math::VEC3GetYUnitVec ()
 
static const math::VEC3GetZUnitVec ()
 
- Protected Attributes inherited from nw4r::ef::DrawStrategyImpl
PrevTexture mPrevTexture [TEX_LAYER_MAX]
 
GXColor mPrevColor [COLOR_LAYER_MAX][COLOR_IDX_MAX]
 
int mPrevARef0
 
int mPrevARef1
 
bool mUseColor1
 
bool mUseColor2
 
u8 mNumTexmap
 
int mTexmapMap [TEX_LAYER_MAX]
 
- Static Protected Attributes inherited from nw4r::ef::DrawStrategyImpl
static const math::VEC3 mXUnitVec
 
static const math::VEC3 mYUnitVec
 
static const math::VEC3 mZUnitVec
 
static const math::VEC3 mZeroVec
 
static const math::MTX34 mIdentityMtx
 

Member Function Documentation

◆ Draw()

virtual void nw4r::ef::DrawSmoothStripeStrategy::Draw ( const DrawInfo & rInfo,
ParticleManager * pManager )
virtual

◆ GetGetFirstDrawParticleFunc()

virtual GetFirstDrawParticleFunc nw4r::ef::DrawSmoothStripeStrategy::GetGetFirstDrawParticleFunc ( int drawOrder)
virtual

Reimplemented from nw4r::ef::DrawStrategyImpl.

◆ GetGetNextDrawParticleFunc()

virtual GetNextDrawParticleFunc nw4r::ef::DrawSmoothStripeStrategy::GetGetNextDrawParticleFunc ( int drawOrder)
virtual

Reimplemented from nw4r::ef::DrawStrategyImpl.