Go to the source code of this file.
Macros | |
#define | LERP_COMPONENT(a, b, alpha) ((a) * (255 - (alpha)) + (b) * (alpha)) / 255; |
#define | PAL_ANIM_END 0xFF |
Enumerations | |
enum | StandardPalettes { STANDARD_PAL_POISON = 1 , STANDARD_PAL_DIZZY = 2 , STANDARD_PAL_STATIC = 3 } |
enum | PalSwapState { PAL_SWAP_HOLD_A = 0 , PAL_SWAP_A_TO_B = 1 , PAL_SWAP_HOLD_B = 2 , PAL_SWAP_B_TO_A = 3 } |
enum | { STATIC_DEFAULT = 0 , STATIC_BRIGHT = 1 , STATIC_DARK = 2 } |
enum | { WATT_DEFAULT = 0 , WATT_BRIGHTEST = 1 , WATT_BRIGHTER = 2 } |
Variables | |
u8 | StaticPalettesAnim [] |
s16 | FearPaletteAnimXOffsets [] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 0xFF } |
s16 | ParalyzePaletteAnimXOffsets [] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 0xFF } |
u8 | bWattIdlePalettesAnim [] |
u8 | WattAttackPalettesAnim [] |
s16 | SparkleSpawnIntervals [] = { -1, 15, 10, 7, 5, 3, 2, 1 } |
#define LERP_COMPONENT | ( | a, | |
b, | |||
alpha ) ((a) * (255 - (alpha)) + (b) * (alpha)) / 255; |
Definition at line 14 of file actor_rendering.c.
Referenced by render_with_pal_blending(), render_with_palset_blending(), and render_with_player_debuff_palettes().
#define PAL_ANIM_END 0xFF |
Definition at line 16 of file actor_rendering.c.
Referenced by render_with_fear_palettes(), render_with_paralyze_palettes(), render_with_static_palettes(), render_with_watt_attack_palettes(), and render_with_watt_idle_palettes().
enum StandardPalettes |
Enumerator | |
---|---|
STANDARD_PAL_POISON | |
STANDARD_PAL_DIZZY | |
STANDARD_PAL_STATIC |
Definition at line 7 of file actor_rendering.c.
enum PalSwapState |
Enumerator | |
---|---|
PAL_SWAP_HOLD_A | |
PAL_SWAP_A_TO_B | |
PAL_SWAP_HOLD_B | |
PAL_SWAP_B_TO_A |
Definition at line 18 of file actor_rendering.c.
anonymous enum |
Enumerator | |
---|---|
STATIC_DEFAULT | |
STATIC_BRIGHT | |
STATIC_DARK |
Definition at line 26 of file actor_rendering.c.
anonymous enum |
Enumerator | |
---|---|
WATT_DEFAULT | |
WATT_BRIGHTEST | |
WATT_BRIGHTER |
Definition at line 67 of file actor_rendering.c.
void update_player_actor_shadow | ( | void | ) |
Definition at line 1393 of file actor_rendering.c.
Referenced by update_hero_shadows().
void appendGfx_npc_actor | ( | s32 | isPartner, |
s32 | actorIndex ) |
Definition at line 832 of file actor_rendering.c.
Referenced by appendGfx_enemy_actor(), and appendGfx_partner_actor().
void create_status_chill_out | ( | s32 | iconID | ) |
Definition at line 1144 of file status_icons.c.
Referenced by appendGfx_npc_actor().
void enable_status_static | ( | s32 | iconID | ) |
Definition at line 1108 of file status_icons.c.
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void enable_status_chill_out | ( | s32 | iconID | ) |
Definition at line 1167 of file status_icons.c.
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void enable_status_debuff | ( | s16 | ) |
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void enable_status_transparent | ( | s16 | ) |
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void enable_status_icon_boost_jump | ( | s32 | iconID | ) |
Definition at line 1199 of file status_icons.c.
Referenced by appendGfx_player_actor().
void enable_status_icon_boost_hammer | ( | s32 | iconID | ) |
Definition at line 1231 of file status_icons.c.
Referenced by appendGfx_player_actor().
s32 get_npc_anim_for_status | ( | u32 * | animations, |
s32 | statusKey ) |
Definition at line 1944 of file 190B20.c.
Referenced by appendGfx_npc_actor(), create_actor(), load_partner_actor(), and load_player_actor().
void set_actor_pal_adjustment | ( | Actor * | actor, |
s32 | arg1 ) |
Definition at line 2607 of file 190B20.c.
Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().
void create_status_icon_boost_hammer | ( | s32 | iconID | ) |
Definition at line 1205 of file status_icons.c.
Referenced by appendGfx_player_actor().
void create_status_icon_boost_jump | ( | s32 | iconID | ) |
Definition at line 1173 of file status_icons.c.
Referenced by appendGfx_player_actor().
void create_status_icon_peril | ( | s32 | iconID | ) |
Definition at line 1295 of file status_icons.c.
Referenced by appendGfx_player_actor().
void create_status_icon_danger | ( | s32 | iconID | ) |
Definition at line 1324 of file status_icons.c.
Referenced by appendGfx_player_actor().
void set_status_icons_offset | ( | s32 | iconID, |
s32 | offsetY, | ||
s32 | arg2 ) |
Definition at line 1047 of file status_icons.c.
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void set_status_icons_properties | ( | s32 | iconID, |
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
s32 | arg, | ||
s32 | arg2, | ||
s32 | radius, | ||
s32 | offsetY ) |
Definition at line 1031 of file status_icons.c.
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void appendGfx_npc_actor_reflection | ( | s32 | flipYaw, |
Actor * | actor ) |
Definition at line 1230 of file actor_rendering.c.
Referenced by appendGfx_enemy_actor_reflection(), and appendGfx_partner_actor_reflection().
void make_flash_palettes | ( | ActorPart * | part | ) |
Definition at line 2006 of file actor_rendering.c.
Referenced by func_unkB_draw_npc(), and func_unkB_draw_player().
Definition at line 2028 of file actor_rendering.c.
Referenced by render_with_paralyze_palettes(), and render_without_adjusted_palettes().
Definition at line 2074 of file actor_rendering.c.
Referenced by func_unkA_draw_npc(), render_with_berserk_palettes(), render_with_fear_palettes(), render_with_pal_blending(), render_with_palset_blending(), render_with_paralyze_palettes(), render_with_player_debuff_palettes(), render_with_poison_palettes(), render_with_sleep_palettes(), render_with_static_palettes(), render_with_watt_attack_palettes(), and render_with_watt_idle_palettes().
Definition at line 2097 of file actor_rendering.c.
Referenced by render_with_paralyze_palettes(), and render_without_adjusted_palettes().
Definition at line 2142 of file actor_rendering.c.
Referenced by func_unkA_draw_player(), render_with_berserk_palettes(), render_with_fear_palettes(), render_with_pal_blending(), render_with_palset_blending(), render_with_paralyze_palettes(), render_with_player_debuff_palettes(), render_with_poison_palettes(), render_with_sleep_palettes(), render_with_static_palettes(), render_with_watt_attack_palettes(), and render_with_watt_idle_palettes().
Definition at line 3359 of file actor_rendering.c.
Referenced by update_part_glow().
Definition at line 3437 of file actor_rendering.c.
Referenced by update_part_flash().
void add_part_decor_none | ( | ActorPart * | actorPart, |
s32 | i ) |
Definition at line 3629 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_golden_flames | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3635 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_sweat | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3669 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_seeing_stars | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3695 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_red_flames | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3718 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_smoky_trail | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3758 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_fiery_trail | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3780 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_whirlwind | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3804 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_steam | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3826 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_sparkles | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3855 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_bowser_aura | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3885 of file actor_rendering.c.
Referenced by _add_part_decoration().
void add_part_decor_radiating_stars | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3923 of file actor_rendering.c.
Referenced by _add_part_decoration().
void render_without_adjusted_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2166 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_sleep_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2182 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_static_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2237 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_fear_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2354 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_poison_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2424 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_paralyze_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2482 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_berserk_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2584 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_watt_idle_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2642 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_watt_attack_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 2754 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_player_debuff_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation, | ||
s32 | isPoison ) |
Definition at line 2865 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_pal_blending | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
s32 | arg3, | ||
Matrix4f | mtx, | ||
s32 | skipAnimation ) |
Definition at line 2990 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
void render_with_palset_blending | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 3163 of file actor_rendering.c.
Referenced by render_with_adjusted_palettes().
Definition at line 3334 of file actor_rendering.c.
Referenced by appendGfx_npc_actor(), appendGfx_npc_actor_reflection(), appendGfx_player_actor(), and appendGfx_player_actor_reflection().
Definition at line 3414 of file actor_rendering.c.
Referenced by appendGfx_npc_actor(), appendGfx_npc_actor_reflection(), appendGfx_player_actor(), and appendGfx_player_actor_reflection().
s32 get_player_anim_for_status | ( | s32 | animID | ) |
Definition at line 1965 of file 190B20.c.
Referenced by appendGfx_player_actor().
void clear_part_flash_mode | ( | ActorPart * | part | ) |
s32 get_flash_damage_intensity | ( | ActorPart * | part | ) |
Definition at line 165 of file actor_rendering.c.
Referenced by part_flash_on().
void mtx_mirror_y | ( | Matrix4f | mtx | ) |
Definition at line 181 of file actor_rendering.c.
Referenced by appendGfx_npc_actor_reflection(), and appendGfx_player_actor_reflection().
void enable_actor_blur | ( | Actor * | actor | ) |
Definition at line 189 of file actor_rendering.c.
Referenced by enable_partner_blur().
void disable_actor_blur | ( | Actor * | actor | ) |
Definition at line 223 of file actor_rendering.c.
Referenced by disable_partner_blur().
void reset_actor_blur | ( | Actor * | actor | ) |
Definition at line 238 of file actor_rendering.c.
Referenced by reset_partner_blur().
void force_disable_actor_blur | ( | Actor * | actor | ) |
Definition at line 254 of file actor_rendering.c.
Referenced by force_disable_partner_blur().
void enable_partner_blur | ( | void | ) |
Definition at line 265 of file actor_rendering.c.
void disable_partner_blur | ( | void | ) |
Definition at line 269 of file actor_rendering.c.
void reset_partner_blur | ( | void | ) |
Definition at line 273 of file actor_rendering.c.
void force_disable_partner_blur | ( | void | ) |
Definition at line 277 of file actor_rendering.c.
void enable_player_blur | ( | void | ) |
Definition at line 281 of file actor_rendering.c.
void disable_player_blur | ( | void | ) |
Definition at line 307 of file actor_rendering.c.
void reset_player_blur | ( | void | ) |
Definition at line 320 of file actor_rendering.c.
void force_disable_player_blur | ( | void | ) |
Definition at line 334 of file actor_rendering.c.
void force_disable_player_blur_immediately | ( | void | ) |
Definition at line 343 of file actor_rendering.c.
void update_player_actor_blur_history | ( | Actor * | actor | ) |
Definition at line 353 of file actor_rendering.c.
Referenced by update_player_actor_shadow().
void appendGfx_player_actor_blur | ( | Actor * | actor | ) |
Definition at line 380 of file actor_rendering.c.
Referenced by btl_render_actors().
Definition at line 488 of file actor_rendering.c.
Referenced by update_enemy_actor_blur_history(), and update_partner_actor_blur_history().
Definition at line 522 of file actor_rendering.c.
Referenced by appendGfx_enemy_actor_blur(), and appendGfx_partner_actor_blur().
void update_enemy_actor_blur_history | ( | Actor * | actor | ) |
Definition at line 673 of file actor_rendering.c.
Referenced by update_nonplayer_actor_shadow().
void appendGfx_enemy_actor_blur | ( | void * | data | ) |
Definition at line 677 of file actor_rendering.c.
Referenced by btl_render_actors().
void update_partner_actor_blur_history | ( | Actor * | actor | ) |
Definition at line 683 of file actor_rendering.c.
Referenced by update_nonplayer_actor_shadow().
void appendGfx_partner_actor_blur | ( | void * | data | ) |
Definition at line 687 of file actor_rendering.c.
Referenced by btl_render_actors().
Definition at line 693 of file actor_rendering.c.
Referenced by update_enemy_shadows(), and update_hero_shadows().
void update_enemy_shadows | ( | void | ) |
Definition at line 815 of file actor_rendering.c.
Referenced by update_nonplayer_actor_shadows().
void update_hero_shadows | ( | void | ) |
Definition at line 824 of file actor_rendering.c.
Referenced by update_nonplayer_actor_shadows().
void func_80255FD8 | ( | void | ) |
void appendGfx_enemy_actor | ( | void * | data | ) |
Definition at line 1375 of file actor_rendering.c.
Referenced by btl_render_actors().
void appendGfx_partner_actor | ( | void * | data | ) |
Definition at line 1379 of file actor_rendering.c.
Referenced by btl_render_actors().
void appendGfx_enemy_actor_reflection | ( | void * | data | ) |
Definition at line 1383 of file actor_rendering.c.
Referenced by btl_render_actors().
void appendGfx_partner_actor_reflection | ( | void * | data | ) |
Definition at line 1389 of file actor_rendering.c.
Referenced by btl_render_actors().
void appendGfx_player_actor | ( | void * | arg0 | ) |
Definition at line 1439 of file actor_rendering.c.
Referenced by btl_render_actors().
void appendGfx_player_actor_reflection | ( | void * | arg0 | ) |
Definition at line 1877 of file actor_rendering.c.
Referenced by btl_render_actors().
s32 render_with_adjusted_palettes | ( | b32 | isNpcSprite, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Definition at line 1926 of file actor_rendering.c.
Referenced by appendGfx_npc_actor(), appendGfx_npc_actor_reflection(), appendGfx_player_actor(), appendGfx_player_actor_blur(), and appendGfx_player_actor_reflection().
Definition at line 3348 of file actor_rendering.c.
Referenced by update_part_glow().
Definition at line 3428 of file actor_rendering.c.
Referenced by update_part_flash().
void _add_part_decoration | ( | ActorPart * | actorPart | ) |
Definition at line 3533 of file actor_rendering.c.
Referenced by add_part_decoration(), appendGfx_npc_actor(), and appendGfx_player_actor().
void _remove_part_decoration | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3584 of file actor_rendering.c.
Referenced by add_part_decoration(), and remove_part_decoration().
void remove_part_decor_none | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3632 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_golden_flames | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3665 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_sweat | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3692 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_seeing_stars | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3714 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_red_flames | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3754 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_smoky_trail | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3776 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_fiery_trail | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3800 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_whirlwind | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3822 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_steam | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3852 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_sparkles | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3882 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_bowser_aura | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3919 of file actor_rendering.c.
Referenced by _remove_part_decoration().
void remove_part_decor_radiating_stars | ( | ActorPart * | part, |
s32 | idx ) |
Definition at line 3947 of file actor_rendering.c.
Referenced by _remove_part_decoration().
u8 StaticPalettesAnim[] |
Definition at line 34 of file actor_rendering.c.
Referenced by render_with_static_palettes().
s16 FearPaletteAnimXOffsets[] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 0xFF } |
Definition at line 62 of file actor_rendering.c.
Referenced by render_with_fear_palettes().
s16 ParalyzePaletteAnimXOffsets[] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 0xFF } |
Definition at line 64 of file actor_rendering.c.
Referenced by render_with_paralyze_palettes().
u8 bWattIdlePalettesAnim[] |
Definition at line 75 of file actor_rendering.c.
Referenced by render_with_watt_idle_palettes().
u8 WattAttackPalettesAnim[] |
Definition at line 92 of file actor_rendering.c.
Referenced by render_with_watt_attack_palettes().
s16 SparkleSpawnIntervals[] = { -1, 15, 10, 7, 5, 3, 2, 1 } |
Definition at line 104 of file actor_rendering.c.
Referenced by add_part_decor_sparkles().