Implement client node dig prediction
authorAuke Kok <sofar@foo-projects.org>
Mon, 11 Sep 2017 12:50:06 +0000 (14:50 +0200)
committersfan5 <sfan5@live.de>
Mon, 11 Sep 2017 18:54:20 +0000 (20:54 +0200)
commit5b3fbf9cf75f9f637c666d34e2489fef0cc035d9
tree689ae2c108a895f6b2ca3afc826b1da46baf156d
parentd10cccee3108b45cf7085ffdbff9b5f2a4045ea7
Implement client node dig prediction

Dig prediction allows clients to remove dug nodes without
waiting for server acknowledgement.
This patch allows mods to override dig prediction,
it can either be turned off or a different "prediction node"
can be selected.
doc/lua_api.txt
src/game.cpp
src/nodedef.cpp
src/nodedef.h
src/script/common/c_content.cpp