685 Commits

Author SHA1 Message Date
Drew DeVault
d238e12f56 Simplify camera positioning 2015-09-27 17:18:49 -04:00
Drew DeVault
02146108ba Fix highlighted block, add crosshairs 2015-09-27 17:14:04 -04:00
Drew DeVault
6066db0bd7 Copy all textures when downloading official assets 2015-09-27 14:39:40 -04:00
Drew DeVault
b85f4fe4f5 Add gui.png 2015-09-25 08:51:20 -04:00
Drew DeVault
b699ad0ab6 Debug info is summoned with F3, not F2 2015-09-24 22:41:48 -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
915937dbd4 Calculate highlighted block in UpdateCamera
Feels a bit buggy, but will refine over time
2015-09-24 08:45:24 -04:00
Drew DeVault
8f2a4e54a9 Add highlighted block model and VoxelCast class 2015-09-24 08:28:16 -04:00
Drew DeVault
1123b80dc8 Merge pull request #200 from bilgorajskim/master
Fixed crash when backspace was pressed in an empty chat message field
2015-09-23 08:09:31 -04:00
bilgorajskim
b9741676a6 Fixed crash when backspace was pressed in an empty chat message field 2015-09-23 12:23:08 +02:00
Drew DeVault
9c10e8f769 Merge pull request #199 from mrpimpunicorn/master
Converted logo to PNG
2015-09-22 15:07:55 -04:00
William Moorehouse
0a85d18e08 Converted logo to PNG 2015-09-22 15:03:20 -04:00
Drew DeVault
b397d998d5 Merge pull request #198 from mrpimpunicorn/master
Removed some code redundancy
2015-09-22 14:43:57 -04:00
William Moorehouse
29644e2be5 Camera effects implement IEffectMatrices 2015-09-22 14:32:36 -04:00
Drew DeVault
1ac7413c1f Make view bobbing more subtle 2015-09-22 08:44:52 -04:00
Drew DeVault
199dff5362 Adjust client camera a bit
This centers the camera on your bounding box and adjusts the near plane
so that you can't walk up to blocks and see inside of them.
2015-09-21 17:51:19 -04:00
Drew DeVault
0b9a3c34d1 Change gravity for a few entities to 1.98 m/s^2 2015-09-21 08:38:29 -04:00
Drew DeVault
15670c3d77 Reduce mouse sensitivity, fix return to launcher
The mouse sensitivity is now more Minecrafty by default (will eventualy
want to make this configurable) and the bug where the launcher won't
re-open after exiting singleplayer is fixed.
2015-09-21 08:16:44 -04:00
Drew DeVault
b7e75a93a5 Add head bobbing as you move 2015-09-20 18:11:02 -04:00
Drew DeVault
6956500ef1 Fix oversight on x/z collisions 2015-09-20 17:57:07 -04:00
Drew DeVault
b635feb30b Fix issues with client jumping 2015-09-20 17:55:57 -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
35bac852e6 Make block renderers aware of visible faces
This doesn't work entirely right, so it's disabled for the most part.
2015-09-20 16:34:06 -04:00
Drew DeVault
2d0ce96cc0 Avoid rendering unseen blocks at chunk boundaries 2015-09-20 15:49:31 -04:00
Drew DeVault
94b8e2e355 Merge pull request #195 from StianTheDark/master
Oops! I set the wrong cactus growth speed.
2015-09-08 09:04:18 -04:00
Stian Furu Øverbye
dbfd70ba55 Oops! 2015-09-08 14:59:43 +02:00
blha303
585d2f640b Test commit 2015-09-08 20:16:01 +08:00
Drew DeVault
e6715e772b Remove code that nerfs scheduler 2015-09-07 21:35:37 -04:00
Drew DeVault
c50c322b24 Fix light changes through transparent sources
Ref #185
2015-09-07 21:23:05 -04:00
Drew DeVault
6969964b18 Implement FIRE 2015-09-07 19:14:12 -04:00
Drew DeVault
9995e5ed12 Merge pull request #193 from StianTheDark/master
Added cactus growth
2015-09-07 17:48:00 -04:00
Stian Furu Øverbye
f349487ee4 Added cactus growth 2015-09-07 23:42:13 +02:00
Drew DeVault
79e95e2083 Improve performance, fix grass issue 2015-09-07 17:25:14 -04:00
Drew DeVault
988d2077a2 Refine profiler, improve fluid performance
The fluid improvements reduce the number of scheduled updates queued
during terrain generation (they are not really very necessary).
2015-09-07 16:22:20 -04:00
Drew DeVault
08c313a651 Add names to events for profiling puproses 2015-09-07 16:13:18 -04:00
Drew DeVault
14661c7110 Add profiler, improve event scheduler performance 2015-09-07 16:07:39 -04:00
Drew DeVault
1429fce68d Add Wolf entity 2015-09-07 14:34:16 -04:00
Drew DeVault
b242b16e25 Add fosspay badge 2015-09-06 21:54:27 -04:00
Drew DeVault
7aee531210 Add new TrueCraft logo to launcher 2015-08-31 19:48:31 -04:00
Drew DeVault
046544e2ab Tweak readme 2015-08-31 11:01:40 -04:00
Drew DeVault
f27b7ea2bd Center logo for Github readme width 2015-08-31 11:00:49 -04:00
Drew DeVault
81f879d206 Add new TrueCraft logo 2015-08-31 10:59:15 -04:00
Drew DeVault
003f6e60f5 Merge pull request #190 from yankejustin/Performance
Performance
2015-08-07 15:05:04 -04:00
yankejustin
3830061005 Don't bother clearing the Dictionary
We disposed of the pairs' values. Just remove the reference and let the
garbage collector collect the rest. By calling clear, we are just
wasting our time "removing" the items that the garbage collector would
have to do anyways. Essentially this call just takes up time without
reason.
2015-08-07 14:38:09 -04:00
yankejustin
c4cc852d60 Ensure stream is disposed
Make sure that, even if an exception is thrown in between, that the
MemoryStream is disposed of by using a 'using' block.
2015-08-07 14:36:02 -04:00
yankejustin
1ba64128bb Dispose of old textures
If there were previously-stored fonts, dispose of them before creating
new fonts.
2015-08-07 14:11:33 -04:00
yankejustin
cf5d54b9da Optimize ray intersection calculation
Check to make sure the direction is not 0 only once. Also, check to make
sure it is 0 first so we don't unnecessarily calculate if the position
is greater-than or less-than another without purpose.
2015-08-07 13:58:58 -04:00
yankejustin
105b0f57d0 Reduced string concatenation
Reduce the amount of string concatenation when converting an ItemStack
to a string.
2015-08-07 13:49:15 -04:00