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

#include <JPAFieldBlock.h>

+ Collaboration diagram for JPAFieldBlock:

Public Member Functions

 JPAFieldBlock (u8 const *, JKRHeap *)
 
void init (JKRHeap *)
 
u32 getType () const
 
u32 getAddType () const
 
u32 getSttFlag () const
 
u32 checkStatus (u16 flag)
 
f32 getMagRndm () const
 
f32 getVal1 () const
 
f32 getFadeInTime () const
 
f32 getFadeOutTime () const
 
f32 getEnTime () const
 
f32 getDisTime () const
 
u8 getCycle () const
 
f32 getFadeInRate () const
 
f32 getFadeOutRate () const
 
const JGeometry::TVec3< f32 > & getPos () const
 
const JGeometry::TVec3< f32 > & getDir () const
 
f32 getMag () const
 
void getPosOrig (JGeometry::TVec3< f32 > *pos) const
 
void getDirOrig (JGeometry::TVec3< f32 > *dir) const
 
f32 getMagOrig () const
 
void initOpParam ()
 
void prepare (JPAEmitterWorkData *work)
 
void calc (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 

Private Types

enum  Type {
  FIELD_GRAVITY , FIELD_AIR , FIELD_MAGNET , FIELD_NEWTON ,
  FIELD_VORTEX , FIELD_RANDOM , FIELD_DRAG , FIELD_CONVECTION ,
  FIELD_SPIN
}
 

Private Attributes

const JPAFieldBlockDatampData
 
JPAFieldBasepFld
 
f32 mFadeInRate
 
f32 mFadeOutRate
 
JGeometry::TVec3< f32mPos
 
JGeometry::TVec3< f32mDir
 
f32 mMag
 

Member Enumeration Documentation

◆ Type

enum JPAFieldBlock::Type
private
Enumerator
FIELD_GRAVITY 
FIELD_AIR 
FIELD_MAGNET 
FIELD_NEWTON 
FIELD_VORTEX 
FIELD_RANDOM 
FIELD_DRAG 
FIELD_CONVECTION 
FIELD_SPIN 

Constructor & Destructor Documentation

◆ JPAFieldBlock()

JPAFieldBlock::JPAFieldBlock ( u8 const * data,
JKRHeap * heap )

Member Function Documentation

◆ calc()

void JPAFieldBlock::calc ( JPAEmitterWorkData * work,
JPABaseParticle * ptcl )
inline

◆ checkStatus()

u32 JPAFieldBlock::checkStatus ( u16 flag)
inline

◆ getAddType()

u32 JPAFieldBlock::getAddType ( ) const
inline

◆ getCycle()

u8 JPAFieldBlock::getCycle ( ) const
inline

◆ getDir()

const JGeometry::TVec3< f32 > & JPAFieldBlock::getDir ( ) const
inline

◆ getDirOrig()

void JPAFieldBlock::getDirOrig ( JGeometry::TVec3< f32 > * dir) const
inline

◆ getDisTime()

f32 JPAFieldBlock::getDisTime ( ) const
inline

◆ getEnTime()

f32 JPAFieldBlock::getEnTime ( ) const
inline

◆ getFadeInRate()

f32 JPAFieldBlock::getFadeInRate ( ) const
inline

◆ getFadeInTime()

f32 JPAFieldBlock::getFadeInTime ( ) const
inline

◆ getFadeOutRate()

f32 JPAFieldBlock::getFadeOutRate ( ) const
inline

◆ getFadeOutTime()

f32 JPAFieldBlock::getFadeOutTime ( ) const
inline

◆ getMag()

f32 JPAFieldBlock::getMag ( ) const
inline

◆ getMagOrig()

f32 JPAFieldBlock::getMagOrig ( ) const
inline

◆ getMagRndm()

f32 JPAFieldBlock::getMagRndm ( ) const
inline

◆ getPos()

const JGeometry::TVec3< f32 > & JPAFieldBlock::getPos ( ) const
inline

◆ getPosOrig()

void JPAFieldBlock::getPosOrig ( JGeometry::TVec3< f32 > * pos) const
inline

◆ getSttFlag()

u32 JPAFieldBlock::getSttFlag ( ) const
inline

◆ getType()

u32 JPAFieldBlock::getType ( ) const
inline

◆ getVal1()

f32 JPAFieldBlock::getVal1 ( ) const
inline

◆ init()

void JPAFieldBlock::init ( JKRHeap * heap)

◆ initOpParam()

void JPAFieldBlock::initOpParam ( )
inline

◆ prepare()

void JPAFieldBlock::prepare ( JPAEmitterWorkData * work)
inline

Member Data Documentation

◆ mDir

JGeometry::TVec3<f32> JPAFieldBlock::mDir
private

◆ mFadeInRate

f32 JPAFieldBlock::mFadeInRate
private

◆ mFadeOutRate

f32 JPAFieldBlock::mFadeOutRate
private

◆ mMag

f32 JPAFieldBlock::mMag
private

◆ mpData

const JPAFieldBlockData* JPAFieldBlock::mpData
private

◆ mPos

JGeometry::TVec3<f32> JPAFieldBlock::mPos
private

◆ pFld

JPAFieldBase* JPAFieldBlock::pFld
private

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