331 Commits

Author SHA1 Message Date
soruh
94beb0fa33 Mitgated RUSTSEC-2019-0014 by updating noise and
disabling its default features, specifically `image`,
which had the vulnerability.
2019-11-05 11:14:39 +00:00
soruh
352694eecd update toolchain to nightly-2019-11-04 2019-11-04 18:26:32 +01:00
Joshua Yanovski
663d535bd9 Allow canceling chunk generation.
Currently we only do this when no players are in range of the chunk.  We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.

We now check an atomic flag for every column sample in a chunk.  We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00
KyoZM
7f24391187 format code 2019-10-10 21:00:19 -03:00
KyoZM
dbca8e3b09 refactor code to be smaller and clearer 2019-10-10 20:53:13 -03:00
KyoZM
e8d8179899 remove unecessary comments 2019-10-10 20:53:13 -03:00
KyoZM
703ea57f6a load structures from ron files / transfer static structure lists to ron files 2019-10-10 20:53:13 -03:00
Marcel Märtens
5e0d7081ba Change the version number to 0.4 2019-10-10 15:48:01 +02:00
Joshua Barretto
0d1542100b Balanced chest spawning 2019-10-10 10:11:46 +01:00
Monty Marz
42a3ebeb21 Item icons, chests and more 2019-10-09 19:28:05 +00:00
Joshua Barretto
6c8c512f60 Proper tree colour variation 2019-10-07 09:05:18 +01:00
Joshua Barretto
6839a8b0c6 Better grass colours, made flora more common 2019-10-07 08:49:02 +01:00
Forest
add6d77491 Removed now stable feature 2019-10-03 17:28:17 -04:00
Forest Anderson
16c2bdf089 Removed trailing semicolon 2019-10-03 17:19:22 -04:00
Acrimon
cbf1267e97 Update fast_noise.rs 2019-10-03 17:19:22 -04:00
Acrimon
99005c1d30 Update lib.rs 2019-10-03 17:19:22 -04:00
Acrimon
7600cd0b2b Update lib.rs 2019-10-03 17:19:22 -04:00
Joshua Barretto
760daa551f Fixed cold near oceans, faster meshing 2019-09-27 12:46:20 +01:00
Joshua Barretto
6bf68e77e2 Resolved warnings 2019-09-26 13:34:15 +01:00
Joshua Barretto
35d6eeb491 Fixed cliff generation layer bug 2019-09-26 12:19:21 +01:00
Joshua Barretto
d473a00957 Prevented pickups with full inventory 2019-09-26 00:15:07 +01:00
Joshua Barretto
ab639a151c Made velorite rarer 2019-09-26 00:15:07 +01:00
Joshua Barretto
04de98286e Added velorite 2019-09-26 00:15:07 +01:00
Joshua Barretto
d14c9ca1bb Added apple and mushroom collection 2019-09-26 00:15:07 +01:00
Joshua Barretto
11950f475f Fixed shadow distance culling 2019-09-26 00:15:07 +01:00
Joshua Barretto
23264db3bc Added entity shadows 2019-09-26 00:15:07 +01:00
Joshua Barretto
8d9e29e13b Resolved warnings 2019-09-26 00:15:07 +01:00
Joshua Barretto
84c89e8652 Grounded houses more 2019-09-26 00:15:07 +01:00
Joshua Barretto
7cb6b8429c Shorter houses 2019-09-26 00:15:07 +01:00
Joshua Barretto
ff4f5d3082 Better hills 2019-09-26 00:15:07 +01:00
Joshua Barretto
82dbfefa16 Adjusted cliff height on mountains 2019-09-26 00:15:07 +01:00
Joshua Barretto
89bd405f5e Faster meshing, better AO, colour correction 2019-09-26 00:15:07 +01:00
Joshua Barretto
82708799a3 Better colour correction 2019-09-26 00:15:07 +01:00
Joshua Barretto
61903f80e1 Prevented bounds mis-prediction 2019-09-26 00:15:07 +01:00
Joshua Barretto
38e59c41ad Prevented towns in oceans 2019-09-26 00:15:07 +01:00
Joshua Barretto
e543531a94 Applied water layer after structures layer 2019-09-26 00:15:07 +01:00
Joshua Barretto
6cbc45ebd3 Better warp noise 2019-09-26 00:15:07 +01:00
Joshua Barretto
648b716921 Added wells 2019-09-26 00:15:07 +01:00
Joshua Barretto
39ef2572a5 Worldgen colour tweaks, better buildings, better warping 2019-09-26 00:15:07 +01:00
Joshua Barretto
800d9b5eea Fixed cut-off cliff, optimised structure generation 2019-09-23 16:20:28 +01:00
Joshua Barretto
04911cba05 Improved SmallCache 2019-09-23 15:17:06 +01:00
Imbris
1e7d4468c5 Small cache experiments 2019-09-22 22:19:07 -04:00
Imbris
2d325c36a3 Simplify lerping and use smoothstep interpolation instead of cosine 2019-09-21 19:46:27 -04:00
Acrimon
0dba741373 Drastically faster diffuse 2019-09-21 17:40:27 +00:00
Joshua Barretto
e2365b4c32 Merge branch 'xacrimon/rng-init-noise' into 'master'
Update some deps, fix hashbrown not compiling and rework the ad-hoc PRNG for RandomField.

See merge request veloren/veloren!500
2019-09-20 06:13:48 +00:00
Acrimon
5e5a0ecfbc Formatted code. 2019-09-17 20:35:53 +02:00
Acrimon
b4191ca407 Fixed rng stuff. 2019-09-17 16:56:23 +02:00
Acrimon
da6bb2dc9c Fixed compile errors. 2019-09-17 16:12:17 +02:00
Acrimon
6bed77456f Added some reasoning. 2019-09-17 16:07:24 +02:00
Acrimon
46bf09662b Made the worldgen noise generators seed from the RNG and got rid of zerocopy. 2019-09-17 16:05:08 +02:00