Commit graph

32 commits

Author SHA1 Message Date
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
UnknownShadow200
bb2f4a9271 More robustly handle audio device creation errors. Fixes #136. 2016-03-26 00:15:29 +11:00
UnknownShadow200
06b0562695 Touchup launcher a bit and make default height 40 pixels smaller, also fix clicking 'use sounds' multiple times causing the client to crash. 2015-12-31 15:26:04 +11:00
UnknownShadow200
998768b9f7 Fix crashing when using OpenAL backend (Thanks Vladcosmonaut) 2015-12-28 15:33:03 +11:00
UnknownShadow200
f03148555e Use absolute instead of relative paths, launching ClassicalSharp from terminal works properly now. 2015-12-27 22:51:26 +11:00
UnknownShadow200
dfa5662f99 Sounds work now. 2015-12-17 22:08:47 +11:00
UnknownShadow200
3cdb1d381f Default speed modifier is now 7, move first item slightly down in server list, other buttons should only be selectable by enter when user first moves the mouse (Thanks FabTheZen) 2015-12-10 10:55:42 +11:00
UnknownShadow200
6e85434945 Fix FPS limit crashing, fix music playing at half speed, more work on sounds. 2015-12-03 21:16:48 +11:00
UnknownShadow200
2e317c4b99 Add proper sounds, fix block models, remove vertical water on map edges. 2015-12-03 20:35:40 +11:00
UnknownShadow200
4ccbc900a1 Option to hide block in hand, make back to X smaller and move quit game to right of it, use waithandle instead of Thread.sleep so music thread doesn't keep client alive. 2015-11-30 08:08:32 +11:00
UnknownShadow200
0503a418a0 Update SharpWave to latest version, use WinMM for audio output on windows. 2015-11-28 09:40:59 +11:00
UnknownShadow200
bb6dfcb678 Play step sounds. 2015-11-28 08:54:43 +11:00
UnknownShadow200
4d7ca25459 Add partially working dig sounds. 2015-11-27 22:38:43 +11:00
UnknownShadow200
f864d0e527 Add somewhat working music support. 2015-11-27 18:01:32 +11:00
UnknownShadow200
04c47d493d Setup framework for AudioManager class. 2015-11-27 07:33:56 +11:00