From 60feb4ad25003b4ed5f93f7fda7f4b8177a0ba51 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 6 Dec 2014 18:08:08 -0500 Subject: Add minetest.clear_registered_biomes() api --- src/mg_biome.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mg_biome.h') diff --git a/src/mg_biome.h b/src/mg_biome.h index 7a62998e3..9180069df 100644 --- a/src/mg_biome.h +++ b/src/mg_biome.h @@ -72,9 +72,14 @@ public: return new Biome; } + void clear(); + void calcBiomes(s16 sx, s16 sy, float *heat_map, float *humidity_map, s16 *height_map, u8 *biomeid_map); Biome *getBiome(float heat, float humidity, s16 y); + +private: + NodeResolver *m_resolver; }; #endif -- cgit v1.2.3