mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
ServerEnvironment: Remove direct dependency on EmergeManager
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user