1
0

Configurable dirty unused chunk cap to avoid RAM overuse (#3359)

Configurable dirty unused chunk cap to avoid RAM overuse
This commit is contained in:
LogicParrot
2016-09-03 18:38:29 +03:00
committed by GitHub
parent 90be4e7efd
commit 7e9e7f7911
7 changed files with 82 additions and 15 deletions

View File

@@ -388,7 +388,10 @@ public:
cWorld * GetWorld(void) { return m_World; }
int GetNumChunks(void);
size_t GetNumChunks(void);
/** Returns the number of unused dirty chunks. Those are chunks that we can save and then unload */
size_t GetNumUnusedDirtyChunks(void);
void ChunkValidated(void); // Called by chunks that have become valid