mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API
This commit is contained in:
parent
18882a4d26
commit
2e292b67a0
18 changed files with 163 additions and 14 deletions
|
@ -33,6 +33,8 @@ struct MapgenSinglenodeParams : public MapgenParams {
|
|||
|
||||
class MapgenSinglenode : public Mapgen {
|
||||
public:
|
||||
u32 flags;
|
||||
|
||||
MapgenSinglenode(int mapgenid, MapgenSinglenodeParams *params);
|
||||
~MapgenSinglenode();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue