Home
last modified time | relevance | path

Searched refs:sound_range (Results 1 – 15 of 15) sorted by relevance

/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dsaudio.c36 static inline double sound_range(player_t *pl) in sound_range() function
163 range = sound_range(pl); in sound_play_sensors()
/dports/games/xpilot/xpilot-4.5.5/src/server/
H A Dsaudio.c52 #define sound_range(pl) \ macro
181 range = sound_range(pl); in sound_play_sensors()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/
H A DVehicleEntry.h65 uint8_t sound_range; member
H A DVehicle.cpp3095 … auto soundId = (rideEntry->vehicles[0].sound_range == 4) ? OpenRCT2::Audio::SoundId::Tram in UpdateDeparting()
5437 switch (vehicleEntry->sound_range) in UpdateSound()
5577 switch (vehicleEntry->sound_range) in ProduceScreamSound()
9729 switch (rideEntry->vehicles[vehicle_type].sound_range) in Claxon()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/object/
H A DRideObject.cpp447 vehicle->sound_range = stream->ReadValue<uint8_t>(); in ReadLegacyVehicle()
584 car.sound_range = 0xFF; in ReadJson()
742 car.sound_range = Json::GetNumber<uint8_t>(jCar["soundRange"], 255); in ReadJsonCar()
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/vt/
H A Dtr_types.h574 uint16_t sound_range; // Sound range member
H A Dl_tr3.cpp365 this->sound_details[i].sound_range = (uint16_t)read_bitu8(src); in read_tr3_level()
H A Dl_tr2.cpp419 this->sound_details[i].sound_range = TR_AUDIO_DEFAULT_RANGE; in read_tr2_level()
H A Dl_tr5.cpp847 this->sound_details[i].sound_range = (uint16_t)read_bitu8(src); // n as is in read_tr5_level()
H A Dl_tr1.cpp799 this->sound_details[i].sound_range = TR_AUDIO_DEFAULT_RANGE; in read_tr_level()
H A Dl_tr4.cpp767 this->sound_details[i].sound_range = (uint16_t)read_bitu8(newsrc); // n as is in read_tr4_level()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/scripting/bindings/object/
H A DScObject.hpp561 return entry->sound_range; in soundRange_get()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dshipfx.cpp1839 float sound_range = 1.0f + 0.0043f*radius; in do_sub_expl_sound() local
1849 … nullptr, 0, 0.6f, SND_PRIORITY_MUST_PLAY, nullptr, sound_range); in do_sub_expl_sound()
1857 SND_PRIORITY_MUST_PLAY, nullptr, sound_range); in do_sub_expl_sound()
1861 … nullptr, 0, 0.6f, SND_PRIORITY_MUST_PLAY, nullptr, sound_range); in do_sub_expl_sound()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dshipfx.cpp2070 float sound_range = 1.0f + 0.0043f*radius; in do_sub_expl_sound() local
2079 …ndex], sound_pos, &View_position, 0.0f, NULL, 0, 0.6f, SND_PRIORITY_MUST_PLAY, NULL, sound_range ); in do_sub_expl_sound()
2085 …ndex], sound_pos, &View_position, 0.0f, NULL, 0, 0.6f, SND_PRIORITY_MUST_PLAY, NULL, sound_range ); in do_sub_expl_sound()
2088 …ndex], sound_pos, &View_position, 0.0f, NULL, 0, 0.6f, SND_PRIORITY_MUST_PLAY, NULL, sound_range ); in do_sub_expl_sound()
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/audio/
H A Daudio.cpp1574 … audio_world_data.audio_effects[i].range = (float)(tr->sound_details[i].sound_range) * 1024.0; in Audio_GenSamples()