Commit Graph

7 Commits

Author SHA1 Message Date
Gaël C 0bc100030c terrainlib_lua: Hardcode flow_local for performance
as it is unlikely that it will be changed one day.
This results in a drastic performance improvement (x4 speed for step 1)
2024-01-22 00:30:07 +01:00
Gaël C b3d79eaaf8 Added more comments in terrainlib_lua 2022-01-07 14:48:36 +01:00
Gael-de-Sailly 09de0fd298 Added reference to scientific paper 2021-07-28 19:50:27 +02:00
Gaël C ecd1f0e08f Added time statistics and removed debug prints 2021-06-25 21:05:14 +02:00
Gaël C b02387944d Pre-generation: reverse X and Y directions everywhere
to make directions compatible with the mapgen code
2021-06-04 18:24:06 +02:00
Gaël C 74733549df Various bugfixes and workarounds
Now working in pure Lua!
Some parts of the code are very hacky (e.g. noise) and the way new and old codes have been glued together is sometimes to be rewritten.
But at least it works.
2021-06-03 23:30:04 +02:00
Gaël C c99b8338e0 Lua Terrainlib: added first Lua files for erosion and flow routing
Tested, but not linked with the mod, yet.
2021-06-01 19:07:09 +02:00