/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/gamesnd/ |
H A D | gamesnd.cpp | 19 SCP_vector<game_snd> Snds; variable 66 Assert( Snds.size() <= INT_MAX ); in gamesnd_get_by_name() 73 for(SCP_vector<game_snd>::iterator snd = Snds.begin(); snd != Snds.end(); ++snd) in gamesnd_get_by_name() 182 size_to_check = Snds.size(); in parse_sound_core() 277 Assert( Snds.size() <= INT_MAX ); in gamesnd_preload_common_sounds() 278 for (SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs) { in gamesnd_preload_common_sounds() 296 Assert( Snds.size() <= INT_MAX ); in gamesnd_load_gameplay_sounds() 297 for (SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs) { in gamesnd_load_gameplay_sounds() 312 Assert( Snds.size() <= INT_MAX ); in gamesnd_unload_gameplay_sounds() 313 for (SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs) { in gamesnd_unload_gameplay_sounds() [all …]
|
H A D | gamesnd.h | 52 extern SCP_vector<game_snd> Snds;
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/gamesnd/ |
H A D | gamesnd.cpp | 21 SCP_vector<game_snd> Snds; variable 234 for (SCP_vector<game_snd>::iterator it = Snds.begin(), end = Snds.end(); it != end; ++it, ++i) in gamesnd_add_retail_default_enhanced_sound_data() 305 Assert( Snds.size() <= INT_MAX ); in gamesnd_get_by_name() 316 for (auto& Snd : Snds) { in gamesnd_get_by_name() 546 Assert( Snds.size() <= INT_MAX ); in gamesnd_preload_common_sounds() 547 for (auto& gs: Snds) { in gamesnd_preload_common_sounds() 568 for (auto& gs: Snds) { in gamesnd_load_gameplay_sounds() 586 for (auto& gs: Snds) { in gamesnd_unload_gameplay_sounds() 605 for (auto& gs: Snds) { in gamesnd_load_interface_sounds() 1307 Snds.clear(); in gamesnd_close() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/ |
H A D | afterburner.cpp | 95 snd_play( &Snds[ship_get_sound(objp, SND_ABURN_FAIL)] ); in afterburners_start() 119 snd_play( &Snds[ship_get_sound(objp, SND_ABURN_FAIL)] ); in afterburners_start() 145 snd_play( &Snds[ship_get_sound(objp, SND_ABURN_ENGAGE)], 0.0f, 1.0f, SND_PRIORITY_MUST_PLAY ); in afterburners_start() 148 …snd_play_3d( &Snds[ship_get_sound(objp, SND_ABURN_ENGAGE)], &objp->pos, &View_position, objp->radi… in afterburners_start() 250 …Player_afterburner_loop_id = snd_play_looping( &Snds[ship_get_sound(objp, SND_ABURN_LOOP)], 0.0f ,… in afterburners_update() 308 snd_play( &Snds[ship_get_sound(objp, SND_ABURN_FAIL)] ); in afterburners_stop()
|
H A D | shipfx.cpp | 2083 if (get_sound_time_played(Snds[sound_index].id, handle) > 400) { in do_sub_expl_sound() 2087 } else if (get_sound_time_played(Snds[sound_index].id, handle) > 750) { in do_sub_expl_sound() 2443 snd_play_3d( &Snds[SND_DEBRIS_ARC_05], &snd_pos, &View_position, obj->radius ); in shipfx_do_damaged_arcs_frame() 2446 snd_play_3d( &Snds[SND_DEBRIS_ARC_04], &snd_pos, &View_position, obj->radius ); in shipfx_do_damaged_arcs_frame() 2449 snd_play_3d( &Snds[SND_DEBRIS_ARC_03], &snd_pos, &View_position, obj->radius ); in shipfx_do_damaged_arcs_frame() 2452 snd_play_3d( &Snds[SND_DEBRIS_ARC_02], &snd_pos, &View_position, obj->radius ); in shipfx_do_damaged_arcs_frame() 2455 snd_play_3d( &Snds[SND_DEBRIS_ARC_01], &snd_pos, &View_position, obj->radius ); in shipfx_do_damaged_arcs_frame() 2946 Player_engine_wash_loop = snd_play_looping( &Snds[SND_ENGINE_WASH], 0.0f , -1, -1, 1.0f); in DCF_BOOL() 3827 snd_start_gs = &Snds[gs_start_index]; in warpStart() 3832 snd_end_gs = &Snds[gs_end_index]; in warpStart() [all …]
|
H A D | ship.cpp | 9830 snd_play( &Snds[ship_get_sound(Player_obj, SND_OUT_OF_MISSLES)] ); in ship_maybe_play_secondary_fail_sound() 11165 snd_play( &Snds[ship_get_sound(Player_obj, SND_OUT_OF_MISSLES)] ); in ship_fire_secondary() 11710 snd_play( &Snds[ship_get_sound(objp, SND_PRIMARY_CYCLE)], 0.0f ); in ship_select_next_primary() 11738 snd_play( &Snds[ship_get_sound(objp, SND_PRIMARY_CYCLE)], 0.0f ); in ship_select_next_primary() 13086 if (Snds[SND_BALLISTIC_START_LOAD].id >= 0) in ship_do_rearm_frame() 13113 if (Snds[SND_BALLISTIC_LOAD].id >= 0) in ship_do_rearm_frame() 13118 snd_play_3d( &Snds[sound_index], &objp->pos, &View_position ); in ship_do_rearm_frame() 13142 if (Snds[SND_BALLISTIC_START_LOAD].id >= 0) in ship_do_rearm_frame() 13147 snd_play_3d( &Snds[sound_index], &objp->pos, &View_position ); in ship_do_rearm_frame() 17900 Assert( id >= 0 && id < (int) Snds.size() ); in ship_get_sound() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/object/ |
H A D | objectsnd.cpp | 491 gs = &Snds[osp->id]; in obj_snd_do_frame() 582 if ( distance < Snds[osp->id].max ) { in obj_snd_do_frame() 583 max_vol = Snds[osp->id].default_volume; in obj_snd_do_frame() 584 if ( distance <= Snds[osp->id].min ) { in obj_snd_do_frame() 588 …new_vol = max_vol - (distance - Snds[osp->id].min) * max_vol / (Snds[osp->id].max - Snds[osp->id].… in obj_snd_do_frame() 620 if ( distance > Snds[osp->id].max ) { in obj_snd_do_frame()
|
H A D | collideshipship.cpp | 889 …snd_play_3d( &Snds[ship_get_sound(player_objp, SND_ABURN_ENGAGE)], &player_objp->pos, &View_positi… in mcp_1() 965 snd_play_3d( &Snds[SND_SHIP_SHIP_HEAVY], world_hit_pos, &View_position ); in collide_ship_ship_do_sound() 969 Player_collide_sound = snd_play_3d( &Snds[SND_SHIP_SHIP_LIGHT], world_hit_pos, &View_position ); in collide_ship_ship_do_sound() 973 AI_collide_sound = snd_play_3d( &Snds[SND_SHIP_SHIP_LIGHT], world_hit_pos, &View_position ); in collide_ship_ship_do_sound() 982 …Player_collide_shield_sound = snd_play_3d( &Snds[SND_SHIP_SHIP_SHIELD], world_hit_pos, &View_posit… in collide_ship_ship_do_sound() 986 …AI_collide_shield_sound = snd_play_3d( &Snds[SND_SHIP_SHIP_SHIELD], world_hit_pos, &View_position … in collide_ship_ship_do_sound() 1175 …Player_collide_sound = snd_play_3d( &Snds[light_sip->collision_physics.landing_sound_idx], &world_… in collide_ship_ship() 1179 …AI_collide_sound = snd_play_3d( &Snds[light_sip->collision_physics.landing_sound_idx], &world_hit_… in collide_ship_ship()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/playerman/ |
H A D | playercontrol.cpp | 513 snd_play( &Snds[ship_get_sound(Player_obj, SND_THROTTLE_UP)], 0.0f ); in read_keyboard_controls() 516 snd_play( &Snds[ship_get_sound(Player_obj, SND_THROTTLE_DOWN)], 0.0f ); in read_keyboard_controls() 527 snd_play( &Snds[ship_get_sound(Player_obj, SND_THROTTLE_UP)], 0.0f ); in read_keyboard_controls() 530 snd_play( &Snds[ship_get_sound(Player_obj, SND_THROTTLE_DOWN)], 0.0f ); in read_keyboard_controls() 555 snd_play( &Snds[ship_get_sound(Player_obj, SND_ZERO_THROTTLE)], 0.0f ); in read_keyboard_controls() 566 snd_play( &Snds[ship_get_sound(Player_obj, SND_FULL_THROTTLE)], 0.0f ); in read_keyboard_controls() 764 snd_play( &Snds[ship_get_sound(Player_obj, SND_THROTTLE_UP)], 0.0f ); in read_keyboard_controls() 913 snd_play(&Snds[SND_PLAYER_WARP_FAIL]); in read_player_controls() 1310 Player->repair_sound_loop = snd_play_looping( &Snds[SND_SHIP_REPAIR] ); in player_maybe_start_repair_sound() 1492 snd_play( &Snds[SND_CARGO_REVEAL], 0.0f ); in player_inspect_cargo() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/radar/ |
H A D | radardradis.cpp | 525 Radar_static_looping = snd_play_looping(&Snds[SND_STATIC]); in render() 579 loop_sound_handle = snd_play(&Snds[m_loop_snd], 0.0f, loop_sound_volume); in doLoopSnd() 648 snd_play(&Snds[arrival_beep_snd]); in doBeeps() 654 snd_play(&Snds[m_stealth_arrival_snd]); in doBeeps() 665 snd_play(&Snds[departure_beep_snd]); in doBeeps() 671 snd_play(&Snds[stealth_departure_snd]); in doBeeps()
|
H A D | radar.cpp | 341 Radar_static_looping = snd_play_looping(&Snds[SND_STATIC]); in render()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/io/ |
H A D | keycontrol.cpp | 1936 snd_play( &Snds[SND_ENERGY_TRANS] ); in button_function_critical() 2045 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2059 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2073 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2086 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2107 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2110 snd_play( &Snds[SND_TARGET_FAIL] ); in button_function_demo_valid() 2341 snd_play(&Snds[SND_SHIELD_XFER_OK], 1.0f); in button_function() 2348 snd_play(&Snds[SND_SHIELD_XFER_OK], 1.0f); in button_function() 2547 snd_play(&Snds[SND_TARGET_FAIL]); in button_function() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudets.cpp | 429 snd_play( &Snds[SND_ENERGY_TRANS_FAIL], 0.0f ); in increase_recharge_rate() 467 snd_play( &Snds[SND_ENERGY_TRANS], 0.0f ); in increase_recharge_rate() 548 snd_play( &Snds[SND_ENERGY_TRANS_FAIL], 0.0f ); in decrease_recharge_rate() 586 snd_play( &Snds[SND_ENERGY_TRANS], 0.0f ); in decrease_recharge_rate() 600 snd_play( &Snds[SND_ENERGY_TRANS], 0.0f ); in transfer_energy_weapon_common() 609 snd_play( &Snds[SND_ENERGY_TRANS_FAIL], 0.0f ); in transfer_energy_weapon_common()
|
H A D | hudtarget.cpp | 1082 snd_play( &Snds[SND_TARGET_FAIL] ); in hud_target_subobject_common() 1087 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_subobject_common() 1126 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_subobject_common() 1245 snd_play( &Snds[SND_TARGET_FAIL] ); in hud_target_common() 1616 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_uninspected_cargo() 1679 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_newest_ship() 1737 snd_play(&Snds[SND_TARGET_FAIL]); in hud_target_live_turret() 1743 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_live_turret() 2315 snd_play(&Snds[SND_TARGET_FAIL]); in hud_target_closest() 2691 snd_play( &Snds[SND_TARGET_FAIL]); in hud_target_subsystem_in_reticle() [all …]
|
H A D | hudlock.cpp | 639 Missile_lock_loop = snd_play(&Snds[wip->hud_locked_snd]); in hud_do_lock_indicator() 643 Missile_lock_loop = snd_play(&Snds[ship_get_sound(Player_obj, SND_MISSILE_LOCK)]); in hud_do_lock_indicator() 866 Missile_track_loop = snd_play_looping( &Snds[wip->hud_tracking_snd], 0.0f , -1, -1); in hud_calculate_lock_position() 870 …Missile_track_loop = snd_play_looping( &Snds[ship_get_sound(Player_obj, SND_MISSILE_TRACKING)], 0.… in hud_calculate_lock_position()
|
H A D | hudescort.cpp | 899 snd_play( &Snds[SND_TARGET_FAIL]); in hud_add_ship_to_escort() 926 snd_play( &Snds[SND_TARGET_FAIL]); in hud_add_remove_ship_escort() 1004 snd_play( &Snds[SND_TARGET_FAIL], 0.0f ); in hud_escort_target_next()
|
H A D | hudartillery.cpp | 245 snd_play(&Snds[Ssm_info[ssm_index].sound_index]); in ssm_create()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/starfield/ |
H A D | supernova.cpp | 202 snd_play(&Snds[SND_SUPERNOVA_1], 0.0f, 1.0f, SND_PRIORITY_MUST_PLAY); in supernova_process() 206 snd_play(&Snds[SND_SUPERNOVA_2], 0.0f, 1.0f, SND_PRIORITY_MUST_PLAY); in supernova_process()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/debris/ |
H A D | debris.cpp | 76 snd_play_3d( &Snds[SND_MISSILE_IMPACT1], &debris_obj->pos, &View_position, debris_obj->radius ); in debris_start_death_roll() 384 snd_play_3d( &Snds[SND_DEBRIS_ARC_05], &snd_pos, &View_position, obj->radius ); in MONITOR() 387 snd_play_3d( &Snds[SND_DEBRIS_ARC_04], &snd_pos, &View_position, obj->radius ); in MONITOR() 390 snd_play_3d( &Snds[SND_DEBRIS_ARC_03], &snd_pos, &View_position, obj->radius ); in MONITOR() 393 snd_play_3d( &Snds[SND_DEBRIS_ARC_02], &snd_pos, &View_position, obj->radius ); in MONITOR() 396 snd_play_3d( &Snds[SND_DEBRIS_ARC_01], &snd_pos, &View_position, obj->radius ); in MONITOR()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/cmeasure/ |
H A D | cmeasure.cpp | 94 snd_play(&Snds[ship_get_sound(Player_obj, SND_MISSILE_EVADED_POPUP)]); in cmeasure_maybe_alert_success()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/sound/ |
H A D | sound.cpp | 220 extern SCP_vector<game_snd> Snds; 243 for(SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs){ in snd_spew_debug_info() 253 for(SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs){ in snd_spew_debug_info()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/sound/ |
H A D | sound.cpp | 232 for(SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs){ in snd_spew_debug_info() 240 for(SCP_vector<game_snd>::iterator gs = Snds.begin(); gs != Snds.end(); ++gs){ in snd_spew_debug_info()
|
/dports/games/devilutionX/devilutionX-1.2.1/Source/ |
H A D | monster.h | 44 TSnd *Snds[4][2]; member
|
H A D | effects.cpp | 1132 Monsters[monst].Snds[i][j] = pSnd; in InitMonsterSND() 1150 pSnd = Monsters[i].Snds[j][k]; in FreeMonsterSnd() 1152 Monsters[i].Snds[j][k] = NULL; in FreeMonsterSnd() 1238 snd = Monsters[mi].Snds[mode][sndIdx]; in PlayEffect()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/fireball/ |
H A D | fireballs.cpp | 89 …snd_play_3d(&Snds[sound_index], &fireball_objp->pos, &Eye_position, fireball_objp->radius, NULL, 0… in fireball_play_warphole_open_sound() 113 …snd_play_3d(&Snds[sound_index], &fireball_objp->pos, &Eye_position, fireball_objp->radius); // pla… in fireball_play_warphole_close_sound()
|