@ -28,14 +28,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -28,14 +28,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -27,25 +27,25 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -27,25 +27,25 @@ with this program; if not, write to the Free Software Foundation, Inc.,
structCachedMapBlockData
{
v3s16p;
MapNode*data;// A copy of the MapBlock's data member
intrefcount_from_queue;
intlast_used_timestamp;
v3s16p=v3s16(-1337,-1337,-1337);
MapNode*data=nullptr;// A copy of the MapBlock's data member
intrefcount_from_queue=0;
intlast_used_timestamp=std::time(0);
CachedMapBlockData();
CachedMapBlockData(){}
~CachedMapBlockData();
};
structQueuedMeshUpdate
{
v3s16p;
boolack_block_to_server;
boolurgent;
intcrack_level;
v3s16p=v3s16(-1337,-1337,-1337);
boolack_block_to_server=false;
boolurgent=false;
intcrack_level=-1;
v3s16crack_pos;
MeshMakeData*data;// This is generated in MeshUpdateQueue::pop()
MeshMakeData*data=nullptr;// This is generated in MeshUpdateQueue::pop()
@ -37,9 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -37,9 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -36,18 +36,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -36,18 +36,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -24,27 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -24,27 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -29,28 +29,28 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -29,28 +29,28 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -30,11 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -30,11 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include"irrlichttypes_bloated.h"
#include"inventory.h"
#include"constants.h"
#include<list>
#include<mutex>
@ -32,22 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -32,22 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
@@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,