void MeshUpdateThread::updateBlock(Map *map, v3s16 p, bool ack_block_to_server, bool urgent) { // Allow the MeshUpdateQueue to do whatever it wants m_queue_in.addBlock(map, p, ack_block_to_server, urgent); deferUpdate(); }
void MeshUpdateThread::enqueueUpdate(v3s16 p, MeshMakeData *data, bool ack_block_to_server, bool urgent) { m_queue_in.addBlock(p, data, ack_block_to_server, urgent); deferUpdate(); }
void MeshUpdateThread::enqueueUpdate(v3s16 p, std::shared_ptr<MeshMakeData> data, bool urgent) { m_queue_in.addBlock(p, data, urgent); deferUpdate(); }
void MinimapUpdateThread::enqueueBlock(v3s16 pos, MinimapMapblock *data) { pushBlockUpdate(pos, data); deferUpdate(); }