148 Commits

Author SHA1 Message Date
timokoesters
019ce11d5d
Move from state components to single CharaterState struct
This makes split animations easy and improves overall code quality
2019-08-26 13:12:34 +02:00
Joshua Yanovski
608685ef36 Fixes to worldgen and adding a debug command.
Humidity and temperature are now indexed to uniform altitude *over land
chunks* (and water chunks adjacent to land) rather than over the whole
range of altitude.  This is necessary in order to satisfy the uniformity
conditions of the formula for weighted sum CDF.

Additionally, fixes the computation of whether a tree should be
generated or not.  Previously, it was using a source of randomness
scaled to use much less than the full 0-1 range; this has been resolved.
This makes for much nicer and more gradual transitions between densities
and reduces the amount of completely barren landscapes, while also
making forests larger.

Finally, this commit adds a server command, debug_column, which returns
some useful debug information about a column given an x and y
coordinate.  This is useful for debugging worldgen.
2019-08-26 11:52:25 +02:00
Acrimon
724d6dffb4 Disabled unsafe using lint level. 2019-08-19 14:39:23 +02:00
Acrimon
7c8487ed76 Finished switch to hashbrown. 2019-08-11 22:38:28 +02:00
Acrimon
9c0a6caafb Migrate client to hashbrown. 2019-08-11 21:54:20 +02:00
telastrus
35c89a5aaf fixed the silent kick, made it actually proper 2019-08-08 17:58:36 -04:00
telastrus
62df0d3503 actually removed printlns 2019-08-08 12:09:14 -04:00
telastrus
7e4e132307 ran cargo fmt 2019-08-08 12:05:38 -04:00
telastrus
12a3258ee2 auth done, no popup yet 2019-08-08 12:01:15 -04:00
telastrus
2f7648b9a6 90% there 2019-08-08 11:23:58 -04:00
telastrus
608deba238 still compiles 2019-08-07 23:56:02 -04:00
telastrus
74b42160ee laying the groundwork 2019-08-07 15:42:44 -04:00
Piotr Korgól
9637bb89aa Change the version number to 0.3 2019-08-04 13:53:59 +02:00
Dominik Broński
48a4377bf8 Revert "Merge branch 'imbris/upgrade_specs' into 'master'"
This reverts merge request !375
2019-08-01 23:32:33 +00:00
Imbris
bafea1884f Upgrade specs to 0.15 2019-08-01 18:09:13 -04:00
Joshua Barretto
ac16ee945f Added entity pickup, changed item model 2019-08-01 09:12:00 +01:00
Joshua Barretto
ae1eaabcaa Added better item manipulation 2019-08-01 09:09:26 +01:00
Joshua Barretto
757f96ea4a Started work on inventory manipulation 2019-08-01 09:09:26 +01:00
Joshua Barretto
13aaacad82 Fixed block-hopping on edges, added correct inventory slots 2019-08-01 09:09:26 +01:00
Joshua Barretto
5dea179846 Added inventory sync messages and InventoryUpdate component 2019-08-01 09:09:26 +01:00
timokoesters
6d47e1fd43 Send different physics components individually 2019-07-30 13:35:16 +02:00
Acrimon
bc3abdedac Update rand, log and scan_fmt 2019-07-29 13:42:26 +00:00
timokoesters
e58a14a340
Update most dependencies 2019-07-28 22:47:23 +02:00
tommy
84bfa73d26 Added private, broadcast, and game_state messages 2019-07-26 07:29:37 -04:00
tommy
dc28070640 Adds colour to tells in chat box #194 2019-07-26 07:29:37 -04:00
Nero
940ef92318 Nero/light offsets 2019-07-25 20:51:20 +00:00
Joshua Barretto
6a025de031 Added object entities 2019-07-21 19:22:49 +01:00
Songtronix
b2f1a843cc add global git hash constant 2019-07-21 17:45:31 +00:00
Joshua Barretto
cdf35598e2 Send block diffs instead of entire chunks on block change 2019-07-20 16:41:03 +01:00
Songtronix
3e18da0560 Mark InvalidAlias Message as to be done 2019-07-17 18:32:01 +02:00
Songtronix
accaa22dee generalise errors based on zests suggestion 2019-07-17 18:32:01 +02:00
Songtronix
e0de110751 add configurable max player count 2019-07-17 18:32:01 +02:00
Acrimon
5e37f07a1f Resolve Forests discussion. 2019-07-12 20:13:35 +02:00
Acrimon
c3be2f6e62 Resolve discussion from Timo. 2019-07-12 19:56:40 +02:00
Acrimon
36e8bb67db Resolved discussion from imbris. 2019-07-12 19:35:11 +02:00
Acrimon
9ddacc5b82 Fixed some misses. 2019-07-12 20:51:22 +02:00
Piotr Korgól
55c95cc0ed Add CanBuild component, Block placing client messages and build mode command 2019-07-03 21:28:07 +02:00
timokoesters
37ddea61c5
Fix clippy suggestions 2019-07-02 21:00:57 +02:00
timokoesters
b520b8d0e2
Remove warnings from client 2019-07-02 20:56:29 +02:00
timokoesters
5bdea1558a
Fix npc and death bug 2019-06-29 22:43:44 +02:00
timokoesters
c8fadc38f8
Fix double roll bug 2019-06-29 19:49:51 +02:00
timokoesters
f93eaa7dbb
Remove animation syncing (does not fix any known bug) 2019-06-29 17:09:38 +02:00
Imbris
bd057e360a circular view distance 2019-06-23 15:49:15 -04:00
timokoesters
d7b90920c3
Don't try to compensate bad states 2019-06-17 20:10:47 +02:00
timokoesters
1fbb429dbd
Fix join problems 2019-06-17 19:52:06 +02:00
timokoesters
f2d5faab8f
Don't sync animations, just sync components used to construct them 2019-06-16 19:59:15 +02:00
timokoesters
80e95e2e6c
Add pub use phys:: and remove most pub mods 2019-06-16 19:59:12 +02:00
timokoesters
f5a2dcb98e
Revamp control system 2019-06-16 19:57:03 +02:00
Joshua Barretto
226ac08ee3 Adjusted tree colour variation 2019-06-15 11:36:26 +01:00
Joshua Barretto
2cb57b9456 Merged stumps, adjusted scale code 2019-06-13 11:59:05 +01:00