Matthias Mailänder
047f71e5ec
Reset stream position after TryParseSound failures
2016-01-15 18:29:25 +01:00
Pavel Penev
0e53312a1d
Add a package-oriented Platform.ResolvePath() method
2016-01-10 23:19:28 +02:00
DArcy Rush
67f88e368f
Add mute option to the game
2015-12-25 23:33:18 +00:00
Pavel Penev
8d56de80ca
Add ISoundLoader
...
The interface is to be implemented by all sound loaders, just like ISpriteLoader. All loading goes through the interface. This would allow mods to create their own sound loaders outside the engine.
Also add a SoundFormats property to mod.yaml, where mods can define what sound loaders they will need.
This requires Game.Sound to be initialized after the ModData is loaded.
2015-12-20 19:17:48 +02:00
Pavel Penev
1b88d24cfa
Unstatic GlobalFileSystem and rename it to FileSystem
...
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
Paul Chote
d112083c44
Clean up sound devices on game exit.
2015-09-20 22:46:07 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
Paul Chote
886d489766
Don’t create multiple sound contexts.
2015-09-05 18:29:14 +01:00
Pavel Penev
49e9ad2c7c
Make lower-level Sound not require the server state directly
2015-08-24 01:36:56 +03:00
Matthias Mailänder
17f3466451
untie the engine from SDL2 and MiniTK
2015-08-23 07:58:03 +02:00
Matthias Mailänder
2768fc88e7
stop all sounds on map change
2015-07-05 18:07:11 +02:00
Matthias Mailänder
50e5e9df24
check voice actor references
2015-06-20 12:09:58 +02:00
reaperrr
251d3e6864
Move PlayVoice and PlayVoiceLocal from Sound to Voiced.
...
Move HasVoice, HasVoices and GetVoices from WorldUtils to Voiced.
2015-05-22 01:51:53 +02:00
reaperrr
0d05fdefbb
Extract actor voice set into Voiced trait
2015-05-22 01:51:51 +02:00
Matthias Mailänder
7cbdc07ca3
add a looping sound trait
2015-05-02 06:59:57 +02:00
RoosterDragon
1515ac54f6
Enforce a line length limit.
2015-03-19 17:20:34 +00:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
DeadlySurprise
cdb05537f3
Added tiberian sun vqa file support
2014-11-18 22:35:33 +01:00
Matthias Mailänder
cf6f32fb96
split Sound.cs in smaller chunks
2014-07-05 08:35:38 +02:00