1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add minetest.clear_registered_biomes() api

This commit is contained in:
kwolekr 2014-12-06 18:08:08 -05:00
parent f3abaec83b
commit 60feb4ad25
6 changed files with 51 additions and 19 deletions

View file

@ -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