Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Functions | |
void | GXInitLightAttn (GXLightObj *obj, f32 a0, f32 a1, f32 a2, f32 k0, f32 k1, f32 k2) |
void | GXInitLightSpot (GXLightObj *obj, f32 cutoff, GXSpotFn spot_fn) |
void | GXInitLightDistAttn (GXLightObj *obj, f32 dist, f32 brightness, GXDistAttnFn dist_fn) |
void | GXInitLightPos (GXLightObj *obj, f32 x, f32 y, f32 z) |
void | GXInitLightDir (GXLightObj *obj, f32 x, f32 y, f32 z) |
void | GXInitLightColor (GXLightObj *obj, GXColor color) |
static void | PushLight (const register GXLightObj *lt_obj, register void *dest) |
void | GXLoadLightObjImm (GXLightObj *obj, GXLightID light) |
void | GXSetChanAmbColor (GXChannelID channel, GXColor color) |
void | GXSetChanMatColor (GXChannelID channel, GXColor color) |
void | GXSetNumChans (u8 count) |
void | GXSetChanCtrl (GXChannelID channel, GXBool doEnable, GXColorSrc ambSrc, GXColorSrc matSrc, u32 mask, GXDiffuseFn diffFunc, GXAttnFn attnFunc) |
GXLight.c Description:
void GXInitLightColor | ( | GXLightObj * | obj, |
GXColor | color | ||
) |
void GXInitLightDir | ( | GXLightObj * | obj, |
f32 | x, | ||
f32 | y, | ||
f32 | z | ||
) |
void GXInitLightDistAttn | ( | GXLightObj * | obj, |
f32 | dist, | ||
f32 | brightness, | ||
GXDistAttnFn | dist_fn | ||
) |
void GXInitLightPos | ( | GXLightObj * | obj, |
f32 | x, | ||
f32 | y, | ||
f32 | z | ||
) |
void GXInitLightSpot | ( | GXLightObj * | obj, |
f32 | cutoff, | ||
GXSpotFn | spot_fn | ||
) |
void GXLoadLightObjImm | ( | GXLightObj * | obj, |
GXLightID | light | ||
) |
void GXSetChanAmbColor | ( | GXChannelID | channel, |
GXColor | color | ||
) |
void GXSetChanCtrl | ( | GXChannelID | channel, |
GXBool | doEnable, | ||
GXColorSrc | ambSrc, | ||
GXColorSrc | matSrc, | ||
u32 | mask, | ||
GXDiffuseFn | diffFunc, | ||
GXAttnFn | attnFunc | ||
) |
void GXSetChanMatColor | ( | GXChannelID | channel, |
GXColor | color | ||
) |