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; |
Referenced by render_with_pal_blending(), render_with_palset_blending(), and render_with_player_debuff_palettes().
#define PAL_ANIM_END 0xFF |
enum PalSwapState |
enum StandardPalettes |
void _add_part_decoration | ( | ActorPart * | actorPart | ) |
Referenced by add_part_decoration(), appendGfx_npc_actor(), and appendGfx_player_actor().
void _remove_part_decoration | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by add_part_decoration(), and remove_part_decoration().
void add_part_decor_bowser_aura | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_fiery_trail | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_golden_flames | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_none | ( | ActorPart * | actorPart, |
s32 | i ) |
Referenced by _add_part_decoration().
void add_part_decor_radiating_stars | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_red_flames | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_seeing_stars | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_smoky_trail | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_sparkles | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_steam | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_sweat | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void add_part_decor_whirlwind | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _add_part_decoration().
void appendGfx_enemy_actor | ( | void * | data | ) |
Referenced by btl_render_actors().
void appendGfx_enemy_actor_blur | ( | void * | data | ) |
Referenced by btl_render_actors().
void appendGfx_enemy_actor_reflection | ( | void * | data | ) |
Referenced by btl_render_actors().
Referenced by appendGfx_enemy_actor_blur(), and appendGfx_partner_actor_blur().
void appendGfx_npc_actor | ( | s32 | isPartner, |
s32 | actorIndex ) |
Referenced by appendGfx_enemy_actor(), and appendGfx_partner_actor().
void appendGfx_npc_actor_reflection | ( | s32 | flipYaw, |
Actor * | actor ) |
Referenced by appendGfx_enemy_actor_reflection(), and appendGfx_partner_actor_reflection().
void appendGfx_partner_actor | ( | void * | data | ) |
Referenced by btl_render_actors().
void appendGfx_partner_actor_blur | ( | void * | data | ) |
Referenced by btl_render_actors().
void appendGfx_partner_actor_reflection | ( | void * | data | ) |
Referenced by btl_render_actors().
void appendGfx_player_actor | ( | void * | arg0 | ) |
Referenced by btl_render_actors().
void appendGfx_player_actor_blur | ( | Actor * | actor | ) |
Referenced by btl_render_actors().
void appendGfx_player_actor_reflection | ( | void * | arg0 | ) |
Referenced by btl_render_actors().
void clear_part_flash_mode | ( | ActorPart * | part | ) |
Referenced by part_flash_on().
void create_status_chill_out | ( | s32 | iconID | ) |
Referenced by appendGfx_npc_actor().
void create_status_icon_boost_hammer | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void create_status_icon_boost_jump | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void create_status_icon_danger | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void create_status_icon_peril | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void disable_actor_blur | ( | Actor * | actor | ) |
Referenced by disable_partner_blur().
void disable_partner_blur | ( | void | ) |
void disable_player_blur | ( | void | ) |
void enable_actor_blur | ( | Actor * | actor | ) |
Referenced by enable_partner_blur().
void enable_partner_blur | ( | void | ) |
void enable_player_blur | ( | void | ) |
void enable_status_chill_out | ( | s32 | iconID | ) |
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_icon_boost_hammer | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void enable_status_icon_boost_jump | ( | s32 | iconID | ) |
Referenced by appendGfx_player_actor().
void enable_status_static | ( | s32 | iconID | ) |
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void enable_status_transparent | ( | s16 | ) |
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void force_disable_actor_blur | ( | Actor * | actor | ) |
Referenced by force_disable_partner_blur().
void force_disable_partner_blur | ( | void | ) |
void force_disable_player_blur | ( | void | ) |
void force_disable_player_blur_immediately | ( | void | ) |
void func_80255FD8 | ( | void | ) |
Referenced by btl_render_actors().
Referenced by render_with_paralyze_palettes(), and render_without_adjusted_palettes().
Referenced by render_with_paralyze_palettes(), and render_without_adjusted_palettes().
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().
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().
s32 get_flash_damage_intensity | ( | ActorPart * | part | ) |
Referenced by part_flash_on().
s32 get_npc_anim_for_status | ( | u32 * | animations, |
s32 | statusKey ) |
Referenced by appendGfx_npc_actor(), create_actor(), load_partner_actor(), and load_player_actor().
s32 get_player_anim_for_status | ( | s32 | animID | ) |
Referenced by appendGfx_player_actor().
void make_flash_palettes | ( | ActorPart * | part | ) |
Referenced by func_unkB_draw_npc(), and func_unkB_draw_player().
void mtx_mirror_y | ( | Matrix4f | mtx | ) |
Referenced by appendGfx_npc_actor_reflection(), and appendGfx_player_actor_reflection().
Referenced by update_part_flash().
Referenced by update_part_flash().
Referenced by update_part_glow().
Referenced by update_part_glow().
void remove_part_decor_bowser_aura | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_fiery_trail | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_golden_flames | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_none | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_radiating_stars | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_red_flames | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_seeing_stars | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_smoky_trail | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_sparkles | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_steam | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_sweat | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void remove_part_decor_whirlwind | ( | ActorPart * | part, |
s32 | idx ) |
Referenced by _remove_part_decoration().
void render_with_berserk_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_fear_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_pal_blending | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
s32 | arg3, | ||
Matrix4f | mtx, | ||
s32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_palset_blending | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_paralyze_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_player_debuff_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation, | ||
s32 | isPoison ) |
Referenced by render_with_adjusted_palettes().
void render_with_poison_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_sleep_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_static_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_watt_attack_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_with_watt_idle_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void render_without_adjusted_palettes | ( | b32 | arg0, |
ActorPart * | part, | ||
s32 | yaw, | ||
Matrix4f | mtx, | ||
b32 | skipAnimation ) |
Referenced by render_with_adjusted_palettes().
void reset_actor_blur | ( | Actor * | actor | ) |
Referenced by reset_partner_blur().
void reset_partner_blur | ( | void | ) |
void reset_player_blur | ( | void | ) |
void set_actor_pal_adjustment | ( | Actor * | actor, |
s32 | arg1 ) |
Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().
void set_status_icons_offset | ( | s32 | iconID, |
s32 | offsetY, | ||
s32 | arg2 ) |
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 ) |
Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().
void update_enemy_actor_blur_history | ( | Actor * | actor | ) |
Referenced by update_nonplayer_actor_shadow().
void update_enemy_shadows | ( | void | ) |
Referenced by update_nonplayer_actor_shadows().
void update_hero_shadows | ( | void | ) |
Referenced by update_nonplayer_actor_shadows().
Referenced by update_enemy_actor_blur_history(), and update_partner_actor_blur_history().
Referenced by update_enemy_shadows(), and update_hero_shadows().
void update_partner_actor_blur_history | ( | Actor * | actor | ) |
Referenced by update_nonplayer_actor_shadow().
void update_player_actor_blur_history | ( | Actor * | actor | ) |
Referenced by update_player_actor_shadow().
void update_player_actor_shadow | ( | void | ) |
Referenced by update_hero_shadows().
u8 bWattIdlePalettesAnim[] |
Referenced by render_with_watt_idle_palettes().
s16 FearPaletteAnimXOffsets[] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 0xFF } |
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 } |
Referenced by render_with_paralyze_palettes().
s16 SparkleSpawnIntervals[] = { -1, 15, 10, 7, 5, 3, 2, 1 } |
Referenced by add_part_decor_sparkles().
u8 StaticPalettesAnim[] |
Referenced by render_with_static_palettes().
u8 WattAttackPalettesAnim[] |
Referenced by render_with_watt_attack_palettes().