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

#include <JPABaseShape.h>

+ Collaboration diagram for JPABaseShape:

Public Member Functions

 JPABaseShape (u8 const *, JKRHeap *)
 
void setGX (JPAEmitterWorkData *) const
 
GXBlendMode getBlendMode () const
 
GXBlendFactor getBlendSrc () const
 
GXBlendFactor getBlendDst () const
 
GXLogicOp getLogicOp () const
 
GXBool getZCompLoc () const
 
GXBool getZEnable () const
 
GXCompare getZCmp () const
 
GXBool getZUpd () const
 
GXCompare getAlphaCmp0 () const
 
u8 getAlphaRef0 () const
 
GXAlphaOp getAlphaOp () const
 
GXCompare getAlphaCmp1 () const
 
u8 getAlphaRef1 () const
 
const GXTevColorArggetTevColorArg () const
 
const GXTevAlphaArggetTevAlphaArg () const
 
u32 getType () const
 
u32 getDirType () const
 
u32 getRotType () const
 
u32 getBasePlaneType () const
 
u32 getTilingS () const
 
u32 getTilingT () const
 
BOOL isGlblClrAnm () const
 
BOOL isGlblTexAnm () const
 
BOOL isPrjTex () const
 
bool isDrawFwdAhead () const
 
bool isDrawPrntAhead () const
 
bool isClipOn () const
 
BOOL isTexCrdAnm () const
 
bool isNoDrawParent () const
 
bool isNoDrawChild () const
 
BOOL isPrmAnm () const
 
BOOL isEnvAnm () const
 
u8 getClrAnmType () const
 
s16 getClrAnmMaxFrm () const
 
void getPrmClr (GXColor *dst)
 
void getPrmClr (s16 idx, GXColor *dst)
 
void getEnvClr (GXColor *dst)
 
void getEnvClr (s16 idx, GXColor *dst)
 
BOOL isTexAnm () const
 
u8 getTexAnmType () const
 
u32 getTexIdx () const
 
u8 getTexIdx (u8 idx) const
 
f32 getBaseSizeX () const
 
f32 getBaseSizeY () const
 
u8 getClrLoopOfstMask () const
 
u32 getClrLoopOfst (u32 param_1) const
 
u8 getTexLoopOfstMask () const
 
u32 getTexLoopOfst (u8 param_1) const
 
u8 getLoopOfstValue ()
 
f32 getIncTransX () const
 
f32 getInitTransX () const
 
f32 getIncTransY () const
 
f32 getInitTransY () const
 
f32 getIncScaleX () const
 
f32 getInitScaleX () const
 
f32 getIncScaleY () const
 
f32 getInitScaleY () const
 
f32 getIncRot () const
 
f32 getInitRot () const
 
u8 getTexAnmKeyNum () const
 

Public Attributes

const JPABaseShapeDatampData
 
const voidmpTexCrdMtxAnmTbl
 
const u8mpTexIdxAnimTbl
 
GXColormpPrmClrAnmTbl
 
GXColormpEnvClrAnmTbl
 

Static Public Attributes

static GXBlendMode st_bm [3]
 
static GXBlendFactor st_bf [10]
 
static GXLogicOp st_lo [16]
 
static GXCompare st_c [8]
 
static GXAlphaOp st_ao [4]
 
static GXTevColorArg st_ca [6][4]
 
static GXTevAlphaArg st_aa [2][4]
 

Constructor & Destructor Documentation

◆ JPABaseShape()

JPABaseShape::JPABaseShape ( u8 const pData,
JKRHeap pHeap 
)

Member Function Documentation

◆ getAlphaCmp0()

GXCompare JPABaseShape::getAlphaCmp0 ( ) const
inline

◆ getAlphaCmp1()

GXCompare JPABaseShape::getAlphaCmp1 ( ) const
inline

◆ getAlphaOp()

GXAlphaOp JPABaseShape::getAlphaOp ( ) const
inline

◆ getAlphaRef0()

u8 JPABaseShape::getAlphaRef0 ( ) const
inline

◆ getAlphaRef1()

u8 JPABaseShape::getAlphaRef1 ( ) const
inline

◆ getBasePlaneType()

u32 JPABaseShape::getBasePlaneType ( ) const
inline

◆ getBaseSizeX()

f32 JPABaseShape::getBaseSizeX ( ) const
inline

◆ getBaseSizeY()

f32 JPABaseShape::getBaseSizeY ( ) const
inline

◆ getBlendDst()

GXBlendFactor JPABaseShape::getBlendDst ( ) const
inline

◆ getBlendMode()

GXBlendMode JPABaseShape::getBlendMode ( ) const
inline

◆ getBlendSrc()

GXBlendFactor JPABaseShape::getBlendSrc ( ) const
inline

◆ getClrAnmMaxFrm()

s16 JPABaseShape::getClrAnmMaxFrm ( ) const
inline

◆ getClrAnmType()

u8 JPABaseShape::getClrAnmType ( ) const
inline

◆ getClrLoopOfst()

u32 JPABaseShape::getClrLoopOfst ( u32  param_1) const
inline

◆ getClrLoopOfstMask()

u8 JPABaseShape::getClrLoopOfstMask ( ) const
inline

◆ getDirType()

u32 JPABaseShape::getDirType ( ) const
inline

◆ getEnvClr() [1/2]

void JPABaseShape::getEnvClr ( GXColor dst)
inline

◆ getEnvClr() [2/2]

void JPABaseShape::getEnvClr ( s16  idx,
GXColor dst 
)
inline

◆ getIncRot()

f32 JPABaseShape::getIncRot ( ) const
inline

◆ getIncScaleX()

f32 JPABaseShape::getIncScaleX ( ) const
inline

◆ getIncScaleY()

f32 JPABaseShape::getIncScaleY ( ) const
inline

◆ getIncTransX()

f32 JPABaseShape::getIncTransX ( ) const
inline

◆ getIncTransY()

f32 JPABaseShape::getIncTransY ( ) const
inline

◆ getInitRot()

f32 JPABaseShape::getInitRot ( ) const
inline

◆ getInitScaleX()

f32 JPABaseShape::getInitScaleX ( ) const
inline

◆ getInitScaleY()

f32 JPABaseShape::getInitScaleY ( ) const
inline

◆ getInitTransX()

f32 JPABaseShape::getInitTransX ( ) const
inline

◆ getInitTransY()

f32 JPABaseShape::getInitTransY ( ) const
inline

◆ getLogicOp()

GXLogicOp JPABaseShape::getLogicOp ( ) const
inline

◆ getLoopOfstValue()

u8 JPABaseShape::getLoopOfstValue ( )
inline

◆ getPrmClr() [1/2]

void JPABaseShape::getPrmClr ( GXColor dst)
inline

◆ getPrmClr() [2/2]

void JPABaseShape::getPrmClr ( s16  idx,
GXColor dst 
)
inline

◆ getRotType()

u32 JPABaseShape::getRotType ( ) const
inline

◆ getTevAlphaArg()

const GXTevAlphaArg * JPABaseShape::getTevAlphaArg ( ) const
inline

◆ getTevColorArg()

const GXTevColorArg * JPABaseShape::getTevColorArg ( ) const
inline

◆ getTexAnmKeyNum()

u8 JPABaseShape::getTexAnmKeyNum ( ) const
inline

◆ getTexAnmType()

u8 JPABaseShape::getTexAnmType ( ) const
inline

◆ getTexIdx() [1/2]

u32 JPABaseShape::getTexIdx ( ) const
inline

◆ getTexIdx() [2/2]

u8 JPABaseShape::getTexIdx ( u8  idx) const
inline

◆ getTexLoopOfst()

u32 JPABaseShape::getTexLoopOfst ( u8  param_1) const
inline

◆ getTexLoopOfstMask()

u8 JPABaseShape::getTexLoopOfstMask ( ) const
inline

◆ getTilingS()

u32 JPABaseShape::getTilingS ( ) const
inline

◆ getTilingT()

u32 JPABaseShape::getTilingT ( ) const
inline

◆ getType()

u32 JPABaseShape::getType ( ) const
inline

◆ getZCmp()

GXCompare JPABaseShape::getZCmp ( ) const
inline

◆ getZCompLoc()

GXBool JPABaseShape::getZCompLoc ( ) const
inline

◆ getZEnable()

GXBool JPABaseShape::getZEnable ( ) const
inline

◆ getZUpd()

GXBool JPABaseShape::getZUpd ( ) const
inline

◆ isClipOn()

bool JPABaseShape::isClipOn ( ) const
inline

◆ isDrawFwdAhead()

bool JPABaseShape::isDrawFwdAhead ( ) const
inline

◆ isDrawPrntAhead()

bool JPABaseShape::isDrawPrntAhead ( ) const
inline

◆ isEnvAnm()

BOOL JPABaseShape::isEnvAnm ( ) const
inline

◆ isGlblClrAnm()

BOOL JPABaseShape::isGlblClrAnm ( ) const
inline

◆ isGlblTexAnm()

BOOL JPABaseShape::isGlblTexAnm ( ) const
inline

◆ isNoDrawChild()

bool JPABaseShape::isNoDrawChild ( ) const
inline

◆ isNoDrawParent()

bool JPABaseShape::isNoDrawParent ( ) const
inline

◆ isPrjTex()

BOOL JPABaseShape::isPrjTex ( ) const
inline

◆ isPrmAnm()

BOOL JPABaseShape::isPrmAnm ( ) const
inline

◆ isTexAnm()

BOOL JPABaseShape::isTexAnm ( ) const
inline

◆ isTexCrdAnm()

BOOL JPABaseShape::isTexCrdAnm ( ) const
inline

◆ setGX()

void JPABaseShape::setGX ( JPAEmitterWorkData work) const

Member Data Documentation

◆ mpData

const JPABaseShapeData* JPABaseShape::mpData

◆ mpEnvClrAnmTbl

GXColor* JPABaseShape::mpEnvClrAnmTbl

◆ mpPrmClrAnmTbl

GXColor* JPABaseShape::mpPrmClrAnmTbl

◆ mpTexCrdMtxAnmTbl

const void* JPABaseShape::mpTexCrdMtxAnmTbl

◆ mpTexIdxAnimTbl

const u8* JPABaseShape::mpTexIdxAnimTbl

◆ st_aa

GXTevAlphaArg JPABaseShape::st_aa
static
Initial value:
= {
{
},
{
},
}
@ GX_CA_ZERO
Definition GXEnum.h:342
@ GX_CA_A0
Definition GXEnum.h:336
@ GX_CA_TEXA
Definition GXEnum.h:339

◆ st_ao

GXAlphaOp JPABaseShape::st_ao
static
Initial value:
= {
}
@ GX_AOP_XNOR
Definition GXEnum.h:479
@ GX_AOP_AND
Definition GXEnum.h:476
@ GX_AOP_OR
Definition GXEnum.h:477
@ GX_AOP_XOR
Definition GXEnum.h:478

◆ st_bf

GXBlendFactor JPABaseShape::st_bf
static
Initial value:
= {
}
@ GX_BL_SRC_ALPHA
Definition GXEnum.h:160
@ GX_BL_SRC_COLOR
Definition GXEnum.h:156
@ GX_BL_ZERO
Definition GXEnum.h:154
@ GX_BL_ONE
Definition GXEnum.h:155
@ GX_BL_INV_DST_ALPHA
Definition GXEnum.h:163
@ GX_BL_INV_SRC_ALPHA
Definition GXEnum.h:161
@ GX_BL_DST_ALPHA
Definition GXEnum.h:162
@ GX_BL_INV_SRC_COLOR
Definition GXEnum.h:158

◆ st_bm

GXBlendMode JPABaseShape::st_bm
static
Initial value:
= {
}
@ GX_BM_NONE
Definition GXEnum.h:146
@ GX_BM_BLEND
Definition GXEnum.h:147
@ GX_BM_LOGIC
Definition GXEnum.h:148

◆ st_c

GXCompare JPABaseShape::st_c
static
Initial value:
= {
}
@ GX_GEQUAL
Definition GXEnum.h:471
@ GX_ALWAYS
Definition GXEnum.h:472
@ GX_LESS
Definition GXEnum.h:466
@ GX_NEVER
Definition GXEnum.h:465
@ GX_GREATER
Definition GXEnum.h:469
@ GX_EQUAL
Definition GXEnum.h:467
@ GX_NEQUAL
Definition GXEnum.h:470
@ GX_LEQUAL
Definition GXEnum.h:468

◆ st_ca

GXTevColorArg JPABaseShape::st_ca
static

◆ st_lo

GXLogicOp JPABaseShape::st_lo
static
Initial value:
= {
}
@ GX_LO_NOOP
Definition GXEnum.h:172
@ GX_LO_EQUIV
Definition GXEnum.h:176
@ GX_LO_REV_OR
Definition GXEnum.h:178
@ GX_LO_INV_COPY
Definition GXEnum.h:179
@ GX_LO_INV_OR
Definition GXEnum.h:180
@ GX_LO_CLEAR
Definition GXEnum.h:167
@ GX_LO_XOR
Definition GXEnum.h:173
@ GX_LO_SET
Definition GXEnum.h:182
@ GX_LO_NAND
Definition GXEnum.h:181
@ GX_LO_NOR
Definition GXEnum.h:175
@ GX_LO_REV_AND
Definition GXEnum.h:169
@ GX_LO_INV
Definition GXEnum.h:177
@ GX_LO_INV_AND
Definition GXEnum.h:171
@ GX_LO_COPY
Definition GXEnum.h:170
@ GX_LO_OR
Definition GXEnum.h:174
@ GX_LO_AND
Definition GXEnum.h:168

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