77 Commits

Author SHA1 Message Date
Drew DeVault
386d8f7328 Add option to download Mojang assets
Also fixes a bug with texture pack loading in the client.

Note: we cannot distribute Mojang assets, but some players might want to
use them. To that end, the launcher now has a button that allows the
user to download them him or herself. Since we download them directly
from Mojang, we're be good to go.
2015-06-18 13:59:03 -04:00
William Moorehouse
df927e6c0f Fixed a crash in singleplayer when attempting to render a chunk with no transparent blocks in it 2015-06-18 11:43:20 -04:00
William Moorehouse
72e632a071 Fixed Z-fighting with transparent objects, for now 2015-06-17 21:47:34 -04:00
William Moorehouse
341093384d Initial work on improving rendering; separated threading from mesh generation 2015-06-17 19:23:24 -04:00
William Moorehouse
5c3c035019 Fixes for client crashing when not run through the launcher 2015-06-17 13:24:39 -04:00
William Moorehouse
a7d394ef19 Fixed exception in client when settings.json managed to refer to a non-existent or corrupt .zip 2015-06-17 09:17:26 -04:00
William Moorehouse
f15744b7a2 Finished cleaning up texture pack code 2015-06-17 09:10:42 -04:00
William Moorehouse
f66ab8a2be Expanded TextureMapper 2015-06-17 08:17:25 -04:00
William Moorehouse
7b5b8ee6e4 Removed obsolete code 2015-06-17 08:07:01 -04:00
Drew DeVault
8848697656 Fix font loader on case sensitive filesystems 2015-06-16 22:22:40 -06:00
William Moorehouse
3c2bb1a225 Fixed known issues with texture pack loading 2015-06-16 22:17:30 -06:00
William Moorehouse
b799809d74 Now load terrain.png from current texture pack 2015-06-16 22:17:30 -06:00
William Moorehouse
3272056b8f Refactored and expanded Mesh 2015-06-16 15:53:28 -04:00
William Moorehouse
56ac35352c Added more functionality to FontRenderer 2015-06-13 15:46:29 -04:00
William Moorehouse
de1ffa26b6 Moved camera logic into its own class 2015-06-12 17:10:28 -04:00
Drew DeVault
a8307ae28e Add sugar cane rendering 2015-06-03 21:36:21 -06:00
Drew DeVault
f198f0322f Add ladder renderer 2015-06-03 21:09:37 -06:00
Drew DeVault
0ae063456f Add common renderer for quad-based blocks
This also includes a derivative renderer for tall grass.
2015-06-03 18:42:26 -06:00
Drew DeVault
2994b7c65e Fix cross-thread voliations in chunk rendering 2015-06-03 16:12:43 -06:00
Drew DeVault
021261e6fa Add support for various wood/leaves types 2015-06-03 15:22:33 -06:00
Drew DeVault
71ec7a7399 Ensure last block of each chunk is rendered 2015-05-30 14:14:35 -06:00
Drew DeVault
324e2d4c96 Basic support for re-rendering chunks on change 2015-05-29 18:20:24 -06:00
Drew DeVault
f59652f09e Parallize chunk rendering 2015-05-29 16:00:35 -06:00
Drew DeVault
3d3709a14a Refactor mesh generation a bit 2015-05-29 15:46:44 -06:00
Mitchell Kutchuk
1c35eb3466 Do not use Thread.Abort
- Thread.Abort should be avoided as much as possible. Replaced it with a
CancellationToken instead.
- Mesh now implements IDisposable
2015-05-25 08:05:38 -07:00
Drew DeVault
b308252b88 Improve use of concurrent .NET patterns 2015-05-17 16:52:16 -06:00
Drew DeVault
df566e6d76 TrueCraft.Client.Linux -> TrueCraft.Client 2015-05-16 21:50:10 -06:00