603 Commits

Author SHA1 Message Date
William Moorehouse
c066e998d2 Fixed crash when phantom texture pack entry was selected, added vanilla texture bio 2015-06-18 14:28:21 -04:00
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
Drew DeVault
8d16467ac0 Move near plane to 0.5f 2015-06-18 13:07:36 -04:00
Drew DeVault
64f3d2e774 Merge pull request #134 from mrpimpunicorn/master
Rebased rendering enhancements and a bug fix
2015-06-18 12:54:10 -04:00
Drew DeVault
ce4d662e67 Replace workaround with better solution
Thanks @mlehmk
2015-06-18 12:53:24 -04:00
William Moorehouse
aaddec8951 Rebased rendering enhancements and a bug fix 2015-06-18 12:45:00 -04:00
Drew DeVault
73869d7123 Fix client targets 2015-06-18 12:29:49 -04:00
Drew DeVault
bebaed2b5b Load MonoGame.Framework manually at runtime
This lets us have one build that will in theory work on Windows and
Linux.
2015-06-18 12:23:27 -04:00
Drew DeVault
c91dff52a9 Run client Main in an STA thread manually 2015-06-18 12:20:15 -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
Drew DeVault
6d56fc7011 Move to Any CPU builds 2015-06-18 08:51:37 -06:00
Drew DeVault
ca53efc077 Merge pull request #130 from Mitch528/master
Move Linux/Windows references to targets file
2015-06-18 10:15:32 -04:00
William Moorehouse
ba63e7d234 Added support for translucent rendering 2015-06-18 08:29:51 -04:00
William Moorehouse
72e632a071 Fixed Z-fighting with transparent objects, for now 2015-06-17 21:47:34 -04:00
William Moorehouse
6a1dce540a Set near clipping plane distance to 1.0 2015-06-17 20:50:56 -04:00
William Moorehouse
341093384d Initial work on improving rendering; separated threading from mesh generation 2015-06-17 19:23:24 -04:00
Mitchell Kutchuk
6bf10feb41 Fixed merge conflicts 2015-06-17 12:37:55 -07:00
Drew DeVault
f5f0958bf1 Merge pull request #131 from mrpimpunicorn/resolution-options
Added support for changing preferred resolution in options
2015-06-17 15:09:40 -04:00
William Moorehouse
d5224f72c9 Added more resolution options and fullscreen support 2015-06-17 15:03:06 -04:00
William Moorehouse
9ad14273a4 Changed resolution setting to a dropdown 2015-06-17 14:23:46 -04:00
William Moorehouse
5c3c035019 Fixes for client crashing when not run through the launcher 2015-06-17 13:24:39 -04:00
Drew DeVault
6181b572c9 Merge pull request #129 from mrpimpunicorn/master
Finished texture pack support
2015-06-17 11:13:25 -04:00
Mitchell Kutchuk
63d538e98d Move Linux/Windows references to targets file
MonoDevelop keeps breaking the build on Windows
(8848697656fdbc77eb0a8bd806ad69c19a42b419). Moving the references to a
separate file should prevent this from happening again.
2015-06-17 07:44:31 -07:00
William Moorehouse
9538d1321a Added support for changing preferred resolution 2015-06-17 10:02:06 -04:00
William Moorehouse
ab521f0357 Moved texture pack description into same text field as its name 2015-06-17 09:29:10 -04:00
William Moorehouse
1e0827a93e Fixed an issue where Windows-style newlines at the end of pack.txt would cause display issues 2015-06-17 09:22:29 -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
William Moorehouse
9c982b6083 Fixed building on Windows 2015-06-17 08:06:17 -04:00
Drew DeVault
8848697656 Fix font loader on case sensitive filesystems 2015-06-16 22:22:40 -06:00
William Moorehouse
2ae26f1519 More fixes 2015-06-16 22:17:30 -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
ef5c6b7861 Moved texture pack loading directory and Default.zip 2015-06-16 22:17:30 -06:00
William Moorehouse
0159b1ba05 Removed texture pack extraction from launcher 2015-06-16 22:17:30 -06:00
William Moorehouse
20dbaa087a Moved new UserSettings to TrueCraft.Core 2015-06-16 22:17:30 -06:00
William Moorehouse
31da1e4f7d Added basic support for texture packs 2015-06-16 22:17:30 -06:00
Drew DeVault
65b1626e26 Merge pull request #127 from mrpimpunicorn/master
Refactored and expanded Mesh class
2015-06-16 15:24:15 -06:00
William Moorehouse
3272056b8f Refactored and expanded Mesh 2015-06-16 15:53:28 -04:00
Drew DeVault
bd8f649264 Merge pull request #126 from mrpimpunicorn/master
Added event-driven keyboard encapsulation
2015-06-14 10:43:35 -06:00
William Moorehouse
8ba0b6a5ca Overrided Dispose() in TrueCraftGame to dispose of game components 2015-06-14 12:36:38 -04:00
William Moorehouse
18c49adaf3 Polished code and added comments 2015-06-14 11:33:18 -04:00
William Moorehouse
1fb795161d Added event-driven keyboard encapsulation 2015-06-14 11:24:37 -04:00
Drew DeVault
e41bf50f59 Merge pull request #125 from mrpimpunicorn/master
Added event-driven mouse encapsulation.
2015-06-13 22:31:19 -06:00
William Moorehouse
a92d7e5828 Fixed typo. 2015-06-13 19:35:51 -04:00
William Moorehouse
9388ec3a69 Added event-driven mouse encapsulation 2015-06-13 19:17:06 -04:00
Drew DeVault
29c07a1db2 Merge pull request #124 from mrpimpunicorn/master
Added more functionality to FontRenderer
2015-06-13 14:43:53 -06:00
William Moorehouse
56ac35352c Added more functionality to FontRenderer 2015-06-13 15:46:29 -04:00