]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapgen_v6.h
Fix warnings and other misc. minor changes
[dragonfireclient.git] / src / mapgen_v6.h
index 1fac37fb677645f89387f19d8bdba73bfb8cc7c4..eecfb1fe6d91bd477f49a59004478ebd29b4abf1 100644 (file)
@@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 extern FlagDesc flagdesc_mapgen_v6[];
 
 
-enum BiomeType
+enum BiomeV6Type
 {
        BT_NORMAL,
        BT_DESERT
@@ -132,8 +132,8 @@ class MapgenV6 : public Mapgen {
        virtual float getMudAmount(int index);
        bool getHaveBeach(v2s16 p);
        bool getHaveBeach(int index);
-       BiomeType getBiome(v2s16 p);
-       BiomeType getBiome(int index, v2s16 p);
+       BiomeV6Type getBiome(v2s16 p);
+       BiomeV6Type getBiome(int index, v2s16 p);
        
        u32 get_blockseed(u64 seed, v3s16 p);