aboutsummaryrefslogtreecommitdiff
path: root/src/emerge.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2021-05-30 20:24:12 +0200
committerGitHub <noreply@github.com>2021-05-30 20:24:12 +0200
commitc9144ae5e22ee041fed2512cd3055608c6e9a4bc (patch)
treebcdcf98233034af6b6cf10f61dde0d1711bac068 /src/emerge.h
parent89f3991351185b365ccd10525e74d35d7bb2da46 (diff)
downloadminetest-c9144ae5e22ee041fed2512cd3055608c6e9a4bc.tar.gz
minetest-c9144ae5e22ee041fed2512cd3055608c6e9a4bc.tar.bz2
minetest-c9144ae5e22ee041fed2512cd3055608c6e9a4bc.zip
Add core.compare_block_status function (#11247)
Makes it possible to check the status of the mapblock in a future-extensible way.
Diffstat (limited to 'src/emerge.h')
-rw-r--r--src/emerge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emerge.h b/src/emerge.h
index aac3e7dd3..b060226f8 100644
--- a/src/emerge.h
+++ b/src/emerge.h
@@ -174,6 +174,8 @@ public:
EmergeCompletionCallback callback,
void *callback_param);
+ bool isBlockInQueue(v3s16 pos);
+
v3s16 getContainingChunk(v3s16 blockpos);
Mapgen *getCurrentMapgen();