Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JPABaseShape.cpp File Reference

Typedefs

typedef void(* projectionFunc) (JPAEmitterWorkData const *, const Mtx)
 
typedef void(* dirTypeFunc) (JPAEmitterWorkData const *, JPABaseParticle const *, JGeometry::TVec3< f32 > *)
 
typedef void(* rotTypeFunc) (f32, f32, Mtx &)
 
typedef void(* planeFunc) (MtxP, f32, f32)
 
typedef JPANode< JPABaseParticle > *(* getNodeFunc) (JPANode< JPABaseParticle > *)
 

Functions

void JPASetPointSize (JPAEmitterWorkData *work)
 
void JPASetLineWidth (JPAEmitterWorkData *work)
 
void JPASetPointSize (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPASetLineWidth (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPARegistPrm (JPAEmitterWorkData *work)
 
void JPARegistEnv (JPAEmitterWorkData *work)
 
void JPARegistPrmEnv (JPAEmitterWorkData *work)
 
void JPARegistAlpha (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPARegistPrmAlpha (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPARegistPrmAlphaEnv (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPARegistAlphaEnv (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPARegistEnv (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPACalcClrIdxNormal (JPAEmitterWorkData *work)
 
void JPACalcClrIdxNormal (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcClrIdxRepeat (JPAEmitterWorkData *work)
 
void JPACalcClrIdxRepeat (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcClrIdxReverse (JPAEmitterWorkData *work)
 
void JPACalcClrIdxReverse (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcClrIdxMerge (JPAEmitterWorkData *work)
 
void JPACalcClrIdxMerge (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcClrIdxRandom (JPAEmitterWorkData *work)
 
void JPACalcClrIdxRandom (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcPrm (JPAEmitterWorkData *work)
 
void JPACalcPrm (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPACalcEnv (JPAEmitterWorkData *work)
 
void JPACalcEnv (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPACalcColorCopy (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPAGenTexCrdMtxIdt (JPAEmitterWorkData *param_0)
 
void JPAGenTexCrdMtxAnm (JPAEmitterWorkData *param_0)
 
void JPAGenTexCrdMtxPrj (JPAEmitterWorkData *param_0)
 
void JPAGenCalcTexCrdMtxAnm (JPAEmitterWorkData *work)
 
void JPALoadCalcTexCrdMtxAnm (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPALoadTex (JPAEmitterWorkData *work)
 
void JPALoadTexAnm (JPAEmitterWorkData *work)
 
void JPALoadTexAnm (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPACalcTexIdxNormal (JPAEmitterWorkData *work)
 
void JPACalcTexIdxNormal (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcTexIdxRepeat (JPAEmitterWorkData *work)
 
void JPACalcTexIdxRepeat (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcTexIdxReverse (JPAEmitterWorkData *work)
 
void JPACalcTexIdxReverse (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcTexIdxMerge (JPAEmitterWorkData *work)
 
void JPACalcTexIdxMerge (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPACalcTexIdxRandom (JPAEmitterWorkData *work)
 
void JPACalcTexIdxRandom (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPALoadPosMtxCam (JPAEmitterWorkData *work)
 
static void noLoadPrj (JPAEmitterWorkData const *work, const Mtx srt)
 
void loadPrj (JPAEmitterWorkData const *work, const Mtx srt)
 
static void loadPrjAnm (JPAEmitterWorkData const *work, const Mtx srt)
 
void JPADrawBillboard (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPADrawRotBillboard (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPADrawYBillboard (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void JPADrawRotYBillboard (JPAEmitterWorkData *work, JPABaseParticle *param_1)
 
void dirTypeVel (JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
 
void dirTypePos (JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
 
void dirTypePosInv (JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
 
void dirTypeEmtrDir (JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
 
void dirTypePrevPtcl (JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
 
static void rotTypeY (f32 param_0, f32 param_1, Mtx &param_2)
 
static void rotTypeX (f32 param_0, f32 param_1, Mtx &param_2)
 
static void rotTypeZ (f32 param_0, f32 param_1, Mtx &param_2)
 
static void rotTypeXYZ (f32 param_0, f32 param_1, Mtx &param_2)
 
static void basePlaneTypeXY (MtxP param_0, f32 param_1, f32 param_2)
 
static void basePlaneTypeXZ (MtxP param_0, f32 param_1, f32 param_2)
 
static void basePlaneTypeX (MtxP param_0, f32 param_1, f32 param_2)
 
void JPADrawDirection (JPAEmitterWorkData *param_0, JPABaseParticle *param_1)
 
void JPADrawRotDirection (JPAEmitterWorkData *param_0, JPABaseParticle *param_1)
 
void JPADrawDBillboard (JPAEmitterWorkData *param_0, JPABaseParticle *param_1)
 
void JPADrawRotation (JPAEmitterWorkData *param_0, JPABaseParticle *param_1)
 
void JPADrawPoint (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
void JPADrawLine (JPAEmitterWorkData *param_0, JPABaseParticle *param_1)
 
JPANode< JPABaseParticle > * getNext (JPANode< JPABaseParticle > *param_0)
 
JPANode< JPABaseParticle > * getPrev (JPANode< JPABaseParticle > *param_0)
 
void JPADrawStripe (JPAEmitterWorkData *param_0)
 
void JPADrawStripeX (JPAEmitterWorkData *param_0)
 
void JPADrawEmitterCallBackB (JPAEmitterWorkData *work)
 
void JPADrawParticleCallBack (JPAEmitterWorkData *work, JPABaseParticle *ptcl)
 
static void makeColorTable (GXColor **o_color_table, JPAClrAnmKeyData const *i_data, u8 param_2, s16 i_size, JKRHeap *i_heap)
 

Variables

static u8 jpa_dl [32]
 
static u8 jpa_dl_x [32]
 
static projectionFunc p_prj [3]
 
static dirTypeFunc p_direction [5]
 
static rotTypeFunc p_rot [5]
 
static planeFunc p_plane [3]
 
static u8p_dl [2]
 

Typedef Documentation

◆ dirTypeFunc

◆ getNodeFunc

◆ planeFunc

typedef void(* planeFunc) (MtxP, f32, f32)

◆ projectionFunc

typedef void(* projectionFunc) (JPAEmitterWorkData const *, const Mtx)

◆ rotTypeFunc

typedef void(* rotTypeFunc) (f32, f32, Mtx &)

Function Documentation

◆ basePlaneTypeX()

static void basePlaneTypeX ( MtxP  param_0,
f32  param_1,
f32  param_2 
)
static

◆ basePlaneTypeXY()

static void basePlaneTypeXY ( MtxP  param_0,
f32  param_1,
f32  param_2 
)
static

◆ basePlaneTypeXZ()

static void basePlaneTypeXZ ( MtxP  param_0,
f32  param_1,
f32  param_2 
)
static

◆ dirTypeEmtrDir()

void dirTypeEmtrDir ( JPAEmitterWorkData const work,
JPABaseParticle const param_1,
JGeometry::TVec3< f32 > *  param_2 
)

◆ dirTypePos()

void dirTypePos ( JPAEmitterWorkData const work,
JPABaseParticle const param_1,
JGeometry::TVec3< f32 > *  param_2 
)

◆ dirTypePosInv()

void dirTypePosInv ( JPAEmitterWorkData const work,
JPABaseParticle const param_1,
JGeometry::TVec3< f32 > *  param_2 
)

◆ dirTypePrevPtcl()

void dirTypePrevPtcl ( JPAEmitterWorkData const work,
JPABaseParticle const param_1,
JGeometry::TVec3< f32 > *  param_2 
)

◆ dirTypeVel()

void dirTypeVel ( JPAEmitterWorkData const work,
JPABaseParticle const param_1,
JGeometry::TVec3< f32 > *  param_2 
)

◆ getNext()

JPANode< JPABaseParticle > * getNext ( JPANode< JPABaseParticle > *  param_0)

◆ getPrev()

JPANode< JPABaseParticle > * getPrev ( JPANode< JPABaseParticle > *  param_0)

◆ JPACalcClrIdxMerge() [1/2]

void JPACalcClrIdxMerge ( JPAEmitterWorkData work)

◆ JPACalcClrIdxMerge() [2/2]

void JPACalcClrIdxMerge ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcClrIdxNormal() [1/2]

void JPACalcClrIdxNormal ( JPAEmitterWorkData work)

◆ JPACalcClrIdxNormal() [2/2]

void JPACalcClrIdxNormal ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcClrIdxRandom() [1/2]

void JPACalcClrIdxRandom ( JPAEmitterWorkData work)

◆ JPACalcClrIdxRandom() [2/2]

void JPACalcClrIdxRandom ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcClrIdxRepeat() [1/2]

void JPACalcClrIdxRepeat ( JPAEmitterWorkData work)

◆ JPACalcClrIdxRepeat() [2/2]

void JPACalcClrIdxRepeat ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcClrIdxReverse() [1/2]

void JPACalcClrIdxReverse ( JPAEmitterWorkData work)

◆ JPACalcClrIdxReverse() [2/2]

void JPACalcClrIdxReverse ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcColorCopy()

void JPACalcColorCopy ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPACalcEnv() [1/2]

void JPACalcEnv ( JPAEmitterWorkData work)

◆ JPACalcEnv() [2/2]

void JPACalcEnv ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPACalcPrm() [1/2]

void JPACalcPrm ( JPAEmitterWorkData work)

◆ JPACalcPrm() [2/2]

void JPACalcPrm ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPACalcTexIdxMerge() [1/2]

void JPACalcTexIdxMerge ( JPAEmitterWorkData work)

◆ JPACalcTexIdxMerge() [2/2]

void JPACalcTexIdxMerge ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcTexIdxNormal() [1/2]

void JPACalcTexIdxNormal ( JPAEmitterWorkData work)

◆ JPACalcTexIdxNormal() [2/2]

void JPACalcTexIdxNormal ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcTexIdxRandom() [1/2]

void JPACalcTexIdxRandom ( JPAEmitterWorkData work)

◆ JPACalcTexIdxRandom() [2/2]

void JPACalcTexIdxRandom ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcTexIdxRepeat() [1/2]

void JPACalcTexIdxRepeat ( JPAEmitterWorkData work)

◆ JPACalcTexIdxRepeat() [2/2]

void JPACalcTexIdxRepeat ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPACalcTexIdxReverse() [1/2]

void JPACalcTexIdxReverse ( JPAEmitterWorkData work)

◆ JPACalcTexIdxReverse() [2/2]

void JPACalcTexIdxReverse ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPADrawBillboard()

void JPADrawBillboard ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPADrawDBillboard()

void JPADrawDBillboard ( JPAEmitterWorkData param_0,
JPABaseParticle param_1 
)

◆ JPADrawDirection()

void JPADrawDirection ( JPAEmitterWorkData param_0,
JPABaseParticle param_1 
)

◆ JPADrawEmitterCallBackB()

void JPADrawEmitterCallBackB ( JPAEmitterWorkData work)

◆ JPADrawLine()

void JPADrawLine ( JPAEmitterWorkData param_0,
JPABaseParticle param_1 
)

◆ JPADrawParticleCallBack()

void JPADrawParticleCallBack ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPADrawPoint()

void JPADrawPoint ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPADrawRotation()

void JPADrawRotation ( JPAEmitterWorkData param_0,
JPABaseParticle param_1 
)

◆ JPADrawRotBillboard()

void JPADrawRotBillboard ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPADrawRotDirection()

void JPADrawRotDirection ( JPAEmitterWorkData param_0,
JPABaseParticle param_1 
)

◆ JPADrawRotYBillboard()

void JPADrawRotYBillboard ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPADrawStripe()

void JPADrawStripe ( JPAEmitterWorkData param_0)

◆ JPADrawStripeX()

void JPADrawStripeX ( JPAEmitterWorkData param_0)

◆ JPADrawYBillboard()

void JPADrawYBillboard ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPAGenCalcTexCrdMtxAnm()

void JPAGenCalcTexCrdMtxAnm ( JPAEmitterWorkData work)

◆ JPAGenTexCrdMtxAnm()

void JPAGenTexCrdMtxAnm ( JPAEmitterWorkData param_0)

◆ JPAGenTexCrdMtxIdt()

void JPAGenTexCrdMtxIdt ( JPAEmitterWorkData param_0)

◆ JPAGenTexCrdMtxPrj()

void JPAGenTexCrdMtxPrj ( JPAEmitterWorkData param_0)

◆ JPALoadCalcTexCrdMtxAnm()

void JPALoadCalcTexCrdMtxAnm ( JPAEmitterWorkData work,
JPABaseParticle param_1 
)

◆ JPALoadPosMtxCam()

void JPALoadPosMtxCam ( JPAEmitterWorkData work)

◆ JPALoadTex()

void JPALoadTex ( JPAEmitterWorkData work)

◆ JPALoadTexAnm() [1/2]

void JPALoadTexAnm ( JPAEmitterWorkData work)

◆ JPALoadTexAnm() [2/2]

void JPALoadTexAnm ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistAlpha()

void JPARegistAlpha ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistAlphaEnv()

void JPARegistAlphaEnv ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistEnv() [1/2]

void JPARegistEnv ( JPAEmitterWorkData work)

◆ JPARegistEnv() [2/2]

void JPARegistEnv ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistPrm()

void JPARegistPrm ( JPAEmitterWorkData work)

◆ JPARegistPrmAlpha()

void JPARegistPrmAlpha ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistPrmAlphaEnv()

void JPARegistPrmAlphaEnv ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPARegistPrmEnv()

void JPARegistPrmEnv ( JPAEmitterWorkData work)

◆ JPASetLineWidth() [1/2]

void JPASetLineWidth ( JPAEmitterWorkData work)

◆ JPASetLineWidth() [2/2]

void JPASetLineWidth ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ JPASetPointSize() [1/2]

void JPASetPointSize ( JPAEmitterWorkData work)

◆ JPASetPointSize() [2/2]

void JPASetPointSize ( JPAEmitterWorkData work,
JPABaseParticle ptcl 
)

◆ loadPrj()

void loadPrj ( JPAEmitterWorkData const work,
const Mtx  srt 
)

◆ loadPrjAnm()

static void loadPrjAnm ( JPAEmitterWorkData const work,
const Mtx  srt 
)
static

◆ makeColorTable()

static void makeColorTable ( GXColor **  o_color_table,
JPAClrAnmKeyData const i_data,
u8  param_2,
s16  i_size,
JKRHeap i_heap 
)
static

◆ noLoadPrj()

static void noLoadPrj ( JPAEmitterWorkData const work,
const Mtx  srt 
)
static

◆ rotTypeX()

static void rotTypeX ( f32  param_0,
f32  param_1,
Mtx param_2 
)
static

◆ rotTypeXYZ()

static void rotTypeXYZ ( f32  param_0,
f32  param_1,
Mtx param_2 
)
static

◆ rotTypeY()

static void rotTypeY ( f32  param_0,
f32  param_1,
Mtx param_2 
)
static

◆ rotTypeZ()

static void rotTypeZ ( f32  param_0,
f32  param_1,
Mtx param_2 
)
static

Variable Documentation

◆ jpa_dl

u8 jpa_dl[32]
static
Initial value:
= {
0x80, 0x00, 0x04, 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ jpa_dl_x

u8 jpa_dl_x[32]
static
Initial value:
= {
0x80, 0x00, 0x08, 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x48, 0x00, 0x49, 0x01, 0x4A,
0x02, 0x4B, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ p_direction

dirTypeFunc p_direction[5]
static
Initial value:
= {
}
void dirTypeVel(JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
Definition JPABaseShape.cpp:647
void dirTypePrevPtcl(JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
Definition JPABaseShape.cpp:676
void dirTypePos(JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
Definition JPABaseShape.cpp:654
void dirTypePosInv(JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
Definition JPABaseShape.cpp:661
void dirTypeEmtrDir(JPAEmitterWorkData const *work, JPABaseParticle const *param_1, JGeometry::TVec3< f32 > *param_2)
Definition JPABaseShape.cpp:669

◆ p_dl

u8* p_dl[2]
static
Initial value:
= {
}
static u8 jpa_dl_x[32]
Definition JPABaseShape.cpp:517
static u8 jpa_dl[32]
Definition JPABaseShape.cpp:511

◆ p_plane

planeFunc p_plane[3]
static
Initial value:
= {
}
static void basePlaneTypeXZ(MtxP param_0, f32 param_1, f32 param_2)
Definition JPABaseShape.cpp:773
static void basePlaneTypeXY(MtxP param_0, f32 param_1, f32 param_2)
Definition JPABaseShape.cpp:763
static void basePlaneTypeX(MtxP param_0, f32 param_1, f32 param_2)
Definition JPABaseShape.cpp:783

◆ p_prj

projectionFunc p_prj[3]
static
Initial value:
= {
}
void loadPrj(JPAEmitterWorkData const *work, const Mtx srt)
Definition JPABaseShape.cpp:471
static void noLoadPrj(JPAEmitterWorkData const *work, const Mtx srt)
Definition JPABaseShape.cpp:466
static void loadPrjAnm(JPAEmitterWorkData const *work, const Mtx srt)
Definition JPABaseShape.cpp:478

◆ p_rot

rotTypeFunc p_rot[5]
static
Initial value:
= {
}
static void rotTypeX(f32 param_0, f32 param_1, Mtx &param_2)
Definition JPABaseShape.cpp:709
static void rotTypeY(f32 param_0, f32 param_1, Mtx &param_2)
Definition JPABaseShape.cpp:693
static void rotTypeXYZ(f32 param_0, f32 param_1, Mtx &param_2)
Definition JPABaseShape.cpp:741
static void rotTypeZ(f32 param_0, f32 param_1, Mtx &param_2)
Definition JPABaseShape.cpp:725