mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
ServerEnvironment: Remove direct dependency on EmergeManager
This commit is contained in:
parent
a0683b811c
commit
89f7dc1efd
6 changed files with 27 additions and 24 deletions
|
@ -424,6 +424,14 @@ public:
|
|||
*/
|
||||
MapBlock * emergeBlock(v3s16 p, bool create_blank=true);
|
||||
|
||||
/*
|
||||
Try to get a block.
|
||||
If it does not exist in memory, add it to the emerge queue.
|
||||
- Memory
|
||||
- Emerge Queue (deferred disk or generate)
|
||||
*/
|
||||
MapBlock *getBlockOrEmerge(v3s16 p3d);
|
||||
|
||||
// Carries out any initialization necessary before block is sent
|
||||
void prepareBlock(MapBlock *block);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue