Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXTev.c File Reference

Functions

void GXSetTevOp (GXTevStageID stage, GXTevMode mode)
 
void GXSetTevColorIn (GXTevStageID stage, GXTevColorArg a, GXTevColorArg b, GXTevColorArg c, GXTevColorArg d)
 
void GXSetTevAlphaIn (GXTevStageID stage, GXTevAlphaArg a, GXTevAlphaArg b, GXTevAlphaArg c, GXTevAlphaArg d)
 
void GXSetTevColorOp (GXTevStageID stage, GXTevOp op, GXTevBias bias, GXTevScale scale, GXBool doClamp, GXTevRegID outReg)
 
void GXSetTevAlphaOp (GXTevStageID stage, GXTevOp op, GXTevBias bias, GXTevScale scale, GXBool doClamp, GXTevRegID outReg)
 
void GXSetTevColor (GXTevRegID reg, GXColor color)
 
void GXSetTevColorS10 (GXTevRegID reg, GXColorS10 color)
 
void GXSetTevKColor (GXTevKColorID id, GXColor color)
 
void GXSetTevKColorSel (GXTevStageID stage, GXTevKColorSel sel)
 
void GXSetTevKAlphaSel (GXTevStageID stage, GXTevKAlphaSel sel)
 
void GXSetTevSwapMode (GXTevStageID stage, GXTevSwapSel rasSel, GXTevSwapSel texSel)
 
void GXSetTevSwapModeTable (GXTevSwapSel table, GXTevColor red, GXTevColor green, GXTevColor blue, GXTevColor alpha)
 
void GXSetAlphaCompare (GXCompare comp0, u8 ref0, GXAlphaOp op, GXCompare comp1, u8 ref1)
 
void GXSetZTexture (GXZTexOp op, GXTexFmt format, u32 bias)
 
void GXSetTevOrder (GXTevStageID stage, GXTexCoordID coord, GXTexMapID map, GXChannelID color)
 
void GXSetNumTevStages (u8 count)
 

Variables

static u32 TEVCOpTableST0 []
 
static u32 TEVCOpTableST1 []
 
static u32 TEVAOpTableST0 []
 
static u32 TEVAOpTableST1 []
 

Function Documentation

◆ GXSetAlphaCompare()

void GXSetAlphaCompare ( GXCompare  comp0,
u8  ref0,
GXAlphaOp  op,
GXCompare  comp1,
u8  ref1 
)

◆ GXSetNumTevStages()

void GXSetNumTevStages ( u8  count)

◆ GXSetTevAlphaIn()

void GXSetTevAlphaIn ( GXTevStageID  stage,
GXTevAlphaArg  a,
GXTevAlphaArg  b,
GXTevAlphaArg  c,
GXTevAlphaArg  d 
)

◆ GXSetTevAlphaOp()

void GXSetTevAlphaOp ( GXTevStageID  stage,
GXTevOp  op,
GXTevBias  bias,
GXTevScale  scale,
GXBool  doClamp,
GXTevRegID  outReg 
)

◆ GXSetTevColor()

void GXSetTevColor ( GXTevRegID  reg,
GXColor  color 
)

◆ GXSetTevColorIn()

void GXSetTevColorIn ( GXTevStageID  stage,
GXTevColorArg  a,
GXTevColorArg  b,
GXTevColorArg  c,
GXTevColorArg  d 
)

◆ GXSetTevColorOp()

void GXSetTevColorOp ( GXTevStageID  stage,
GXTevOp  op,
GXTevBias  bias,
GXTevScale  scale,
GXBool  doClamp,
GXTevRegID  outReg 
)

◆ GXSetTevColorS10()

void GXSetTevColorS10 ( GXTevRegID  reg,
GXColorS10  color 
)

◆ GXSetTevKAlphaSel()

void GXSetTevKAlphaSel ( GXTevStageID  stage,
GXTevKAlphaSel  sel 
)

◆ GXSetTevKColor()

void GXSetTevKColor ( GXTevKColorID  id,
GXColor  color 
)

◆ GXSetTevKColorSel()

void GXSetTevKColorSel ( GXTevStageID  stage,
GXTevKColorSel  sel 
)

◆ GXSetTevOp()

void GXSetTevOp ( GXTevStageID  stage,
GXTevMode  mode 
)

◆ GXSetTevOrder()

void GXSetTevOrder ( GXTevStageID  stage,
GXTexCoordID  coord,
GXTexMapID  map,
GXChannelID  color 
)

◆ GXSetTevSwapMode()

void GXSetTevSwapMode ( GXTevStageID  stage,
GXTevSwapSel  rasSel,
GXTevSwapSel  texSel 
)

◆ GXSetTevSwapModeTable()

void GXSetTevSwapModeTable ( GXTevSwapSel  table,
GXTevColor  red,
GXTevColor  green,
GXTevColor  blue,
GXTevColor  alpha 
)

◆ GXSetZTexture()

void GXSetZTexture ( GXZTexOp  op,
GXTexFmt  format,
u32  bias 
)

Variable Documentation

◆ TEVAOpTableST0

u32 TEVAOpTableST0[]
static
Initial value:
= {
0xC108F2F0,
0xC108FFD0,
0xC108F2F0,
0xC108FFC0,
0xC108FFD0,
}

◆ TEVAOpTableST1

u32 TEVAOpTableST1[]
static
Initial value:
= {
0xC108F070,
0xC108FF80,
0xC108F070,
0xC108FFC0,
0xC108FF80,
}

◆ TEVCOpTableST0

u32 TEVCOpTableST0[]
static
Initial value:
= {
0xC008F8AF,
0xC008A89F,
0xC008AC8F,
0xC008FFF8,
0xC008FFFA,
}

◆ TEVCOpTableST1

u32 TEVCOpTableST1[]
static
Initial value:
= {
0xC008F80F,
0xC008089F,
0xC0080C8F,
0xC008FFF8,
0xC008FFF0,
}