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
cb297af047
Add all code for generating a grid on world creation.
...
Not tested ; will likely need much testing and bugfix.
2021-06-03 20:08:57 +02:00
Gaël C
19efeaaff6
Globalize modpath and worldpath
2021-06-03 20:04:08 +02:00
Gael-de-Sailly
6b9c091dd5
Fix file opening mode on the Lua side, to avoid crashes on Windows
2020-11-14 17:31:36 +01:00
Gael-de-Sailly
a9ab0e53d3
Change folder structure: data files are now in a directory.
...
Also added a demo 400x400 map, that is overriden on pre-processing.
2020-04-26 23:29:36 +02:00
Gael-de-Sailly
55725ad94b
Re-organized the code. All polygon-related calculations go to polygons.lua.
2020-04-14 21:11:54 +02:00
Gael-de-Sailly
af7a7ce26d
Compress data files (reduces size by a factor 3-4)
2020-04-13 15:59:34 +02:00
Gael-de-Sailly
0bf351b2f6
Initial commit: working example using a basis of Simplex noise and implementing river flowing, lakes, and erosion
2020-04-09 21:15:41 +02:00