Commit graph

22 commits

Author SHA1 Message Date
Starbeamrainbowlabs 58a7629ea1
Initial move of utils wea → wea_c
Here we go...!
2022-09-18 16:45:08 +01:00
Starbeamrainbowlabs 08d40c8780
fix warnings 2022-09-17 23:42:46 +01:00
Starbeamrainbowlabs d657ce1abe
//sculptlist: fix bugs. It works! 2021-12-27 19:36:57 +00:00
VorTechnix 533519d318 streamlined getsign 2021-08-05 10:40:36 -07:00
Starbeamrainbowlabs 1d82013d86
//noise2d: add sin; sort out apply_mode as number 2021-07-04 13:21:13 +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 b23f353b19
wea.min, wea.max: add API functions 2021-05-29 23:13:10 +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 1f273e4b13
comment worldeditadditions.eta 2021-03-20 01:56:14 +00:00
VorTechnix a671f742e9 scol and srect refactor 2021-03-09 11:05:03 -08:00
VorTechnix 727ee41e72 Simplify srect function 2021-02-28 09:59:09 -08:00
VorTechnix e82c8b1e81
error handling
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-02-28 07:25:31 -08:00
VorTechnix cb1d54c665 Added getsign, fixed srect glitch 2021-02-25 20:22:39 -08:00
Starbeamrainbowlabs a360f06138
Fix eta calculations 2021-02-07 02:45:34 +00:00
Starbeamrainbowlabs 9d76c5d98a
wea.eta: fix obscure edge case 2021-02-07 01:37:50 +00:00
Starbeamrainbowlabs 888ee04f9d
//subdivide: fix a number of other issues 2021-02-07 01:28:07 +00:00
Starbeamrainbowlabs 38e5c81d33
//subdivide: tally total times so far as we go
- Don't use wea.sum() on a table full of all the times we've recorded
   so far
 - Limit individual stats list lengths to 25 to avoid memory issues when
   running with a large number of chunks
 - Tally total times / metrics as we go to avoid memory issues
2021-02-03 03:04:33 +00:00
Starbeamrainbowlabs aa234595a8
Refactor //subdivide to call minetest.emerge_blocks
....whether it actually works or not is another question entirely 
though.....
2020-10-10 21:43:22 +01:00
Starbeamrainbowlabs ef165b9c58
Add ETA to //many, and tidy up message generation in //subdivide 2020-10-10 17:01:08 +01:00
Starbeamrainbowlabs 0afbba4deb
os.clock() → minetest.get_us_time()
....how did I miss that :P
2020-06-26 20:46:35 +01:00
Starbeamrainbowlabs 9b9a471aa8
Implement initial (untested) convolution system.
Next we need to implement a worldedit function to handle fetching the 
manip data, calculating the heightmap, pushing it through this 
convolutional system, and saving the changes back again.
2020-06-09 01:21:32 +01:00
Starbeamrainbowlabs f3a8c1dd64
Add //count 2020-05-12 00:38:42 +01:00
Renamed from worldeditadditions_commands/utils/numbers.lua (Browse further)