Go to the source code of this file.
Macros | |
| #define | MAX_SOUND_INSTANCES 10 |
| #define | SOUND_LOOP_IDX(soundID) (soundID & 0xFFFF) |
| #define | SEQ_SOUND_ENTRY(soundID, sym) [soundID & 0xFFFF] { .sounds = sym, .soundCount = ARRAY_COUNT(sym) } |
| #define MAX_SOUND_INSTANCES 10 |
Definition at line 4 of file sfx_control.c.
Referenced by sfx_clear_env_sounds(), sfx_get_env_sound_instance(), sfx_play_sound_looping(), sfx_register_looping_sound_at_position(), sfx_stop_env_sounds(), and sfx_update_env_sound_params().
| #define SOUND_LOOP_IDX | ( | soundID | ) | (soundID & 0xFFFF) |
Definition at line 9 of file sfx_control.c.
| #define SEQ_SOUND_ENTRY | ( | soundID, | |
| sym ) [soundID & 0xFFFF] { .sounds = sym, .soundCount = ARRAY_COUNT(sym) } |
Definition at line 162 of file sfx_control.c.
| void sfx_compute_spatialized_sound_params_full | ( | f32 | x, |
| f32 | y, | ||
| f32 | z, | ||
| s16 * | volume, | ||
| s16 * | pan, | ||
| s32 | flags ) |
Definition at line 217 of file sfx_control.c.
Referenced by sfx_get_spatialized_sound_params().
Definition at line 299 of file sfx_control.c.
Referenced by load_map_by_IDs(), and sfx_clear_sounds().
Definition at line 304 of file sfx_control.c.
Referenced by load_engine_data(), and state_step_startup().
Definition at line 313 of file sfx_control.c.
Referenced by load_map_by_IDs(), state_step_battle(), state_step_end_battle(), state_step_pause(), and state_step_unpause().
Definition at line 334 of file sfx_control.c.
Referenced by step_game_loop().
Definition at line 352 of file sfx_control.c.
Referenced by load_map_by_IDs(), sfx_clear_sounds(), state_init_title_screen(), state_step_pause(), and state_step_unpause().
Definition at line 357 of file sfx_control.c.
Referenced by state_step_pause().
Definition at line 361 of file sfx_control.c.
Referenced by load_map_by_IDs(), state_step_battle(), state_step_end_battle(), state_step_pause(), and step_game_loop().
| SoundInstance * sfx_get_env_sound_instance | ( | s32 | soundID | ) |
Definition at line 379 of file sfx_control.c.
Referenced by sfx_adjust_env_sound_params(), sfx_adjust_env_sound_pos(), and sfx_stop_tracking_env_sound_pos().
Definition at line 392 of file sfx_control.c.
Referenced by sfx_play_sound_with_params().
Definition at line 411 of file sfx_control.c.
Referenced by sfx_play_sound_at_position().
Definition at line 431 of file sfx_control.c.
Referenced by SentinelAI_Descend().
Definition at line 447 of file sfx_control.c.
Referenced by func_802BB34C_E2DC7C(), and sfx_stop_sound().
Definition at line 458 of file sfx_control.c.
Referenced by _update_message(), msg_copy_to_print_buffer(), msg_play_speech_sound(), sfx_play_sound(), sfx_play_sound_at_position(), update(), and update_riding_physics().
Definition at line 490 of file sfx_control.c.
Referenced by update().
Definition at line 505 of file sfx_control.c.
Referenced by action_update_spin(), free(), phys_update_action_state(), pre_battle(), pre_battle(), SentinelAI_LosePlayerInit(), set_action_state(), update(), and update_encounters_pre_battle().
Definition at line 515 of file sfx_control.c.
Referenced by _use_partner_ability(), btl_main_menu_update(), btl_state_update_celebration(), btl_state_update_defeat(), btl_state_update_partner_menu(), btl_state_update_partner_move(), btl_state_update_player_menu(), btl_state_update_player_move(), btl_state_update_run_away(), btl_state_update_select_target(), btl_submenu_moves_update(), btl_submenu_strats_update(), btl_update_ko_status(), calc_player_damage_enemy(), can_open_world_menu(), check_input_open_menus(), check_input_status_bar(), coin_counter_draw_content(), entity_BlueWarpPipe_enter_pipe_init(), entity_Chest_begin_opening(), entity_CymbalPlant_idle(), entity_HeartBlockContent__anim_heal(), entity_HiddenPanel_flip_over(), entity_Padlock_idle(), entity_SaveBlock_show_result_message(), entity_StarBoxLauncher_launch(), entity_WoodenCrate_idle(), filemenu_choose_name_handle_input(), filemenu_main_handle_input(), filemenu_yesno_handle_input(), func_802BB34C_E2DC7C(), func_802BC3E4_E2ED14(), hud_element_update(), inflict_partner_ko(), partner_use_ability(), pause_badges_handle_input(), pause_handle_input(), pause_init(), pause_items_handle_input(), pause_map_handle_input(), pause_partners_handle_input(), pause_spirits_handle_input(), pause_stats_handle_input(), pause_tabs_handle_input(), pause_tutorial_input(), popup_menu_update(), remove_player_buffs(), should_cancel_open_world_menu(), show_popup_menu(), state_step_title_screen(), step_entity_commandlist(), update(), update_encounters_neutral(), update_item_entity_pickup(), update_status_bar(), update_status_damage(), and update_water_block().
Definition at line 519 of file sfx_control.c.
Referenced by action_hammer_end_swing(), action_hammer_play_hit_fx(), action_update_hammer(), action_update_hit_lava(), action_update_jump(), action_update_land(), action_update_parasol(), action_update_peach_land(), action_update_sliding(), action_update_spin(), action_update_spin_jump(), action_update_tornado_jump(), action_update_use_munchlesia(), action_update_use_tweester(), appendGfx_pulse_stone_icon(), ispy_notification_update(), phys_player_land(), player_jump(), and try_player_footstep_sounds().
Definition at line 525 of file sfx_control.c.
Referenced by update_riding_physics().
Definition at line 533 of file sfx_control.c.
Definition at line 549 of file sfx_control.c.
Referenced by sfx_play_sound_at_position(), and sfx_update_env_sound_params().
| void sfx_compute_spatialized_sound_params_ignore_depth | ( | f32 | x, |
| f32 | y, | ||
| f32 | z, | ||
| s16 * | volume, | ||
| s16 * | pan ) |
Definition at line 595 of file sfx_control.c.
Referenced by sfx_get_spatialized_sound_params().
| void sfx_compute_spatialized_sound_params_with_depth | ( | f32 | x, |
| f32 | y, | ||
| f32 | z, | ||
| s16 * | volume, | ||
| s16 * | pan ) |
Definition at line 629 of file sfx_control.c.
Referenced by sfx_get_spatialized_sound_params().
| u16 gCurrentDoorSounds |
Definition at line 6 of file sfx_control.c.
Referenced by sfx_play_sound_with_params(), and sfx_reset_door_sounds().
| u16 gCurrentRoomDoorSounds |
Definition at line 7 of file sfx_control.c.
Referenced by sfx_play_sound_with_params(), and sfx_reset_door_sounds().
| s32 LoopingSounds[] |
Definition at line 12 of file sfx_control.c.
Referenced by sfx_adjust_env_sound_params(), sfx_play_sound_at_position(), sfx_play_sound_with_params(), and sfx_stop_sound().
| s32 FireBar0Sounds[] = { SOUND_FIRE_BAR_0_A, SOUND_FIRE_BAR_0_B } |
Definition at line 127 of file sfx_control.c.
| s32 FireBar1Sounds[] = { SOUND_FIRE_BAR_1_A, SOUND_FIRE_BAR_1_B } |
Definition at line 128 of file sfx_control.c.
| s32 FireBar2Sounds[] = { SOUND_FIRE_BAR_2_A, SOUND_FIRE_BAR_2_B } |
Definition at line 129 of file sfx_control.c.
| s32 FireBar3Sounds[] = { SOUND_FIRE_BAR_3_A, SOUND_FIRE_BAR_3_B } |
Definition at line 130 of file sfx_control.c.
| s32 FireBar4Sounds[] = { SOUND_FIRE_BAR_4_A, SOUND_FIRE_BAR_4_B } |
Definition at line 131 of file sfx_control.c.
| s32 FireBar5Sounds[] = { SOUND_FIRE_BAR_5_A, SOUND_FIRE_BAR_5_B } |
Definition at line 132 of file sfx_control.c.
| s32 FireBar6Sounds[] = { SOUND_FIRE_BAR_6_A, SOUND_FIRE_BAR_6_B } |
Definition at line 133 of file sfx_control.c.
| s32 FireBar7Sounds[] = { SOUND_FIRE_BAR_7_A, SOUND_FIRE_BAR_7_B } |
Definition at line 134 of file sfx_control.c.
| s32 FireBar8Sounds[] = { SOUND_FIRE_BAR_8_A, SOUND_FIRE_BAR_8_B } |
Definition at line 135 of file sfx_control.c.
| s32 FireBar9Sounds[] = { SOUND_FIRE_BAR_9_A, SOUND_FIRE_BAR_9_B } |
Definition at line 136 of file sfx_control.c.
| s32 FireBarDeadSounds[] = { SOUND_FIRE_BAR_DEAD, SOUND_FIRE_BAR_DEAD } |
Definition at line 137 of file sfx_control.c.
| s32 AlertSounds[] = { SOUND_AI_ALERT_A, SOUND_AI_ALERT_B } |
Definition at line 138 of file sfx_control.c.
| s32 SnoreInhaleSounds[] = { SOUND_SNORE_INHALE_A, SOUND_SNORE_INHALE_B } |
Definition at line 139 of file sfx_control.c.
| s32 SnoreExhaleSounds[] = { SOUND_SNORE_EXHALE_A, SOUND_SNORE_EXHALE_B } |
Definition at line 140 of file sfx_control.c.
| s32 SnapAwakeSounds[] = { SOUND_SNAP_AWAKE_A, SOUND_SNAP_AWAKE_B } |
Definition at line 141 of file sfx_control.c.
| s32 BooVanishSounds[] = { SOUND_BOO_VANISH_A, SOUND_BOO_VANISH_B } |
Definition at line 142 of file sfx_control.c.
| s32 BooAppearSounds[] = { SOUND_BOO_APPEAR_A, SOUND_BOO_APPEAR_B } |
Definition at line 143 of file sfx_control.c.
| s32 WindowOpenSounds[] = { SOUND_WINDOW_OPEN_A, SOUND_WINDOW_OPEN_B } |
Definition at line 144 of file sfx_control.c.
| s32 WindowCloseSounds[] = { SOUND_WINDOW_CLOSE_A, SOUND_WINDOW_CLOSE_B } |
Definition at line 145 of file sfx_control.c.
| s32 RavenLeapSounds[] = { SOUND_RAVEN_LEAP_A, SOUND_RAVEN_LEAP_B } |
Definition at line 146 of file sfx_control.c.
| s32 RavenFallSounds[] = { SOUND_RAVEN_FALL_A, SOUND_RAVEN_FALL_B, SOUND_RAVEN_FALL_C } |
Definition at line 147 of file sfx_control.c.
| s32 ShootingStarFallSounds[] = { SOUND_SHOOTING_STAR_FALL_A, SOUND_SHOOTING_STAR_FALL_B } |
Definition at line 148 of file sfx_control.c.
| s32 ShootingStarBounceSounds[] = { SOUND_STAR_BOUNCE_A, SOUND_STAR_BOUNCE_B } |
Definition at line 149 of file sfx_control.c.
| s32 FuzzyHopSounds[] = { SOUND_FUZZY_HOP_A, SOUND_FUZZY_HOP_B, SOUND_FUZZY_HOP_C } |
Definition at line 150 of file sfx_control.c.
| s32 BulletBillExplodeSounds[] = { SOUND_BULLET_BILL_EXPLODE_A, SOUND_BULLET_BILL_EXPLODE_B } |
Definition at line 151 of file sfx_control.c.
| s32 LuigiStepSounds[] = { SOUND_LUIGI_STEP_A, SOUND_LUIGI_STEP_B } |
Definition at line 152 of file sfx_control.c.
| s32 TrainChugSounds[] = { SOUND_TRAIN_CHUG_A, SOUND_TRAIN_CHUG_B } |
Definition at line 153 of file sfx_control.c.
| s32 FinaleBridgeCollapseSounds[] = { SOUND_KPA_BRIDGE_COLLAPSE_A, SOUND_KPA_BRIDGE_COLLAPSE_B } |
Definition at line 154 of file sfx_control.c.
| s32 FinaleExplosionSounds[] = { SOUND_KPA_EXPLOSION_A, SOUND_KPA_EXPLOSION_B } |
Definition at line 155 of file sfx_control.c.
| s32 CardShuffleSounds[] = { SOUND_SHUFFLE_CARD_A, SOUND_SHUFFLE_CARD_B } |
Definition at line 156 of file sfx_control.c.
| s32 StarSpiritAppearSounds[] = { SOUND_STAR_SPIRIT_APPEAR_A, SOUND_STAR_SPIRIT_APPEAR_B } |
Definition at line 157 of file sfx_control.c.
| s32 StarSpiritCastSounds[] = { SOUND_STAR_SPIRIT_CAST_A, SOUND_STAR_SPIRIT_CAST_B } |
Definition at line 158 of file sfx_control.c.
| s32 UnusedExplodeSounds[] = { SOUND_BULLET_BILL_EXPLODE_A, SOUND_BULLET_BILL_EXPLODE_B } |
Definition at line 159 of file sfx_control.c.
| s32 ShyGuyStepSounds[] = { SOUND_SHY_GUY_STEP_A, SOUND_SHY_GUY_STEP_B } |
Definition at line 160 of file sfx_control.c.
| AlternatingSoundSet AlternatingSounds[] |
Definition at line 165 of file sfx_control.c.
Referenced by sfx_play_sound_with_params().
| s32 OpenCloseSounds[][2] |
Definition at line 202 of file sfx_control.c.
Referenced by sfx_play_sound_with_params().
| BSS SoundInstance wEnvSounds[10] |
Definition at line 212 of file sfx_control.c.
Referenced by sfx_clear_env_sounds(), sfx_clear_sounds(), and sfx_stop_env_sounds().
| BSS SoundInstance bEnvSounds[10] |
Definition at line 213 of file sfx_control.c.
Referenced by sfx_clear_env_sounds(), sfx_clear_sounds(), and sfx_stop_env_sounds().
| BSS SoundInstance* gCurrentEnvSounds |
Definition at line 214 of file sfx_control.c.
Referenced by sfx_clear_env_sounds(), sfx_clear_sounds(), sfx_get_env_sound_instance(), sfx_play_sound_looping(), sfx_register_looping_sound_at_position(), sfx_stop_env_sounds(), and sfx_update_env_sound_params().
Definition at line 215 of file sfx_control.c.
Referenced by sfx_get_reverb_mode(), and sfx_set_reverb_mode().