]> git.lizzy.rs Git - minetest.git/blobdiff - src/mg_ore.h
Do not allow the m_transforming_liquid queue to increase until all RAM is consumed
[minetest.git] / src / mg_ore.h
index b6db860b9fa4537fba4c45d24e3d926a6d07e17f..585d58f37a304be6acb9d364a95fedcf15e990a8 100644 (file)
@@ -99,7 +99,7 @@ class OreManager : public GenElementManager {
        static const char *ELEMENT_TITLE;
        static const size_t ELEMENT_LIMIT = 0x10000;
 
-       OreManager(IGameDef *gamedef) {}
+       OreManager(IGameDef *gamedef);
        ~OreManager() {}
 
        Ore *create(int type)
@@ -116,6 +116,8 @@ class OreManager : public GenElementManager {
                }
        }
 
+       void clear();
+
        size_t placeAllOres(Mapgen *mg, u32 seed, v3s16 nmin, v3s16 nmax);
 };