diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-02 14:19:20 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-02 14:19:20 +0200 |
commit | 7abaede2457e494290882d9795873aab2309da65 (patch) | |
tree | 80542428c66d74fd6fc7c23d55c35a9666e92012 /source/ChunkDef.h | |
parent | Core: fixed old API (diff) | |
download | cuberite-7abaede2457e494290882d9795873aab2309da65.tar cuberite-7abaede2457e494290882d9795873aab2309da65.tar.gz cuberite-7abaede2457e494290882d9795873aab2309da65.tar.bz2 cuberite-7abaede2457e494290882d9795873aab2309da65.tar.lz cuberite-7abaede2457e494290882d9795873aab2309da65.tar.xz cuberite-7abaede2457e494290882d9795873aab2309da65.tar.zst cuberite-7abaede2457e494290882d9795873aab2309da65.zip |
Diffstat (limited to 'source/ChunkDef.h')
-rw-r--r-- | source/ChunkDef.h | 4 |
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
} ;
|