Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JPABaseEmitter Class Reference

#include <JPAEmitter.h>

+ Collaboration diagram for JPABaseEmitter:

Public Member Functions

 ~JPABaseEmitter ()
 
 JPABaseEmitter ()
 
void init (JPAEmitterManager *, JPAResource *)
 
bool processTillStartFrame ()
 
bool processTermination ()
 
void calcEmitterGlobalPosition (JGeometry::TVec3< f32 > *) const
 
void deleteAllParticle ()
 
JPABaseParticlecreateChild (JPABaseParticle *)
 
JPABaseParticlecreateParticle ()
 
u32 getCurrentCreateNumber () const
 
u8 getDrawCount () const
 
bool loadTexture (u8, GXTexMapID)
 
void initStatus (u32 status)
 
void setStatus (u32 status)
 
void clearStatus (u32 status)
 
u32 checkStatus (u32 status)
 
bool checkFlag (u32 flag)
 
u8 getResourceManagerID () const
 
u8 getGroupID () const
 
u8 getDrawTimes () const
 
void setRate (f32 rate)
 
void setDirectionalSpeed (f32 i_speed)
 
void setRandomDirectionSpeed (f32 i_speed)
 
void setEmitterCallBackPtr (JPAEmitterCallBack *ptr)
 
void setGlobalRTMatrix (const Mtx m)
 
void setGlobalSRTMatrix (const Mtx m)
 
void setGlobalTranslation (f32 x, f32 y, f32 z)
 
void setGlobalTranslation (const JGeometry::TVec3< f32 > &trs)
 
void getLocalTranslation (JGeometry::TVec3< f32 > &vec)
 
void setGlobalRotation (const JGeometry::TVec3< s16 > &rot)
 
void getGlobalTranslation (JGeometry::TVec3< f32 > *out) const
 
void setGlobalDynamicsScale (const JGeometry::TVec3< f32 > &i_scale)
 
void setGlobalAlpha (u8 alpha)
 
u8 getGlobalAlpha ()
 
void getGlobalPrmColor (GXColor &color)
 
void setGlobalPrmColor (u8 r, u8 g, u8 b)
 
void setGlobalEnvColor (u8 r, u8 g, u8 b)
 
void setVolumeSize (u16 size)
 
void setLifeTime (s16 lifetime)
 
void setAwayFromCenterSpeed (f32 i_speed)
 
void setAwayFromAxisSpeed (f32 i_speed)
 
void setSpread (f32 i_spread)
 
void setLocalTranslation (const JGeometry::TVec3< f32 > &i_trans)
 
void setLocalRotation (const JGeometry::TVec3< s16 > &i_rot)
 
void setRateStep (u8 i_step)
 
void setGlobalParticleHeightScale (f32 height)
 
void setGlobalParticleScale (const JGeometry::TVec3< f32 > &scale)
 
void setGlobalParticleScale (f32 scaleX, f32 scaleY)
 
void getGlobalParticleScale (JGeometry::TVec3< f32 > &scale)
 
void setGlobalScale (const JGeometry::TVec3< f32 > &scale)
 
void setGlobalSRTMatrix (const MtxP matrix)
 
void setLocalScale (const JGeometry::TVec3< f32 > &scale)
 
f32 get_r_f ()
 
f32 get_r_zp ()
 
f32 get_r_zh ()
 
s16 get_r_ss ()
 
void stopCreateParticle ()
 
void playCreateParticle ()
 
void becomeImmortalEmitter ()
 
void becomeContinuousParticle ()
 
void becomeDeleteEmitter ()
 
void becomeInvalidEmitter ()
 
void quitImmortalEmitter ()
 
void stopCalcEmitter ()
 
void playCalcEmitter ()
 
void stopDrawParticle ()
 
void playDrawParticle ()
 
u32 getUserWork ()
 
void setUserWork (u32 userWork)
 
u32 getParticleNumber ()
 
bool isEnableDeleteEmitter ()
 
void setDrawTimes (u8 drawTimes)
 
void setParticleCallBackPtr (JPAParticleCallBack *cb)
 
JPAParticleCallBackgetParticleCallBackPtr ()
 
JPAEmitterCallBackgetEmitterCallBackPtr () const
 
u32 getAge () const
 

Public Attributes

JGeometry::TVec3< f32mLocalScl
 
JGeometry::TVec3< f32mLocalTrs
 
JGeometry::TVec3< f32mLocalDir
 
s32 mMaxFrame
 
f32 mRate
 
f32 mVolumeSweep
 
f32 mVolumeMinRad
 
f32 mAwayFromCenterSpeed
 
f32 mAwayFromAxisSpeed
 
f32 mDirSpeed
 
f32 mSpread
 
f32 mRndmDirSpeed
 
f32 mAirResist
 
JGeometry::TVec3< s16mLocalRot
 
s16 mLifeTime
 
u16 mVolumeSize
 
u8 mRateStep
 
JSULink< JPABaseEmittermLink
 
Mtx mGlobalRot
 
JGeometry::TVec3< f32mGlobalScl
 
JGeometry::TVec3< f32mGlobalTrs
 
JGeometry::TVec2< f32mGlobalPScl
 
GXColor mGlobalPrmClr
 
GXColor mGlobalEnvClr
 
s32 mpUserWork
 
JPARandom mRndm
 
JPAList< JPABaseParticlemAlivePtclBase
 
JPAList< JPABaseParticlemAlivePtclChld
 
JPAList< JPABaseParticle > * mpPtclPool
 
JPAEmitterManagermpEmtrMgr
 
JPAResourcempRes
 
JPAEmitterCallBackmpEmtrCallBack
 
JPAParticleCallBackmpPtclCallBack
 
volatile u32 mStatus
 
f32 mEmitCount
 
f32 mScaleOut
 
u32 mTick
 
s16 mWaitTime
 
s16 mRateStepTimer
 
GXColor mPrmClr
 
GXColor mEnvClr
 
u8 mDrawTimes
 
u8 mTexAnmIdx
 
u8 mGroupID
 
u8 mResMgrID
 

Constructor & Destructor Documentation

◆ ~JPABaseEmitter()

JPABaseEmitter::~JPABaseEmitter ( )
inline

◆ JPABaseEmitter()

JPABaseEmitter::JPABaseEmitter ( )
inline

Member Function Documentation

◆ becomeContinuousParticle()

void JPABaseEmitter::becomeContinuousParticle ( )
inline

◆ becomeDeleteEmitter()

void JPABaseEmitter::becomeDeleteEmitter ( )
inline

◆ becomeImmortalEmitter()

void JPABaseEmitter::becomeImmortalEmitter ( )
inline

◆ becomeInvalidEmitter()

void JPABaseEmitter::becomeInvalidEmitter ( )
inline

◆ calcEmitterGlobalPosition()

void JPABaseEmitter::calcEmitterGlobalPosition ( JGeometry::TVec3< f32 > *  dst) const

◆ checkFlag()

bool JPABaseEmitter::checkFlag ( u32  flag)
inline

◆ checkStatus()

u32 JPABaseEmitter::checkStatus ( u32  status)
inline

◆ clearStatus()

void JPABaseEmitter::clearStatus ( u32  status)
inline

◆ createChild()

JPABaseParticle * JPABaseEmitter::createChild ( JPABaseParticle parent)

◆ createParticle()

JPABaseParticle * JPABaseEmitter::createParticle ( )

◆ deleteAllParticle()

void JPABaseEmitter::deleteAllParticle ( )

◆ get_r_f()

f32 JPABaseEmitter::get_r_f ( )
inline

◆ get_r_ss()

s16 JPABaseEmitter::get_r_ss ( )
inline

◆ get_r_zh()

f32 JPABaseEmitter::get_r_zh ( )
inline

◆ get_r_zp()

f32 JPABaseEmitter::get_r_zp ( )
inline

◆ getAge()

u32 JPABaseEmitter::getAge ( ) const
inline

◆ getCurrentCreateNumber()

u32 JPABaseEmitter::getCurrentCreateNumber ( ) const

◆ getDrawCount()

u8 JPABaseEmitter::getDrawCount ( ) const

◆ getDrawTimes()

u8 JPABaseEmitter::getDrawTimes ( ) const
inline

◆ getEmitterCallBackPtr()

JPAEmitterCallBack * JPABaseEmitter::getEmitterCallBackPtr ( ) const
inline

◆ getGlobalAlpha()

u8 JPABaseEmitter::getGlobalAlpha ( )
inline

◆ getGlobalParticleScale()

void JPABaseEmitter::getGlobalParticleScale ( JGeometry::TVec3< f32 > &  scale)
inline

◆ getGlobalPrmColor()

void JPABaseEmitter::getGlobalPrmColor ( GXColor color)
inline

◆ getGlobalTranslation()

void JPABaseEmitter::getGlobalTranslation ( JGeometry::TVec3< f32 > *  out) const
inline

◆ getGroupID()

u8 JPABaseEmitter::getGroupID ( ) const
inline

◆ getLocalTranslation()

void JPABaseEmitter::getLocalTranslation ( JGeometry::TVec3< f32 > &  vec)
inline

◆ getParticleCallBackPtr()

JPAParticleCallBack * JPABaseEmitter::getParticleCallBackPtr ( )
inline

◆ getParticleNumber()

u32 JPABaseEmitter::getParticleNumber ( )
inline

◆ getResourceManagerID()

u8 JPABaseEmitter::getResourceManagerID ( ) const
inline

◆ getUserWork()

u32 JPABaseEmitter::getUserWork ( )
inline

◆ init()

void JPABaseEmitter::init ( JPAEmitterManager param_0,
JPAResource param_1 
)

◆ initStatus()

void JPABaseEmitter::initStatus ( u32  status)
inline

◆ isEnableDeleteEmitter()

bool JPABaseEmitter::isEnableDeleteEmitter ( )
inline

◆ loadTexture()

bool JPABaseEmitter::loadTexture ( u8  idx,
GXTexMapID  texMapID 
)

◆ playCalcEmitter()

void JPABaseEmitter::playCalcEmitter ( )
inline

◆ playCreateParticle()

void JPABaseEmitter::playCreateParticle ( )
inline

◆ playDrawParticle()

void JPABaseEmitter::playDrawParticle ( )
inline

◆ processTermination()

bool JPABaseEmitter::processTermination ( )

◆ processTillStartFrame()

bool JPABaseEmitter::processTillStartFrame ( )

◆ quitImmortalEmitter()

void JPABaseEmitter::quitImmortalEmitter ( )
inline

◆ setAwayFromAxisSpeed()

void JPABaseEmitter::setAwayFromAxisSpeed ( f32  i_speed)
inline

◆ setAwayFromCenterSpeed()

void JPABaseEmitter::setAwayFromCenterSpeed ( f32  i_speed)
inline

◆ setDirectionalSpeed()

void JPABaseEmitter::setDirectionalSpeed ( f32  i_speed)
inline

◆ setDrawTimes()

void JPABaseEmitter::setDrawTimes ( u8  drawTimes)
inline

◆ setEmitterCallBackPtr()

void JPABaseEmitter::setEmitterCallBackPtr ( JPAEmitterCallBack ptr)
inline

◆ setGlobalAlpha()

void JPABaseEmitter::setGlobalAlpha ( u8  alpha)
inline

◆ setGlobalDynamicsScale()

void JPABaseEmitter::setGlobalDynamicsScale ( const JGeometry::TVec3< f32 > &  i_scale)
inline

◆ setGlobalEnvColor()

void JPABaseEmitter::setGlobalEnvColor ( u8  r,
u8  g,
u8  b 
)
inline

◆ setGlobalParticleHeightScale()

void JPABaseEmitter::setGlobalParticleHeightScale ( f32  height)
inline

◆ setGlobalParticleScale() [1/2]

void JPABaseEmitter::setGlobalParticleScale ( const JGeometry::TVec3< f32 > &  scale)
inline

◆ setGlobalParticleScale() [2/2]

void JPABaseEmitter::setGlobalParticleScale ( f32  scaleX,
f32  scaleY 
)
inline

◆ setGlobalPrmColor()

void JPABaseEmitter::setGlobalPrmColor ( u8  r,
u8  g,
u8  b 
)
inline

◆ setGlobalRotation()

void JPABaseEmitter::setGlobalRotation ( const JGeometry::TVec3< s16 > &  rot)
inline

◆ setGlobalRTMatrix()

void JPABaseEmitter::setGlobalRTMatrix ( const Mtx  m)
inline

◆ setGlobalScale()

void JPABaseEmitter::setGlobalScale ( const JGeometry::TVec3< f32 > &  scale)
inline

◆ setGlobalSRTMatrix() [1/2]

void JPABaseEmitter::setGlobalSRTMatrix ( const Mtx  m)
inline

◆ setGlobalSRTMatrix() [2/2]

void JPABaseEmitter::setGlobalSRTMatrix ( const MtxP  matrix)
inline

◆ setGlobalTranslation() [1/2]

void JPABaseEmitter::setGlobalTranslation ( const JGeometry::TVec3< f32 > &  trs)
inline

◆ setGlobalTranslation() [2/2]

void JPABaseEmitter::setGlobalTranslation ( f32  x,
f32  y,
f32  z 
)
inline

◆ setLifeTime()

void JPABaseEmitter::setLifeTime ( s16  lifetime)
inline

◆ setLocalRotation()

void JPABaseEmitter::setLocalRotation ( const JGeometry::TVec3< s16 > &  i_rot)
inline

◆ setLocalScale()

void JPABaseEmitter::setLocalScale ( const JGeometry::TVec3< f32 > &  scale)
inline

◆ setLocalTranslation()

void JPABaseEmitter::setLocalTranslation ( const JGeometry::TVec3< f32 > &  i_trans)
inline

◆ setParticleCallBackPtr()

void JPABaseEmitter::setParticleCallBackPtr ( JPAParticleCallBack cb)
inline

◆ setRandomDirectionSpeed()

void JPABaseEmitter::setRandomDirectionSpeed ( f32  i_speed)
inline

◆ setRate()

void JPABaseEmitter::setRate ( f32  rate)
inline

◆ setRateStep()

void JPABaseEmitter::setRateStep ( u8  i_step)
inline

◆ setSpread()

void JPABaseEmitter::setSpread ( f32  i_spread)
inline

◆ setStatus()

void JPABaseEmitter::setStatus ( u32  status)
inline

◆ setUserWork()

void JPABaseEmitter::setUserWork ( u32  userWork)
inline

◆ setVolumeSize()

void JPABaseEmitter::setVolumeSize ( u16  size)
inline

◆ stopCalcEmitter()

void JPABaseEmitter::stopCalcEmitter ( )
inline

◆ stopCreateParticle()

void JPABaseEmitter::stopCreateParticle ( )
inline

◆ stopDrawParticle()

void JPABaseEmitter::stopDrawParticle ( )
inline

Member Data Documentation

◆ mAirResist

f32 JPABaseEmitter::mAirResist

◆ mAlivePtclBase

JPAList<JPABaseParticle> JPABaseEmitter::mAlivePtclBase

◆ mAlivePtclChld

JPAList<JPABaseParticle> JPABaseEmitter::mAlivePtclChld

◆ mAwayFromAxisSpeed

f32 JPABaseEmitter::mAwayFromAxisSpeed

◆ mAwayFromCenterSpeed

f32 JPABaseEmitter::mAwayFromCenterSpeed

◆ mDirSpeed

f32 JPABaseEmitter::mDirSpeed

◆ mDrawTimes

u8 JPABaseEmitter::mDrawTimes

◆ mEmitCount

f32 JPABaseEmitter::mEmitCount

◆ mEnvClr

GXColor JPABaseEmitter::mEnvClr

◆ mGlobalEnvClr

GXColor JPABaseEmitter::mGlobalEnvClr

◆ mGlobalPrmClr

GXColor JPABaseEmitter::mGlobalPrmClr

◆ mGlobalPScl

JGeometry::TVec2<f32> JPABaseEmitter::mGlobalPScl

◆ mGlobalRot

Mtx JPABaseEmitter::mGlobalRot

◆ mGlobalScl

JGeometry::TVec3<f32> JPABaseEmitter::mGlobalScl

◆ mGlobalTrs

JGeometry::TVec3<f32> JPABaseEmitter::mGlobalTrs

◆ mGroupID

u8 JPABaseEmitter::mGroupID

◆ mLifeTime

s16 JPABaseEmitter::mLifeTime

◆ mLink

JSULink<JPABaseEmitter> JPABaseEmitter::mLink

◆ mLocalDir

JGeometry::TVec3<f32> JPABaseEmitter::mLocalDir

◆ mLocalRot

JGeometry::TVec3<s16> JPABaseEmitter::mLocalRot

◆ mLocalScl

JGeometry::TVec3<f32> JPABaseEmitter::mLocalScl

◆ mLocalTrs

JGeometry::TVec3<f32> JPABaseEmitter::mLocalTrs

◆ mMaxFrame

s32 JPABaseEmitter::mMaxFrame

◆ mpEmtrCallBack

JPAEmitterCallBack* JPABaseEmitter::mpEmtrCallBack

◆ mpEmtrMgr

JPAEmitterManager* JPABaseEmitter::mpEmtrMgr

◆ mpPtclCallBack

JPAParticleCallBack* JPABaseEmitter::mpPtclCallBack

◆ mpPtclPool

JPAList<JPABaseParticle>* JPABaseEmitter::mpPtclPool

◆ mpRes

JPAResource* JPABaseEmitter::mpRes

◆ mPrmClr

GXColor JPABaseEmitter::mPrmClr

◆ mpUserWork

s32 JPABaseEmitter::mpUserWork

◆ mRate

f32 JPABaseEmitter::mRate

◆ mRateStep

u8 JPABaseEmitter::mRateStep

◆ mRateStepTimer

s16 JPABaseEmitter::mRateStepTimer

◆ mResMgrID

u8 JPABaseEmitter::mResMgrID

◆ mRndm

JPARandom JPABaseEmitter::mRndm

◆ mRndmDirSpeed

f32 JPABaseEmitter::mRndmDirSpeed

◆ mScaleOut

f32 JPABaseEmitter::mScaleOut

◆ mSpread

f32 JPABaseEmitter::mSpread

◆ mStatus

volatile u32 JPABaseEmitter::mStatus

◆ mTexAnmIdx

u8 JPABaseEmitter::mTexAnmIdx

◆ mTick

u32 JPABaseEmitter::mTick

◆ mVolumeMinRad

f32 JPABaseEmitter::mVolumeMinRad

◆ mVolumeSize

u16 JPABaseEmitter::mVolumeSize

◆ mVolumeSweep

f32 JPABaseEmitter::mVolumeSweep

◆ mWaitTime

s16 JPABaseEmitter::mWaitTime

The documentation for this class was generated from the following files: