75 Commits

Author SHA1 Message Date
Drew DeVault
e1114ccda8 Fix up nunit tests + travis 2016-07-04 15:02:59 -04:00
Drew DeVault
e5aaf73d12 Implement sun & moon 2016-04-20 20:54:00 -04:00
Drew DeVault
b16e83a497 Drop Tao.Sdl.config 2016-03-17 19:31:33 -04:00
Drew DeVault
354b6e5067 Add DLL configs for Tao.Sdl and OpenTK 2016-03-17 19:15:12 -04:00
Drew DeVault
21dcfbd978 Upgrade to MonoGame 3.5, drop platform hacks
Thanks @cra0zy, that was easy
2016-03-17 18:58:25 -04:00
William Moorehouse
f90d3717c0 Added base block face brightness modifier 2015-11-07 17:23:46 -05:00
Drew DeVault
3550bcb1a1 Add item rendering for inventory 2015-10-08 18:32:34 -04:00
Drew DeVault
be8649447a Initial pass on rendering inventory window 2015-10-08 08:41:43 -04:00
Drew DeVault
facf8ce2c6 Send players their health on log in
Health is already being saved to disk with their NBT file, so this just
involves sending it to them when they log in.
2015-10-08 08:19:15 -04:00
Drew DeVault
6942786b32 [Client] Add player health to HUD 2015-10-08 08:06:37 -04:00
Drew DeVault
3da7d25a3d Rewrite chat interface 2015-10-07 08:36:43 -04:00
Drew DeVault
a361703746 Implement walking sounds
These sounds change depending on what kind of block you're walking in.

Still to come: sound effects for mining and placing blocks
2015-10-05 22:06:59 -04:00
Drew DeVault
8f6e577550 Initial pass on sound effects on client
Broken due to MonoGame problems
2015-10-04 10:06:44 -04:00
Drew DeVault
578c5af3b9 Add gamepad support 2015-10-01 08:46:09 -04:00
Drew DeVault
75a39118a9 Add numbers to slots on inventory 2015-09-30 20:03:51 -04:00
Drew DeVault
8d8da15f5a Decode and store inventory updates from server 2015-09-30 08:36:30 -04:00
Drew DeVault
9fb289f3a7 Add cactus renderer
Unlike Minecraft, however, our cactus has no bottom face. Who cares.
2015-09-27 23:36:40 -04:00
Drew DeVault
2eaaf219a8 Fix torch rendering, track the highlighted face
The second bit will allow the client to start doing things like placing
blocks.
2015-09-27 21:00:32 -04:00
Drew DeVault
02146108ba Fix highlighted block, add crosshairs 2015-09-27 17:14:04 -04:00
Drew DeVault
b85f4fe4f5 Add gui.png 2015-09-25 08:51:20 -04:00
Drew DeVault
49fb3435da Remove deprecated interfaces
Note that these are not fully replaced by modules yet.
2015-09-24 22:38:32 -04:00
Drew DeVault
3722468d01 Create DebugInfoModule
Provides F2 debugging info
2015-09-24 22:28:44 -04:00
Drew DeVault
8fe7329135 Start moving client towards a more refined design
I'm splitting up core pieces of functionality into several smaller
modules. TrueCraftGame will be made smaller and smaller until it's just
a small wrapper around the modules doing all of the work. This should
allow for modders to easily add new modules or replace builtin modules,
and will make the codebase more maintainable in general.
2015-09-24 21:20:36 -04:00
Drew DeVault
8f2a4e54a9 Add highlighted block model and VoxelCast class 2015-09-24 08:28:16 -04:00
Drew DeVault
8819ccf27e Fix issues with client physics, implement jumping
Still a bit janky with jumping.

Fixes #146
2015-09-20 17:45:27 -04:00
Drew DeVault
2d0ce96cc0 Avoid rendering unseen blocks at chunk boundaries 2015-09-20 15:49:31 -04:00
Drew DeVault
79e95e2083 Improve performance, fix grass issue 2015-09-07 17:25:14 -04:00
William Moorehouse
8bc3090d69 Refactored game interface a bit, misc features 2015-06-23 15:49:21 -04:00
William Moorehouse
c6952d6cca Added slab renderer 2015-06-22 11:34:29 -04:00
William Moorehouse
85bbe6314d Added cobweb renderer 2015-06-22 11:34:29 -04: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
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
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
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
6d56fc7011 Move to Any CPU builds 2015-06-18 08:51:37 -06: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
William Moorehouse
5c3c035019 Fixes for client crashing when not run through the launcher 2015-06-17 13:24:39 -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
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
1fb795161d Added event-driven keyboard encapsulation 2015-06-14 11:24:37 -04:00
William Moorehouse
9388ec3a69 Added event-driven mouse encapsulation 2015-06-13 19:17:06 -04:00