Stan
19eb21b647
Lower rolloff so that players that play from very high still hear sound.
...
Reported by: @ValihrAnt, @Feldfeld
Discussed with: @Samulis
Refs: https://code.wildfiregames.com/D3108 / 876f6d5e50
This was SVN commit r24712.
2021-01-19 22:40:56 +00:00
Stan
876f6d5e50
Improve sound attenuation so that zooming out actually reduce the sound level.
...
Patch by: @Samulis
Differential Revision: https://code.wildfiregames.com/D3108
This was SVN commit r24382.
2020-12-13 00:04:17 +00:00
wraitii
48c31ce03f
Update random_shuffle usage for C++17
...
C++14 deprecates and C++17 removes functions we use for random sounds.
This makes FastRand() fit the URG interface, and uses the appropriate
function.
Refs #5862
Differential Revision: https://code.wildfiregames.com/D3107
This was SVN commit r24302.
2020-11-30 15:52:16 +00:00
Stan
9ae084519f
Fix most of the new vs2017 induced warnings.
...
Refs: https://code.wildfiregames.com/D3096
https://code.wildfiregames.com/D3103 #5862
Reviewed by: @wraitii
Comments by: @Angen
Differential Revision: https://code.wildfiregames.com/D3126
This was SVN commit r24268.
2020-11-26 22:28:50 +00:00
elexis
3c2f15ee8b
Fix lineendings.
...
This was SVN commit r22460.
2019-07-12 17:40:40 +00:00
Stan
ef098db7c8
Seed unit sounds so that their pitch and their gain are always the same for the same unit.
...
Fixes #3578
Reviewed by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D1584
This was SVN commit r22231.
2019-04-25 22:37:15 +00:00
Stan
8b05f551f8
SoundGroup cleanup.
...
Reviewed by: @vladislavbelov @wraitii
Differential Revision: https://code.wildfiregames.com/D1270
This was SVN commit r22009.
2019-01-02 22:31:46 +00:00
Stan
af2abb8cbf
Fix units not being able to play sounds when walking and running
...
This currently disabled by variants, and will be reenabled when sounds
have been chosen.
Reviewed by: Vladislav,
Comments by: Itms, elexis
Differential Revision: https://code.wildfiregames.com/1257
This was SVN commit r21359.
2018-02-24 18:13:03 +00:00
elexis
f7a262fa4a
Remove trailing whitespace. Based on patch by otero, refs #3268 .
...
This was SVN commit r17576.
2015-12-31 11:45:13 +00:00
leper
a18fbd12ec
XML validation. Based on patch by historic_bruno. Refs #245 .
...
This was SVN commit r16733.
2015-06-07 21:56:52 +00:00
leper
ec7c8f2d65
Move gain config setting retrieval to the sound manager. Fixes #3030 .
...
Also clean up the sound manager a bit.
This was SVN commit r16257.
2015-02-02 13:44:06 +00:00
Ykkrosh
568c415d0a
Convert wchar_t*/wstring arguments to UTF-8 strings in CLogger messages.
...
This was SVN commit r16188.
2015-01-22 20:37:38 +00:00
Ykkrosh
e02d7ad949
Automatically replace %hs/%ls with %s in CLogger format strings.
...
Everything is char* now, so we don't need to mess around with different
string types.
Done with:
ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs perl
-pi -e'1 while
s/(LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR).*)%[hl]s/$1%s/g'
This was SVN commit r16187.
2015-01-22 20:36:24 +00:00
Ykkrosh
38a8e2e0d6
Automatically convert most path.string().c_str() to path.string8()
...
Done with:
ag -l 'LOG.*string\(\).c_str\(\)' source | xargs perl -pi -e'1 while
s/(LOG.*string)\(\)\.c_str\(\)/${1}8()/g'
This was SVN commit r16186.
2015-01-22 20:35:17 +00:00
Ykkrosh
e9a33b71ae
Manually fix the less trivial CLogger format strings.
...
This was SVN commit r16184.
2015-01-22 20:32:06 +00:00
Ykkrosh
49e2ecea63
Automatically convert all CLogger format strings from wchar_t* to char*.
...
Done with:
ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed
-i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g'
This was SVN commit r16183.
2015-01-22 20:31:30 +00:00
stwf
00e21a9898
change 'restricted' flag to 'heardby' in SoundGroup xml files
...
This was SVN commit r13487.
2013-06-17 15:46:28 +00:00
stwf
36dec0e789
add restricted flag to SoundGroup xml for sounds thatonly the owning player should hear
...
This was SVN commit r13486.
2013-06-17 02:30:40 +00:00
stwf
71b25d5bd4
big SoundManager checkin,futureproof javascript interface, isolate external calls to remove OpenAL references
...
This was SVN commit r13455.
2013-06-06 11:13:57 +00:00