]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapgen_v5.h
Use single box for halo mesh
[minetest.git] / src / mapgen_v5.h
index a6fdc2b2b8eac6c13adfc9ff79cd9867c2e0ce6a..44a06907da0ac25814a0d89f4bada63d90f3d68b 100644 (file)
@@ -1,6 +1,7 @@
 /*
 Minetest
-Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
+Copyright (C) 2010-2015 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
+Copyright (C) 2010-2015 paramat, Matt Gregory
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include "mapgen.h"
 
-#define LARGE_CAVE_DEPTH -256
+#define MGV5_LARGE_CAVE_DEPTH -256
 
 class BiomeManager;
 
@@ -89,7 +90,7 @@ class MapgenV5 : public Mapgen {
        ~MapgenV5();
 
        virtual void makeChunk(BlockMakeData *data);
-       int getGroundLevelAtPoint(v2s16 p);
+       int getSpawnLevelAtPoint(v2s16 p);
        void calculateNoise();
        int generateBaseTerrain();
        MgStoneType generateBiomes(float *heat_map, float *humidity_map);