Go to the source code of this file.
Functions | |
void | appendGfx_shading_palette (Matrix4f mtx, s32 uls, s32 ult, s32 lrs, s32 lrt, s32 alpha, f32 shadowX, f32 shadowY, f32 shadowZ, s32 shadowR, s32 shadowG, s32 shadowB, s32 highlightR, s32 highlightG, s32 highlightB, s32 ambientPower, s32 otherModeLBits) |
void | clear_sprite_shading_data (void) |
void | init_sprite_shading_data (void) |
void | sprite_shading_set_light_source (u32 idx, s8 flags, f32 x, f32 y, f32 z, u8 r, u8 g, u8 b, f32 falloff, s8 arg9) |
void | create_shading_palette (Matrix4f mtx, s32 uls, s32 ult, s32 lrs, s32 lrt, s32 alpha, s32 otherModeLBits) |
void | func_801491E4 (Matrix4f mtx, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 alpha) |
void appendGfx_shading_palette | ( | Matrix4f | mtx, |
s32 | uls, | ||
s32 | ult, | ||
s32 | lrs, | ||
s32 | lrt, | ||
s32 | alpha, | ||
f32 | shadowX, | ||
f32 | shadowY, | ||
f32 | shadowZ, | ||
s32 | shadowR, | ||
s32 | shadowG, | ||
s32 | shadowB, | ||
s32 | highlightR, | ||
s32 | highlightG, | ||
s32 | highlightB, | ||
s32 | ambientPower, | ||
s32 | otherModeLBits ) |
Definition at line 276 of file sprite_shading.c.
Referenced by create_shading_palette().
void clear_sprite_shading_data | ( | void | ) |
Definition at line 20 of file sprite_shading.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), and state_step_startup().
void init_sprite_shading_data | ( | void | ) |
Definition at line 39 of file sprite_shading.c.
Referenced by clear_sprite_shading_data(), state_step_end_battle(), and state_step_unpause().
void sprite_shading_set_light_source | ( | u32 | idx, |
s8 | flags, | ||
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
u8 | r, | ||
u8 | g, | ||
u8 | b, | ||
f32 | falloff, | ||
s8 | arg9 ) |
Definition at line 49 of file sprite_shading.c.
void create_shading_palette | ( | Matrix4f | mtx, |
s32 | uls, | ||
s32 | ult, | ||
s32 | lrs, | ||
s32 | lrt, | ||
s32 | alpha, | ||
s32 | otherModeLBits ) |
Definition at line 66 of file sprite_shading.c.
Referenced by imgfx_appendGfx_mesh_anim(), imgfx_appendGfx_mesh_basic(), imgfx_appendGfx_mesh_grid(), and spr_appendGfx_component_flat().
void func_801491E4 | ( | Matrix4f | mtx, |
s32 | arg1, | ||
s32 | arg2, | ||
s32 | arg3, | ||
s32 | arg4, | ||
s32 | alpha ) |
Definition at line 415 of file sprite_shading.c.
Referenced by appendGfx_item_entity(), and render_item_entities().
SpriteShadingProfile* gSpriteShadingProfile |
Definition at line 5 of file sprite_shading.c.
Referenced by appendGfx_item_entity(), clear_sprite_shading_data(), create_shading_palette(), imgfx_appendGfx_mesh_anim(), imgfx_appendGfx_mesh_basic(), imgfx_appendGfx_mesh_grid(), init_sprite_shading_data(), render_item_entities(), spr_appendGfx_component(), spr_appendGfx_component_flat(), and sprite_shading_set_light_source().
SpriteShadingProfile* gAuxSpriteShadingProfile |
Definition at line 6 of file sprite_shading.c.
Referenced by clear_sprite_shading_data(), and init_sprite_shading_data().
BSS SpriteShadingProfile wSpriteShadingProfile |
Definition at line 8 of file sprite_shading.c.
Referenced by init_sprite_shading_data().
BSS SpriteShadingProfile bSpriteShadingProfile |
Definition at line 9 of file sprite_shading.c.
Referenced by init_sprite_shading_data().
BSS SpriteShadingProfile wSpriteShadingProfileAux |
Definition at line 10 of file sprite_shading.c.
Referenced by init_sprite_shading_data().
BSS SpriteShadingProfile bSpriteShadingProfileAux |
Definition at line 11 of file sprite_shading.c.
Referenced by init_sprite_shading_data().
Definition at line 12 of file sprite_shading.c.
Referenced by appendGfx_shading_palette().