mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add mesh generation delay
This commit is contained in:
@@ -120,13 +120,14 @@ class MeshUpdateThread : public UpdateThread
|
||||
{
|
||||
private:
|
||||
MeshUpdateQueue m_queue_in;
|
||||
int m_generation_interval;
|
||||
|
||||
protected:
|
||||
virtual void doUpdate();
|
||||
|
||||
public:
|
||||
|
||||
MeshUpdateThread() : UpdateThread("Mesh") {}
|
||||
MeshUpdateThread();
|
||||
|
||||
void enqueueUpdate(v3s16 p, MeshMakeData *data,
|
||||
bool ack_block_to_server, bool urgent);
|
||||
|
Reference in New Issue
Block a user