mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add Ore infrastructure and l_register_ore()
This commit is contained in:
parent
f70378f7f5
commit
57cbb8bfd8
10 changed files with 248 additions and 17 deletions
|
@ -126,7 +126,7 @@ class MapgenIndev : public MapgenV6 {
|
|||
NoiseIndev *noiseindev_float_islands2;
|
||||
NoiseIndev *noiseindev_float_islands3;
|
||||
|
||||
MapgenIndev(int mapgenid, MapgenIndevParams *params);
|
||||
MapgenIndev(int mapgenid, MapgenIndevParams *params, EmergeManager *emerge);
|
||||
~MapgenIndev();
|
||||
void calculateNoise();
|
||||
|
||||
|
@ -141,7 +141,7 @@ class MapgenIndev : public MapgenV6 {
|
|||
|
||||
struct MapgenFactoryIndev : public MapgenFactoryV6 {
|
||||
Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) {
|
||||
return new MapgenIndev(mgid, (MapgenIndevParams *)params);
|
||||
return new MapgenIndev(mgid, (MapgenIndevParams *)params, emerge);
|
||||
};
|
||||
|
||||
MapgenParams *createMapgenParams() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue