670 Commits

Author SHA1 Message Date
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
Drew DeVault
483cc7b763 Finish grass growth implementation 2015-07-16 05:54:35 -06:00
Drew DeVault
f927f86d43 Raise PathComplete event from IMobEntity
...when the current path is completed
2015-07-15 20:25:01 -06:00
Drew DeVault
19e52bda45 Implement flint & steel behavior
Ref #12
2015-07-14 15:38:06 -06:00
Drew DeVault
a38b20b1c5 Merge pull request #187 from zevipa/master
Changed the /trash command so you can now easily clear your hotbar and/or your entire inventory.
2015-07-08 10:28:57 -06:00
Skyler Riske
394d3eca92 Added options to clear hotbar and entire inventory to the /trash command. 2015-07-07 16:52:22 -07:00
Drew DeVault
1f0c1a6481 Fix error with chunk height map updates
Ref #185
2015-07-07 14:54:08 -06:00
Drew DeVault
f7bd7a109d Optimize event scheduling when loading chunks 2015-07-07 00:49:54 -06:00
Drew DeVault
a476e04e32 Reduce time spent on chunk loading
Not sure why this is so slow. Will find out at some point.
2015-07-07 00:32:10 -06:00
Drew DeVault
d27882cdec Add grass growth 2015-07-06 21:07:40 -06:00
Drew DeVault
940b2217c1 Add mechanism for scheduling updates on chunk load 2015-07-06 20:41:25 -06:00
Drew DeVault
312c2edf3d Merge pull request #184 from Dizigma/master
Stopped players from placing blocks on their heads
2015-07-06 20:18:15 -06:00
Dizigma
6a8cd691a6 Increased range for entities to solve this, instead of checking the client bounding box 2015-07-06 19:57:08 -06:00
Drew DeVault
ec079f4dfa Fix some issues with physics simulation 2015-07-06 19:47:29 -06:00
Drew DeVault
75f8f8fc32 Make World.FindBlockPosition thread safe 2015-07-06 19:47:20 -06:00
Drew DeVault
ed7a14b871 Rewrite physics engine
This time it sucks slightly less
2015-07-06 19:30:51 -06:00