0ad/source
wraitii 863ef0f88a Tweak sound distance attenuation & add configurability
Following D3108 / 876f6d5e50, sounds are attenuated by their actual
distance. However, as noted by players on A24, the dropoff is stark and,
when zoomed out, can easily result in not hearing things that are
happening in the middle of the screen.

The new default settings almost double the max-range, change the minimum
range to have greater dynamic range, and reduce the stereo depth
slightly to better match the default camera FOV.

These are stored per sound-grounp, possibly allowing future tweaks on a
per-soundgroup basis, and are configurable.

Tested by: Imarok
Discussed over mail with: Samulis, Porru

Differential Revision: https://code.wildfiregames.com/D3612
This was SVN commit r25547.
2021-05-25 06:19:25 +00:00
..
collada Refactors smart pointers creation, reduces code duplication and improves exception safety. 2021-02-13 23:53:40 +00:00
graphics Adds std namespace to shared_ptr usages in graphics. 2021-05-22 19:21:33 +00:00
gui Prevent hotkeys from firing for disabled buttons 2021-05-25 06:10:53 +00:00
i18n Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
lib Removes using shared_ptr to make STL usages consistent. 2021-05-23 22:01:18 +00:00
lobby Adds std namespace to shared_ptr usages in network and engine. 2021-05-22 19:28:40 +00:00
maths Fixes a bounding box projection to an incorrect camera causes the red water bug. 2021-05-15 13:33:36 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Adds std namespace to shared_ptr usages in network and engine. 2021-05-22 19:28:40 +00:00
pch Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
ps Mod data parsing rework 2021-05-25 06:12:45 +00:00
renderer Adds std namespace to shared_ptr usages in network and engine. 2021-05-22 19:28:40 +00:00
rlinterface Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
scriptinterface Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
simulation2 Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
soundmanager Tweak sound distance attenuation & add configurability 2021-05-25 06:19:25 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Check translations for spam, broken font tags and sprintf errors. 2021-05-24 10:25:19 +00:00
main.cpp Replaces global g_VSync state by VideoMode property. 2021-05-21 21:33:43 +00:00
test_setup.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00