diff options
Diffstat (limited to 'src/mapgen_indev.h')
-rw-r--r-- | src/mapgen_indev.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mapgen_indev.h b/src/mapgen_indev.h index fdac1ba20..bd6faa21c 100644 --- a/src/mapgen_indev.h +++ b/src/mapgen_indev.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "mapgen.h" #include "mapgen_v6.h" +#include "cavegen.h" float farscale(float scale, float z); float farscale(float scale, float x, float z); @@ -133,8 +134,9 @@ class MapgenIndev : public MapgenV6 { float baseTerrainLevelFromNoise(v2s16 p); float baseTerrainLevelFromMap(int index); float getMudAmount(int index); - void defineCave(Cave & cave, PseudoRandom ps, v3s16 node_min, bool large_cave); - void generateSomething(); + void generateCaves(int max_stone_y); + //void defineCave(Cave & cave, PseudoRandom ps, v3s16 node_min, bool large_cave); + void generateExperimental(); void generateFloatIslands(int min_y); }; @@ -149,4 +151,10 @@ struct MapgenFactoryIndev : public MapgenFactoryV6 { }; }; +class CaveIndev : public CaveV6 { +public: + CaveIndev(Mapgen *mg, PseudoRandom *ps, PseudoRandom *ps2, v3s16 node_min, + bool is_large_cave, content_t c_water, content_t c_lava); +}; + #endif |