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
Gaël C
68c19c3b94
terrainlib_lua: replaced space indents by tabs
2022-01-06 15:36:31 +01: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
19efeaaff6
Globalize modpath and worldpath
2021-06-03 20:04:08 +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