Commit graph

15 commits

Author SHA1 Message Date
Starbeamrainbowlabs ef678e6a05
//layers: fix 2021-08-04 12:17:39 +01:00
Starbeamrainbowlabs db830c6633
Implement slope constraint for //layers, but it isn't tested yet 2021-08-04 01:41:51 +01:00
Starbeamrainbowlabs 902d5ddc8b
wea.calculate_normals: update comment 2021-08-04 00:53:47 +01:00
Starbeamrainbowlabs 1833e68ec5
terrain.lua: add wea.calculate_slope() 2021-08-04 00:51:16 +01:00
Starbeamrainbowlabs 0212950d87
wea.apply_heightmap_changes: fix loop 2021-07-04 14:30:22 +01:00
Starbeamrainbowlabs ee2e5716eb
Implement more of the noise command backend
It's still not hooked up yet though, and there's no command parsing 
logic either
2021-07-03 01:44:36 +01:00
Starbeamrainbowlabs db7b20d485
Refactor table functions into subtable of wea
Also, you can return a value from dofile()!!!!

This changes everything.
2021-06-28 00:56:29 +01:00
Starbeamrainbowlabs 7639bd2c2b
worldeditadditions.apply_heightmap_changes: properly comment it
It's a pretty complicated function, so it's probably a good idea to 
document how it works.
2021-03-20 02:09:28 +00:00
Starbeamrainbowlabs 56380f149b
heightmap_size: refactor to use { x, z } instead of [0] / [1] 2021-02-26 02:20:53 +00:00
Starbeamrainbowlabs f2aa87b396
terrain: pick the node to replace with from higher up in the column in question
....unless we hit the ignore node, in which case we default to air.
2021-02-23 01:31:24 +00:00
Starbeamrainbowlabs 4ba59a6ec3
//conv, //erode: treat liquids as air 2021-02-23 00:20:57 +00:00
Starbeamrainbowlabs 130524a7d0
Disable some debug prints, and update docs 2020-09-20 22:07:47 +01:00
Starbeamrainbowlabs 997eb4d101
fix all the crashes with the new erosion algorithm
......but it doesn't look like it's functioning as intended just yet
2020-08-21 15:21:10 +01:00
Starbeamrainbowlabs acb288b984
Fix a ton of bugs but there are lots more to go..... 2020-08-21 13:27:40 +01:00
Starbeamrainbowlabs cdba38d37d
Start implementing snowball erosion algorithm.
There's still a long way to go - we're only just getting warmed up!
2020-08-20 01:53:26 +01:00