Change folder structure: data files are now in a directory.

Also added a demo 400x400 map, that is overriden on pre-processing.
This commit is contained in:
Gael-de-Sailly
2020-04-26 23:29:36 +02:00
parent b429b302e1
commit a9ab0e53d3
13 changed files with 30 additions and 5 deletions

View File

@ -1,4 +1,4 @@
local worldpath = minetest.get_worldpath() .. "/"
local worldpath = minetest.get_worldpath() .. "/river_data/"
local function load_map(filename, bytes, signed, size)
local file = io.open(worldpath .. filename, 'r')