477 Commits

Author SHA1 Message Date
Drew DeVault
f3fc43fbf9 Implement biome coloring for grass/vegitation/etc
Fixes #147
2015-06-19 17:36:39 -04:00
Drew DeVault
0775244adf Update README 2015-06-19 12:21:56 -04:00
Drew DeVault
4596fef1a8 Change hue of ice texture slightly 2015-06-19 11:58:03 -04:00
Drew DeVault
12a5483d3b Add vegitation renderer
This replaces TallGrassRenderer and adds support for flowers.

This should be used going forward for any plants that can be rendered as
an x-quad.
2015-06-19 11:53:08 -04:00
Drew DeVault
76d0af7e36 Move GraphicsDevice references to main thread 2015-06-19 01:11:14 -04:00
Drew DeVault
5c52b7634e Remove references to GraphicsDevice on workers 2015-06-19 00:58:30 -04:00
Drew DeVault
633ce1dec4 Merge pull request #145 from mrpimpunicorn/master
Proper disposal of ChunkRenderer
2015-06-18 21:59:31 -04:00
William Moorehouse
596311101a Proper disposal of ChunkRenderer 2015-06-18 21:55:35 -04:00
Drew DeVault
fa26b1a5d7 Or we could not do that 2015-06-18 21:29:36 -04:00
Drew DeVault
9c29f845ae Load textures through PngReader
Instead of Texture2D.FromStream.

Fixes the purple water bug (fixes #138)
2015-06-18 21:04:03 -04:00
Drew DeVault
e7fd0c5cd2 Change how LastAccessed is used with chunks 2015-06-18 19:13:41 -04:00
Drew DeVault
82bdc9df49 Merge pull request #140 from mrpimpunicorn/master
Fixed building on Windows
2015-06-18 17:54:49 -04:00
William Moorehouse
7046a0f53c 💤 2015-06-18 17:51:47 -04:00
William Moorehouse
833c102725 Fixed duplicates 2015-06-18 17:45:27 -04:00
William Moorehouse
fc7f52b619 Slight optimization thanks to @UnknownShadow200 2015-06-18 17:35:44 -04:00
William Moorehouse
33bf6b2a0b Fixed building on Windows 2015-06-18 17:23:50 -04:00
Drew DeVault
31247946e0 Remove broken custom commands 2015-06-18 16:58:13 -04:00
Drew DeVault
94fc3b08b8 Fix up Launcher post build events
You can't run multiple commands.
2015-06-18 16:56:42 -04:00
Drew DeVault
9bd1db8317 Fix monodevelop stupidity 2015-06-18 16:39:20 -04:00
Drew DeVault
2f37defba1 Add truecraft launcher script for Unix systems 2015-06-18 16:15:13 -04:00
Drew DeVault
1a04429974 Add README-dist.txt
@blha303, can you add this to the root of the zip file as "README.txt"
during the build?
2015-06-18 15:45:25 -04:00
Drew DeVault
561ce2dd72 Merge pull request #136 from mrpimpunicorn/master
Fixed crash when phantom texture pack entry was selected
2015-06-18 15:10:05 -04:00
William Moorehouse
aa55f2c97f Reverted string changes 2015-06-18 14:33:04 -04:00
Drew DeVault
8b4c3974fb Update screenshot for README
Pomf is kill
2015-06-18 14:31:19 -04:00
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