361 Commits

Author SHA1 Message Date
Joshua Yanovski
11ee4389dc Weight flux twice as much as beforein humidity calculation. 2020-01-23 18:18:13 +01:00
Joshua Yanovski
1ea8c1360b Adding many new types of geomorphic laws:
- soil production (currently disabled).
- debris flow erosion (combined with regular stream power law).
- flow computation using multiple receivers.
- filling strategy during drainage network calculations.

Also tweaks a variety of other aspects of erosion.
2020-01-23 18:18:12 +01:00
Joshua Yanovski
4f863470e1 Cargo fmt most things (except erosion.rs). 2020-01-23 18:18:12 +01:00
Joshua Yanovski
982b538a37 Gentler warp, especially for high chunk size. 2020-01-23 18:18:12 +01:00
Joshua Yanovski
0e88be716d Fix overflow issue with basement. 2020-01-23 18:18:12 +01:00
Joshua Yanovski
b5b017b4c6 Fix colors on map being transferred to client. 2020-01-23 18:18:11 +01:00
Joshua Yanovski
558a80f099 Fixes for nonstandard chunk and map sizes.
Also fixes a longstanding map rendering issue.
2020-01-23 18:18:11 +01:00
Joshua Yanovski
5439f432e9 Soil production should use ground, not basement, slope. 2020-01-23 18:18:11 +01:00
Joshua Yanovski
675ad06cfe Map saving, soil production, speedup attempts. 2020-01-23 18:18:10 +01:00
Pfauenauge90
793694ebf7 birches and "Acalok" Trees 2020-01-23 18:18:10 +01:00
Joshua Yanovski
1be2dbef9f Fix sediment transport, add hack for sediment. 2020-01-23 18:18:09 +01:00
Joshua Yanovski
95fdfe37e2 Sediment transport, plus many other things. 2020-01-23 18:18:09 +01:00
Joshua Yanovski
6be770a4e1 Use Worley noise for uplift. 2020-01-23 18:18:09 +01:00
Joshua Yanovski
d2096f540d Implement carving strategy for lake connections.
Also fix mapgen slopes and make a much more pleasing world.
2020-01-23 18:18:08 +01:00
Joshua Yanovski
1e02025ca8 Render sediment differently. 2020-01-23 18:18:08 +01:00
Joshua Yanovski
8f2a751bf4 Map fixes. 2020-01-23 18:18:08 +01:00
Joshua Yanovski
5f112fb41f Seed elements. 2020-01-23 18:18:08 +01:00
Joshua Yanovski
1e159b8278 Adding hillslope diffusion. 2020-01-23 18:18:07 +01:00
Joshua Yanovski
f8ede56e7a WIP fixes: more pleasing uplift generation.
Uses the exponential distribution now.
2020-01-23 18:18:07 +01:00
Joshua Yanovski
515222b126 Reverting changes except to humidity and temperature
noise.
2020-01-23 18:18:07 +01:00
flyingfryingpan
b62820b887 wahtevermoresharp 2020-01-23 18:18:07 +01:00
flyingfryingpan
21e725df89 forsharp 2020-01-23 18:18:07 +01:00
Imbris
7bcbfa9003 add: capability to disable blending for particular BlockKinds 2020-01-19 16:03:27 -05:00
Imbris
7f04db1501 Add terrain meshing benchmark 2020-01-19 16:02:12 -05:00
Monty Marz
7e2153c537 Charge Icon and flashing skillbar 2020-01-17 22:00:00 +00:00
Piotr Korgól
243263fecd Improvement: Replace all '..=b' with '..b + 1' 2020-01-12 15:46:53 +01:00
S Handley
4fcd9e2e0f Prevent NPCs from spawnign underwater
This should be set until there are underwater NPC types.
2020-01-08 12:48:00 +00:00
Songtronix
631b00417d improve(log): adjust verbosity of some logging
fix: settings do not log due to logging being initialized to late
2019-12-20 15:45:30 +01:00
Marcel Märtens
7d16b7d6a2 please ci toolchain 2019-12-11 15:13:46 +01:00
S Handley
846ad2ac64 Fix the glider_close sfx event
This was failing to trigger since we now have a MovementState::Fall, but
the sfx mapper was still trying to work this out itself based on
velocity. We no longer need to track velocity as a result and can use
the MovementState.

Also silenced warnings resulting from unused vars when running tests.
2019-12-09 09:50:14 +00:00
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