mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add mesh generation delay
This commit is contained in:
parent
22567d107f
commit
4d5177ff70
6 changed files with 22 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue