Commit graph

64 commits

Author SHA1 Message Date
UnknownShadow200
e5b43b263c Simplify SharpWave even more. (and fix a memory leak in C client) 2018-08-12 17:06:24 +10:00
UnknownShadow200
9208456be9 now sounds sort of work in C client 2018-08-07 10:25:56 +10:00
UnknownShadow200
318d722158 Fix skip ssl validation widget not actually showing, oops. (Thanks Xerolyph) 2018-08-07 07:06:56 +10:00
UnknownShadow200
a95d0ba3b1 fix vorbis decoding issues when multiple instances are run on different threads 2018-08-06 02:32:32 +10:00
UnknownShadow200
1e6bcd5306 Fix problems from last commit 2018-08-06 01:30:16 +10:00
UnknownShadow200
36c425906f rewrite sharpwave somewhat 2018-08-06 01:04:05 +10:00
UnknownShadow200
daaa68cea2 start porting audio to C client 2018-08-05 20:39:30 +10:00
UnknownShadow200
8490f17943 eliminate fixed* char usage, fixes crash on a few mono versions 2018-06-16 11:44:00 +10:00
UnknownShadow200
1102ec3a10 fix last commit 2018-06-03 07:55:23 +10:00
UnknownShadow200
740c6010c2 Game shouldn't crash when you set a sound id above snow sound id 2018-05-25 09:27:58 +10:00
UnknownShadow200
70a5c73854 prefer explicit interface implementation for IGameComponent 2018-04-26 18:06:44 +10:00
UnknownShadow200
ea1c8c222c and fix sounds too 2018-04-14 15:54:44 +10:00
UnknownShadow200
bb1a3d1e74 Fix last commit breaking audio 2018-04-14 15:47:21 +10:00
UnknownShadow200
533cca344f redesign how file and directory methods work 2018-04-14 15:37:20 +10:00
UnknownShadow200
68b861f6c8 little bit less hardcoding 2018-03-19 22:07:26 +11:00
UnknownShadow200
172fc68404 minor code cleanup 2017-12-15 20:04:23 +11:00
UnknownShadow200
a457166aae Block place sounds shouldn't play in classic mode. (Thanks cybertoon) 2017-11-16 23:59:00 +11:00
UnknownShadow200
92664c258a Add +/-push to disallow player pushing in MOTD. 2017-09-18 14:02:26 +10:00
UnknownShadow200
c4c6b96419 Little bit less lambda and Dictionary usage 2017-09-03 16:51:28 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
a31b21ad6e Rememeber to delete the old option line for usesound/usemusic.
Otherwise they interfere with the soundvolume/musicvolume lines
2017-06-26 19:46:39 +10:00
UnknownShadow200
adc4f60fdf Play walk sounds at half volume of place/dig sounds. Fixes #446. 2017-06-25 13:20:33 +10:00
UnknownShadow200
eadac08d0a Sounds/music volume is configurable between 0-100, instead of just ON/OFF. Fixes #320 and addresses #446 2017-06-24 21:30:30 +10:00
CybertronicToon
c08abee077 Adds proper metal and dig sounds
Adds pitch adjustment for metal sounds and dig sounds.
2017-02-18 01:30:45 -06:00
CybertronicToon
6b43c396bd Adds option to force openal
Adds in the option to force OpenAL. More specifically, adds in the code for the option to have an effect.
2017-02-18 01:28:25 -06:00
UnknownShadow200
b5e4c24172 Use metal sound enum 2017-02-18 18:11:43 +11:00
UnknownShadow200
3a32bc39b3 Try to reuse audio devices to avoid expensive device recreating 2017-02-17 21:35:07 +11:00
UnknownShadow200
a0af35a267 Fix error when reading .wav sounds that have metadata (Thanks Odd0002) 2017-02-17 11:46:34 +11:00
UnknownShadow200
b45bb70785 some micro optimisations 2017-02-07 22:53:54 +11:00
UnknownShadow200
1ab8982e7a Optimise adv mesh builder 2017-02-07 21:46:46 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11:00
UnknownShadow200
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
874de2ce9b An invalid .ogg file should not crash the whole client. (Thanks JplaysClassic) 2016-08-20 10:04:19 +10:00
UnknownShadow200
6b2651b8fb Split up Utils.cs into Utils.cs and Utils.Math.cs, also use our own ToLower() method that does not make any extra memory allocations. 2016-08-15 20:00:57 +10:00
UnknownShadow200
2e04b086e8 Fix music thread crashing on .NET 2.0 without a service pack. (Thanks winsupermario) 2016-07-01 11:11:23 +10:00
UnknownShadow200
bd8c56954d Don't crash if 'use music' is true and no .ogg files exist in audio directory. 2016-06-28 13:55:56 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
41a85c95c1 Make selected block outline a bit better. 2016-06-09 00:26:39 +10:00
UnknownShadow200
fba550f3c2 Use generic BlockChanged event instead of hardcoding behaviour in PickingHandler. 2016-05-21 15:06:38 +10:00
UnknownShadow200
4841e84923 Fix sponge not properly updating blocks in singleplayer (Thanks andreja6), partially addresses #205. Fix music thread lagging on some computers due to not buffer enough data ahead of time (Thanks funzrey). 2016-05-20 15:14:19 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
1e3fad5930 Make all game components handle new map / new map loaded. 2016-05-01 11:23:38 +10:00
UnknownShadow200
2bb67cd2f1 More usage of IGameComponent, modularise OnLoad. 2016-04-27 17:06:55 +10:00
UnknownShadow200
e51aefe4d7 Fix padding issues, also be more helpful when using 'OpenGL build with Intel GPU on windows.' 2016-04-19 10:17:24 +10:00
UnknownShadow200
3716e9f88e Read from the .wav files now, but still need to convert the old .bin to .wav list. 2016-04-16 20:23:59 +10:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
3df2a4165f Quick fix for last commit borking chat. 2016-03-26 00:26:59 +11:00