mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
ensure pre cache crc thread does not interfere with running game
This commit is contained in:
@@ -47,6 +47,10 @@ protected:
|
||||
Mutex mutexPendingTextureList;
|
||||
vector<Texture2D *> pendingTextureList;
|
||||
|
||||
Mutex mutexPauseForGame;
|
||||
bool pauseForGame;
|
||||
std::vector<FileCRCPreCacheThread *> preCacheWorkerThreadList;
|
||||
|
||||
void addPendingTexture(Texture2D *texture);
|
||||
void addPendingTextureList(vector<Texture2D *> textureList);
|
||||
|
||||
@@ -60,6 +64,9 @@ public:
|
||||
vector<Texture2D *> getPendingTextureList(int maxTexturesToGet);
|
||||
|
||||
virtual bool canShutdown(bool deleteSelfIfShutdownDelayed);
|
||||
|
||||
void setPauseForGame(bool pauseForGame);
|
||||
bool getPauseForGame();
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
|
Reference in New Issue
Block a user