18 code results in CleverRaven/Cataclysm-DDA
src/sounds.cpp
C++
Showing the top two matches
Last indexed Jul 2, 2019
| 410 | const std::string &sfx_variant = sound.variant; |
| 411 | if( !sfx_id.empty() ) { |
| 412 | sfx::play_variant_sound( sfx_id, sfx_variant, sfx::get_heard_volume( pos ) ); |
| … | |
| 913 | selected_sound = "fire_gun_distant"; |
| 914 | } |
| 915 | } |
| 916 | |
| 917 | play_variant_sound( selected_sound, weapon_id, heard_volume, angle, 0.8, 1.2 ); |
src/sounds.h
C++
Showing the top two matches
Last indexed Jun 18, 2019
src/vehicle_use.cpp
C++
Showing the top two matches
Last indexed Jul 13, 2019
src/mattack_actors.cpp
C++
Showing the top two matches
Last indexed Jul 10, 2019
| 272 | if( hitspread < 0 ) { |
| 273 | auto msg_type = target == &g->u ? m_warning : m_info; |
| 274 | sfx::play_variant_sound( "mon_bite", "bite_miss", sfx::get_heard_volume( z.pos() ), |
| … | |
| 296 | on_damage( z, *target, dealt_damage ); |
| 297 | } else { |
| 298 | sfx::play_variant_sound( "mon_bite", "bite_miss", sfx::get_heard_volume( z.pos() ), |
src/sdlsound.cpp
C++
Showing the top match
Last indexed Jul 1, 2019
src/ballistics.cpp
C++
Showing the top two matches
Last indexed Jul 6, 2019
| 256 | // Don't extend range further, miss here can mean hitting the ground near the target |
| 257 | range = rl_dist( source, target ); |
| 258 | extend_to_range = range; |
| 259 | |
| 260 | sfx::play_variant_sound( "bullet_hit", "hit_wall", sfx::get_heard_volume( target ), |
| … | |
| 449 | projectile_attack( proj, tp, z.pos(), dispersion, origin, in_veh ); |
| 450 | sfx::play_variant_sound( "fire_gun", "bio_lightning_tail", |
src/weather.cpp
C++
Showing the top match
Last indexed Jul 15, 2019
src/mondeath.cpp
C++
Showing the top two matches
Last indexed Jul 15, 2019
| 90 | if( z.type->in_species( ZOMBIE ) ) { |
| 91 | sfx::play_variant_sound( "mon_death", "zombie_death", sfx::get_heard_volume( z.pos() ) ); |
| … | |
| 185 | if( pulverized && z.type->size >= MS_MEDIUM ) { |
| 186 | number_of_gibs += rng( 1, 6 ); |
| 187 | sfx::play_variant_sound( "mon_death", "zombie_gibbed", sfx::get_heard_volume( z.pos() ) ); |
src/main_menu.cpp
C++
Showing the top two matches
Last indexed Jul 13, 2019
src/overmap_ui.cpp
C++
Showing the top match
Last indexed Jul 13, 2019