diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-27 12:50:35 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:55 +0200 |
commit | 5c1cb01936093fc7e57d4b6d7a170dff9a18cd7d (patch) | |
tree | c82cb6bb89eaa9dc86c903968cbf283726d30c79 /src/server.h | |
parent | ec4f58741bedc098048234aac32662e08479fba2 (diff) | |
download | minetest-5c1cb01936093fc7e57d4b6d7a170dff9a18cd7d.tar.gz minetest-5c1cb01936093fc7e57d4b6d7a170dff9a18cd7d.tar.bz2 minetest-5c1cb01936093fc7e57d4b6d7a170dff9a18cd7d.zip |
Make blocks to be loaded from disk when the active block area reaches them
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 7620f5341..673458882 100644 --- a/src/server.h +++ b/src/server.h @@ -366,7 +366,8 @@ private: }; class Server : public con::PeerHandler, public MapEventReceiver, - public InventoryManager, public IGameDef + public InventoryManager, public IGameDef, + public IBackgroundBlockEmerger { public: /* @@ -483,6 +484,8 @@ public: // Envlock and conlock should be locked when calling this void notifyPlayer(const char *name, const std::wstring msg); void notifyPlayers(const std::wstring msg); + + void queueBlockEmerge(v3s16 blockpos, bool allow_generate); // Envlock and conlock should be locked when using Lua lua_State *getLua(){ return m_lua; } |