Drew DeVault
ed7a14b871
Rewrite physics engine
...
This time it sucks slightly less
2015-07-06 19:30:51 -06:00
Garrison Taylor
dbded3785a
Add Mac support
2015-07-03 01:53:55 -04:00
Garrison Taylor
00193f075d
Add Mac support
2015-07-03 01:53:16 -04:00
Drew DeVault
8b1930eeac
Switch to DateTime.UtcNow for everything
2015-07-02 12:14:55 -06:00
Mitchell Kutchuk
0f715dad15
Networking fixes
...
- Fixed incorrect disconnection check
- Close the socket after disconnection
- Catch OperationCancelledException
2015-06-26 07:52:29 -07:00
manio143
3719f68359
Fixed sending DisconnectPacket before client exit
2015-06-24 21:20:16 +02:00
William Moorehouse
018ed44ca0
Tweaked scaling, disabled smoothing of UI when scaled
2015-06-23 19:39:06 -04:00
Drew DeVault
617827a5d8
Fix screenshots on Linux
2015-06-23 15:56:48 -06:00
Drew DeVault
df4ed8ce9f
Add sapling renderer and more debug commands
2015-06-23 15:40:52 -06:00
Drew DeVault
9d01f77625
Some improvements to chunk rendering
...
- Spreads work out on multiple cores again
- Takes as many pending chunks as we can during updates
2015-06-23 15:10:35 -06:00
Drew DeVault
2821b6406d
Add text shadows and tweak chat
2015-06-23 15:02:09 -06:00
William Moorehouse
5c439e287f
Fixed key presses going through the chat interface while disabled
2015-06-23 16:00:21 -04:00
William Moorehouse
8bc3090d69
Refactored game interface a bit, misc features
2015-06-23 15:49:21 -04:00
William Moorehouse
94285c2bf7
Added (more) chat support
2015-06-23 12:59:24 -04:00
William Moorehouse
50c7e021a7
Added rendering support for moist farmland
2015-06-22 18:34:34 -04:00
Drew DeVault
025dc3770e
Generate empty chunks in client
2015-06-22 11:34:30 -04:00
William Moorehouse
a2f9003dad
Fixed cobble and stone textures being mixed up
2015-06-22 11:34:30 -04:00
William Moorehouse
555a8471d0
Don't crash when block values are invalid
2015-06-22 11:34:30 -04:00
William Moorehouse
3e821b6b27
Implemented static texture maps
2015-06-22 11:34:30 -04:00
William Moorehouse
c6952d6cca
Added slab renderer
2015-06-22 11:34:29 -04:00
William Moorehouse
2da59178f0
Simplified cobweb renderer
2015-06-22 11:34:29 -04:00
William Moorehouse
85bbe6314d
Added cobweb renderer
2015-06-22 11:34:29 -04:00
William Moorehouse
15b6f7b2ab
Fixed build failure (on Windows?) due to unimplemented virtual property
2015-06-22 11:34:29 -04:00
William Moorehouse
c2f5026f41
Fixed issue where the client continued to reset the mouse position after losing focus
2015-06-22 11:34:29 -04:00
Mitchell Kutchuk
2391d16968
Close socket after DisconnectPacket has been sent
2015-06-22 08:26:39 -07:00
Mitchell Kutchuk
e086066d9f
Style convention fixes
2015-06-22 08:22:36 -07:00
Mitchell Kutchuk
2dd36b28ec
Fix merge conflict
2015-06-20 19:44:58 -07:00
Mitchell Kutchuk
4225124546
Implement asynchronous sockets
2015-06-20 19:43:28 -07:00
Drew DeVault
8697994737
Add wheat and farmland renderers
2015-06-20 13:56:57 -04:00
Drew DeVault
939a6dc79c
Render snow variation of grass blocks
...
This also increases the average rainfall everywhere so that fucking
deserts are less common
2015-06-20 11:01:07 -04:00
Drew DeVault
f3fc43fbf9
Implement biome coloring for grass/vegitation/etc
...
Fixes #147
2015-06-19 17:36:39 -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
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
William Moorehouse
7046a0f53c
💤
2015-06-18 17:51:47 -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
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