summaryrefslogtreecommitdiffstats
path: root/source/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ChunkDef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/ChunkDef.h b/source/ChunkDef.h
index e10d4e892..5bafde4af 100644
--- a/source/ChunkDef.h
+++ b/source/ChunkDef.h
@@ -85,6 +85,10 @@ enum EMCSBiome
biExtremeHillsEdge = 20,
biJungle = 21,
biJungleHills = 22,
+
+ // Automatically capture the maximum biome value into biMaxBiome:
+ biNumBiomes, // True number of biomes, since they are zero-based
+ biMaxBiome = biNumBiomes - 1, // The maximum biome value
} ;